Quote Originally Posted by kiladila View Post
Running 12h on apache prefork-mpm CPU usage now very low, however RAMs is out of control...maybe need some fine tuning.

Will test Nginx with php-fpm tomorrow. Here is the screens:



and RAMS

Ive never seen anything like that my first guess would be what have you changed in the config. The most likely culprit for an ex-apache user is that they change the worker_processes and set it to something like 100-255 thinking that its a 1 process per request system when its not (each process can handle 1024+ connections depending on config). Other ideas include keep alive and gzip maybe.

Another idea ive seen people do is set their proxy/fastcgi cache key zone to a few GB thinking that it helps when it doesnt. (each key is 64bytes or something, unless you are storing 16,777,216+ cache entries that amount of key zone is useless!)

Thirdly nginx shouldnt spike, the nature of its event model means that it should remain constant, if its spiking something is definately wrong (check logs for segfaults and process restarts maybe? Maybe due to missconfig.)