wordpress-nginx icon indicating copy to clipboard operation
wordpress-nginx copied to clipboard

Use multiple pools

Open zebrahosting opened this issue 6 years ago • 0 comments

This config works very well but if the server is running several websites it seems nicer to use separate PHP pools. (and a bit more secure). With different pools it is easier to monitor memory use etc. I was wondering if this could be implemented in this setup. Currently everything points to a global file. Any hints?

Update: Noticed some remarks in this setup about using different pools for different PHP version. Can't really figure out how to use newly made pools.

My wishlist for an updated new article: (and big thank you for all the previous ones!)

  1. More about using pools, both for changing PHP version and for separating sites so monitoring eg memory becomes easier
  2. Memory tuning / time out tuning. I have spent a lot of time to get this working ok but love to hear some more opinions what to tweak in in all the possible locations.
  3. monit or other watchdog setups. How to make sure if the system stops, it restarts, reports, alerts. (why does this always happen in the middle of the night :-) )

zebrahosting avatar Nov 01 '18 20:11 zebrahosting