Re: PHP-FPM process management woes

From: Date: Wed, 22 Dec 2021 22:32:09 +0000
Subject: Re: PHP-FPM process management woes
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-116722@lists.php.net to get a copy of this message
On 22.12.2021 at 22:44, Jakub Zelenka wrote: > After thinking about this a bit more I think we would still need some way > to provide the current functionality of the MINIT if that's moved on child > level. The problem with not having such step is that opcache shm would be > then segmented between children - each child process would have its own shm > so it means that it would likely break things like opcache_reset that would > work only for a single child but wouldn't have any impact on other > children. I think the children could still re-attach to OPcache (like on Windows), and that might not even be that bad as on Windows (where ASLR can break that). However, forking late might break preloading (not sure), and generally re-attaching isn't the nicest solution. Christoph

« previous php.internals (#116722) next »