On 15.04.2010 12:23, Jérôme Loyet wrote:
> 2010/4/15 Antony Dovgal <t...@daylessday.org>:
>> 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?
> 
> In fork processes it could be great but when dealing with threads it won't 
> work

Adding this to FPM won't help anyway - FPM doesn't use threads.

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to