On Oct 19, 2018 8:12 PM, Jakub Zelenka <bu...@php.net> wrote:
On Fri, Oct 19, 2018 at 9:17 AM Dmitry Stogov 
<dmi...@zend.com<mailto:dmi...@zend.com>> wrote:
Hi Internals,


I would like to start discussion on a Preloadng RFC 
https://wiki.php.net/rfc/preload


Nice!

Apology if I missed it in the RFC but can't find in which stage the preloading 
is done (also haven't checked the patch so sorry if it's obvious)? I'm mainly 
interested if it's done in MINIT which would mean executing that script as a 
different user when starting FPM as root and switching the user after fork. 
Basically what we discussed some time ago: 
https://externals.io/message/102052#102065 .

Yes. The preloading is done at MINIT, before forking worker processes.

Thanks. Dmitry.


Cheers

Jakub





Reply via email to