Re: One suggestion to PHP-FPM
| From: | Antony Dovgal | Date: | Thu, 15 Apr 2010 08:14:30 +0000 |
| Subject: | Re: One suggestion to PHP-FPM | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47955@lists.php.net to get a copy of this message | ||
On 06.04.2010 11:11, 滕路遥 wrote:
> So I suggest that if we could add a config option to PHP-FPM, so that
> PHP-FPM could just kill a PHP process if it consumes too much memory
> (say more than 256M).
I personally don't think this belongs to any SAPI.
How about adding another ini option to PECL/memtrack to not just throw a warning,
but terminate the process when it hits some limit?
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP