pescobar.cgroups_mem_limit
ansible-role-cgroups-limits
=========
Set a memory limit for users in a group
This role is designed to restrict the amount of RAM that a single user can use on a login node in a High-Performance Computing (HPC) cluster. This helps prevent one user from using all the memory and causing the machine to freeze.
Role Variables
cgroup_memory_limit: '10G' # Set the memory limit (10 gigabytes)
cgroup_to_whom_the_limit_applies: '@users' # Apply limit to users
Dependencies
None
Example Playbook
- hosts: servers
roles:
- { role: ansible-role-cgroups-limits, cgroup_memory_limit: "15G" } # Set limit to 15 gigabytes
Requirements
None
License
GPLv3
Author Information
Pablo Escobar Lopez
Installa
ansible-galaxy install pescobar.cgroups_mem_limit
Licenza
Unknown
Download
85
Proprietario
Systems engineer. Linux/HPC/Cloud/BioInfo