rfc:socketactivation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:socketactivation [2012/10/18 23:29] – [Why not just use the ondemand process manager?] davidstrauss | rfc:socketactivation [2012/11/09 21:46] – Explain possible alternative configuration davidstrauss | ||
---|---|---|---|
Line 61: | Line 61: | ||
==== / | ==== / | ||
+ | |||
+ | It's possible the final implementation may move to " | ||
< | < | ||
Line 88: | Line 90: | ||
==== Why not just use the ondemand process manager? ==== | ==== Why not just use the ondemand process manager? ==== | ||
- | The ondemand process manager still keeps considerable memory | + | The ondemand process manager still keeps considerable memory allocated, and PHP-FPM currently has some idle CPU load when not processing requests. It' |
- | allocated, and PHP-FPM currently has some idle CPU load (<1% per | + | |
- | service, but it adds up when you manage 500+ pools on a box) when not | + | |
- | processing requests. | + | |
- | + | ||
- | The ondemand process manager doesn' | + | |
- | mentioned earlier (a web server requiring PHP-FPM to be ready) or | + | |
- | allow privileges to be dropped before PHP-FPM gets invoked at all. The | + | |
- | latter is useful for platform providers that let users configure | + | |
- | PHP-FPM for their individual use cases but want to provide assigned | + | |
- | " | + | |
+ | The ondemand process manager doesn' | ||
==== What about Upstart support? ==== | ==== What about Upstart support? ==== | ||
- | Upstart seems to have basic socket activation support, and integrating | + | Upstart seems to have basic socket activation support, and integrating |
+ | |||
+ | ==== What about APC opcode cache efficiency? ==== | ||
+ | |||
+ | In order for pools to share an opcode cache they must be forked from the same parent process. There are ways to work around that, but it requires some fancy fd passing footwork in APC and I guess in many instances you don't actually want to share across pools anyway. (Abbreviated from Rasmus on PHP internals) | ||
===== Changelog ===== | ===== Changelog ===== | ||
rfc/socketactivation.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1