Define limits for CPU and MEM resources
This commit is contained in:
parent
4f0d2f55e1
commit
cfdc088844
1 changed files with 5 additions and 0 deletions
|
@ -50,5 +50,10 @@ InaccessiblePaths=-/root/
|
|||
RuntimeDirectory=php
|
||||
RuntimeDirectoryPreserve=yes
|
||||
|
||||
# Resources
|
||||
CPUQuota=100%
|
||||
MemoryHigh=25%
|
||||
MemoryMax=35%
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue