diff --git a/templates/systemd/php-fpm@.service b/templates/systemd/php-fpm@.service index 295b0de..56d29ed 100644 --- a/templates/systemd/php-fpm@.service +++ b/templates/systemd/php-fpm@.service @@ -50,5 +50,10 @@ InaccessiblePaths=-/root/ RuntimeDirectory=php RuntimeDirectoryPreserve=yes +# Resources +CPUQuota=100% +MemoryHigh=25% +MemoryMax=35% + [Install] WantedBy=multi-user.target