Thread: Nginx + php-fpm
View Single Post
  #4  
Old 2nd July 2013, 16:00
harkman harkman is offline
Junior Member
 
Join Date: Aug 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not a expert, but as far as I understand the system of nginx and php-fpm both maintain a pool of worker threads.

If you have multiple websites that use their own priviliges both services will start at minimum 1 process for each site, to serve incomming requests.

Starting new processes is very expensive in regards to processing time, therefore at least one worker process for each site should stay in the memory of the server, waiting for new requests.

If you kill those processes, you will only raise the response time of your websites.

Regards, Jürgen

Last edited by harkman; 2nd July 2013 at 16:01. Reason: typo
Reply With Quote