On 2022/03/05 07:12, Sebastien Marie wrote:
> On Sat, Mar 05, 2022 at 02:52:19AM +0100, i...@tutanota.com wrote:
> > I am sorry, but this truly looks like a bug to me. Please bear with me.
> > 
> > I have set pm.max_requests = 0, then restarted PHP-FPM.
> 
> if I didn't mess myself, php-fpm means it is a long term running php process ?

Yes.

Setting max_requests=1 (not 0, which is unlimited) *might* let it work
how you expect but there will be a lot of overhead with process startup
and you maybe better off with old-style CGI rather than FPM.

> >   var_dump(scandir('/var'));

Also make sure you account for chroot, if used

Reply via email to