Skip to content

Limit user resources on *geniux* #126

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 11, 2020

  1. Limit user resources on *geniux*

    By ignorance and inattention, users run calculations on our gateway
    server *geniux*, affecting all other users.
    
    Prevent that technically, by limitting the resources to one CPU and ten
    percent of the memory. See systemd.resource-control(5) for more details.
    
    The current resource limits for user id 133 can be checked With
    `systemd-cgls` and `systemctl status user-133.slice`.
    
    Users can still cripple the system with high IO and network load.
    pmenzel committed May 11, 2020
    Configuration menu
    Copy the full SHA
    feef63b View commit details
    Browse the repository at this point in the history
  2. systemd: Exclude *root* from resource limits application

    Do not apply the user resource limits to user *root*.
    pmenzel committed May 11, 2020
    Configuration menu
    Copy the full SHA
    97380af View commit details
    Browse the repository at this point in the history
  3. systemd: Fix maximum memory usage to 3G for users on *geniux*

    Absolute values are preferred by some, so arbitrarily choose 3 GB.
    (Before it would have been around 6 GB on *geniux*, which seems
    excessive.)
    pmenzel committed May 11, 2020
    Configuration menu
    Copy the full SHA
    c98c886 View commit details
    Browse the repository at this point in the history