Req #62949 [Opn->Wfx]: Automatically terminate php-fpm children that exceed a memory usage limit
| From: | fat@php.net | Date: | Thu, 27 Sep 2012 14:41:40 +0000 |
| Subject: | Req #62949 [Opn->Wfx]: Automatically terminate php-fpm children that exceed a memory usage limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173740@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62949&edit=1
ID: 62949
Updated by: fat@php.net
Reported by: rainer-phpbugs at 7val dot com
Summary: Automatically terminate php-fpm children that exceed
a memory usage limit
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: FPM related
Operating System: all
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
this have been discusses many times and it's not possible as it's very complicated
to mesure the memory consume by one process: memory from external libraries, if
children have been forked, ...
the only thing we have is the memory_limit in php which only mesure the memory
allocated from PHP itself.
Previous Comments:
------------------------------------------------------------------------
[2012-08-27 12:52:24] rainer-phpbugs at 7val dot com
Description:
------------
As an alternative fix for the bloated php-fpm children descibed in #62948, it would be nice to be
able to configure a memory limit. If a php-fpm process exceeds this limit after a request has
finished processing, the child is terminated automatically.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62949&edit=1