1 - Im trying to optimize Apache on centos 7 and trying to increase Apache processes and threads while using event mpm, but its practically being ignored by cpanel:
I tried editing
/usr/local/apache/conf/includes/post_virtualhost_global.conf
both directly and through WHM apache configuration editor.
Doesnt seem to have any effect.
Then i tried to change the values in
WHM ==> Service Configuration ==> Apache Configuration ==> Global Configuration
This seem to have had some effect but it was only increasing processes from 8 or something to 10 or something despite i put in a few hundred. Moreover these values seem to be for mpm worker?
I am trying to change these values via proper WHM ways instead of directly editing the config files.
So if someone can point me in a proper direction, i would appreciate it.
2- Is there a limit which cpanel imposes on accounts regarding apache process usage? Ie, accounts can use maximum 6 apache processes and 10 php-fpm processes or something?
Because however i increase the values and benchmark a site with apache benchmark, the requests/sec fulfilled always stays in the same vicinity and does not change depending on the limits i increase in apache.
I tried editing
/usr/local/apache/conf/includes/post_virtualhost_global.conf
both directly and through WHM apache configuration editor.
Doesnt seem to have any effect.
Then i tried to change the values in
WHM ==> Service Configuration ==> Apache Configuration ==> Global Configuration
This seem to have had some effect but it was only increasing processes from 8 or something to 10 or something despite i put in a few hundred. Moreover these values seem to be for mpm worker?
I am trying to change these values via proper WHM ways instead of directly editing the config files.
So if someone can point me in a proper direction, i would appreciate it.
2- Is there a limit which cpanel imposes on accounts regarding apache process usage? Ie, accounts can use maximum 6 apache processes and 10 php-fpm processes or something?
Because however i increase the values and benchmark a site with apache benchmark, the requests/sec fulfilled always stays in the same vicinity and does not change depending on the limits i increase in apache.