Add option to change default PHP-FPM Process Manager

3 posts / 0 new
Last post
#1 Sun, 09/03/2017 - 08:50
Gerritjan

Add option to change default PHP-FPM Process Manager

The standard PHP-FPM Process Manager (pm for short) is set to 'dynamic' by default with max spare servers at 5. From a performance point of view it's great. I am running a lot of 'smaller' websites on my server though, and I believe the dynamic PM is not so great for that. At one point my server started out at 20% memory usage, and ended up at somewhere around 60%. Turned out all the "spare servers" added up from all the websites proved to be a huge memory hogger, but I had no idea why the server was consuming so much memory at the time.

Most of my websites are now on the "ondemand" pm, which only spawns processes on demand and makes them dissapear after usage, saving a ton of memory usage. I believe that from a cost-efficiency point of perspective, the ondemand pm should be the preferred pm for most websites, while the dynamic pm should be used for high traffic/performance websites.

So to the subject, I would love see an option to change the default pm in virtualmin on server creation. I don't believe this is integrated yet?

Would love to hear everyone's thoughts on this.

Tue, 09/05/2017 - 19:00
Joe
Joe's picture

That's a fine idea. I don't believe it is currently configurable, but I don't see why it couldn't/shouldn't be. I'll ask Jamie if he's got time to tackle it. It looks like he's prepping for the next Virtualmin module release right now, so there might be time to get it into 6.0.1...but maybe not.

Edit: I make a ticket about it here: https://www.virtualmin.com/node/53428

--

Check out the forum guidelines!

Sat, 09/16/2017 - 10:14
Gerritjan

Cool! Thanks!

Topic locked