Skip to content

Limit hardware resource usage #3

Description

@marko-radosavljevic

We only have 1 thread, that runs the whole bot, dev bot, and a website, with infrastructure for those. So a single user could easily block the whole production server, so not only jshell would go down, but the tj-bot and website.

With, cgroups, you can limit per container, so that doesn't work for us, because we would have many containers.

So we can use slices, to set a global limit on resources: https://unix.stackexchange.com/questions/537645/how-to-limit-docker-total-resources

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions