I have Centos 6.8 with WHM 62 updated to the latest version.
I have suphp as php handler for PHP 5.6 and 7.0. I have just installed fcgi for PHP 7.1 and opcache and do some tests to see if I can improve speed.
I have followed these instructions:
Apache Module: FCGId - EasyApache 4 - cPanel Documentation
I´m not seeing any speed improvement by using Opcache with a https site I´m using for testing and I´m checking the server configuration. It´s a VPS with 19 Gb of RAM.
I have noticed nscd dns cache service is taking around 2 Gb of RAM (versus 800 Mb when restarted). I have set the restart interval to 1 hour but still the service RAM usage is growing so it seems the service is not being restarted.
I also have noticed two httpd processes that are eating up around 2 Gb of RAM each (even after restarting httpd service):
22821 nobody 20 0 1929m 78m 8320 S 5.0 0.4 0:17.57 1.7g httpd
22994 nobody 20 0 1929m 77m 8364 S 5.6 0.4 0:18.29 1.7g httpd
And also I see a huge memory reserved for caching:
root@myserver [~]# free -ah
total used free shared buffers cached available
Mem: 18G 18G 377M 140M 825M 13G 0B
-/+ buffers/cache: 4.0G 14G
Swap: 3.9G 154M 3.7G
even if my swappiness is set to 25
I have suphp as php handler for PHP 5.6 and 7.0. I have just installed fcgi for PHP 7.1 and opcache and do some tests to see if I can improve speed.
I have followed these instructions:
Apache Module: FCGId - EasyApache 4 - cPanel Documentation
I´m not seeing any speed improvement by using Opcache with a https site I´m using for testing and I´m checking the server configuration. It´s a VPS with 19 Gb of RAM.
I have noticed nscd dns cache service is taking around 2 Gb of RAM (versus 800 Mb when restarted). I have set the restart interval to 1 hour but still the service RAM usage is growing so it seems the service is not being restarted.
I also have noticed two httpd processes that are eating up around 2 Gb of RAM each (even after restarting httpd service):
22821 nobody 20 0 1929m 78m 8320 S 5.0 0.4 0:17.57 1.7g httpd
22994 nobody 20 0 1929m 77m 8364 S 5.6 0.4 0:18.29 1.7g httpd
And also I see a huge memory reserved for caching:
root@myserver [~]# free -ah
total used free shared buffers cached available
Mem: 18G 18G 377M 140M 825M 13G 0B
-/+ buffers/cache: 4.0G 14G
Swap: 3.9G 154M 3.7G
even if my swappiness is set to 25