Re: [PHP-DEV] Re: PHP-FPM process management woes

2021-12-22 Thread Pierre Joye
On Thu, Dec 23, 2021 at 5:32 AM Christoph M. Becker wrote: > > 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

[PHP-DEV] Re: PHP-FPM process management woes

2021-12-22 Thread Christoph M. Becker
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

[PHP-DEV] Re: PHP-FPM process management woes

2021-12-22 Thread Jakub Zelenka
> >> My suggestion for a fix would be to emulate what Apache always did: >> >> One MINIT/MSHUTDOWN in the main control process (I think it needed that >> to be able to implement php_admin_value and php_value), and then >> additionally also in each worker process. >> > > As I said above, it won't

Re: [PHP-DEV] Re: PHP-FPM process management woes

2021-12-20 Thread Levi Morrison via internals
As Jakub mentioned, exactly one MINIT/MSHUTDOWN per process will only fix one of your problems, but I do like the step in that direction. I express my sympathy and condolences: I've had my own share of woes with the fact that env var and INI changes are not complete during MINIT due to fcgi

[PHP-DEV] Re: PHP-FPM process management woes

2021-12-20 Thread Jakub Zelenka
Hi, On Mon, Dec 20, 2021 at 6:41 PM Derick Rethans wrote: > Literature since at least 2006 (Sara's Extending and Embedding PHP > book), as well as numerous presentations that I have seen and given, and > including the online PHP Internals Book > ( >