Adapt resources according Plesk license
I have a really powerful hardware, however I still see how low values are by default on a 30+ domains license and such a server hardware: Plesk doesn't adapt to license or resources at all.
Ultimately, I do not like try increasing the value progressively and restart apache or any other service a few times on production server, then see when the issue comes back because I didn't increase it enough approach.
It would be better if there was an automatic increase of the values, if applicable, depending on your license and/or system resources.
This seems like a great feature at first sight, but it is way beyond what a panel can and should do. Most of the tweaks that are hardware related must be done on the operating system level in system service configurations, security configurations etc. And these all play together. For example /etc/httpd/conf.d/fcgid.conf, /etc/httpd/conf.d/apache_limit.conf, /etc/sysctl.conf, /etc/nginx/ulimit.global_params, rlimit_files in all php-fpm.conf files, /etc/xinetd.conf and many more. It is unpredictable what the right settings for a specific hardware and usage scenario are. Configuring the operating system so that it can handle the expected load must be left to the server administrator, because only he/she knows what is the best setting. Specific tweaks strongly depend on the expected usage, e.g. will the system host one website with a high number of visitors or many websites with a low number? Will it solely be simple PHP/MySQL or also be frameworks like NodeJS, maybe Ruby etc.? These aspects simply cannot be handled by a "one size fits all" algorithm that only looks at the size of a server.
As this feature request has not gained much traction over many years, we must decline it.
However, Plesk is aware of the need for optimal performance and is working on other features that will make performance optimization a lot easier for server administrators and users.
-- PD
-
Robin commented
Thanks for the input.
Also please note that this relates mainly to FCGI global server limits, but Apache config management would be great as well, either to be manageable within Plesk, or to be automatically increased when too low compared to server specs and config expectation.