Univention Bugzilla – Bug 48290
Implement ucr Variables for Ressource Management in systemd
Last modified: 2021-04-28 10:13:37 CEST
Memory leaking processes cause a system to use swap space (extremely slowing down the entire system) and finally falls into a out-of-memory situation. The oom can not guarantee to kill the failing process which could lead into a system without important services. Similar issue applies to a process hogging CPU. systemd offers cgroups to limit the resource usage (see URL and https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-Managing_Services_with_systemd-Unit_Files#sect-Managing_Services_with_systemd-Unit_File_Modify) Currently administrator has to set the desired values in file named "*.conf" in a (to be created manually) directory named "service.d" under /etc/systemd/system Would be great to have ucr variables and templates for these files to be created: systemd/ssh/MemoryAccounting=(y/n) systemd/ssh/MemoryLimit=1G So global syntax could be systemd/<SERVICE>/<VALUE>
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.