Define limits for CPU and MEM resources

This commit is contained in:
phil 2023-02-25 20:33:07 +01:00
parent 4f0d2f55e1
commit cfdc088844

View file

@ -50,5 +50,10 @@ InaccessiblePaths=-/root/
RuntimeDirectory=php RuntimeDirectory=php
RuntimeDirectoryPreserve=yes RuntimeDirectoryPreserve=yes
# Resources
CPUQuota=100%
MemoryHigh=25%
MemoryMax=35%
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target