Re: [PHP-DEV] [RFC] Introducing pm.max_memory for PHP-FPM

2025-01-31 Thread Arkadiy Kulev
Posted to Github: https://github.com/php/php-src/issues/17661 >

Re: [PHP-DEV] [RFC] Introducing pm.max_memory for PHP-FPM

2025-01-31 Thread Arkadiy Kulev
Hi! > This wouldn't really work because FPM does not control the script during >>> execution and would have to check it out after each allocation which is not >>> really viable. >>> >> >>> >> Thanks for the feedback! I agree that monitoring memory usage after each >> allocation would be infeasibl

Re: [PHP-DEV] [RFC] Introducing pm.max_memory for PHP-FPM

2025-01-30 Thread Arkadiy Kulev
> > To be honest, I haven't seen a 'slow' memory leak in a long time -- except > when using fgetcsv which has had a reported memory leak since ~2012 > somewhere on the old bug tracker. (I lost the link to it and don't even > remember how to get to the tracker or if it still exists.) I haven't > che

Re: [PHP-DEV] [RFC] Introducing pm.max_memory for PHP-FPM

2025-01-30 Thread Arkadiy Kulev
Hello! This wouldn't really work because FPM does not control the script during > execution and would have to check it out after each allocation which is not > really viable. > Thanks for the feedback! I agree that monitoring memory usage after each allocation would be infeasible. However, my sug

[PHP-DEV] [RFC] Introducing pm.max_memory for PHP-FPM

2025-01-27 Thread Arkadiy Kulev
? Thank you for reading and considering this idea. I look forward to hearing your insights and am happy to clarify or discuss any aspect of this proposal further. Best regards, Sincerely, Arkadiy Kulev (Ark)