mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
etc/security/limits.d/00-cputime.conf: initial commit
This commit is contained in:
parent
6a759bfd11
commit
b470649d3a
8
etc/security/limits.d/00-cputime.conf
Normal file
8
etc/security/limits.d/00-cputime.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# TODO: I don't think I understand cpu time properly and I don't feel
|
||||||
|
# qualified to judge how to restrict it. These numbers are taken from
|
||||||
|
# "man limits.conf", although they were swapped and they didn't originally
|
||||||
|
# blanket apply to asterisk.
|
||||||
|
# My goal here would be workaround difficult Matrix clients and compliment
|
||||||
|
# systemd-oomd, which handles the memory management.
|
||||||
|
* soft cpu 5000
|
||||||
|
* hard cpu 10000
|
Loading…
Reference in New Issue
Block a user