This forum post suggested making the FPM configurable:
https://www.virtualmin.com/node/53376
Seems like a reasonable idea to me, and probably not complicated. I'd probably suggest handling pm
, pm.max_children
and min/max_spare_servers
.
Status:
Active
Comments
Submitted by JamieCameron on Tue, 09/05/2017 - 23:17 Comment #1
I don't think we can have the kind of setup suggested in that forum post (zero continually running tasks), as each domain needs it's own FPM pool that runs as it's own user.
Submitted by Gerritjan on Sat, 09/16/2017 - 10:18 Comment #2
I'm using the ondemand pm for alot of websites right now, and it's working like a charm. Probably missing something here, but the 'ondemand' pm saves a ton of ram compared to the default 'dynamic' FPM config.