Re: One suggestion to PHP-FPM
| From: | Ferenc Kovacs | Date: | Thu, 15 Apr 2010 08:54:05 +0000 |
| Subject: | Re: One suggestion to PHP-FPM | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47958@lists.php.net to get a copy of this message | ||
2010/4/15 Antony Dovgal <tony@daylessday.org>
> On 15.04.2010 12:23, Jérôme Loyet wrote:
> > 2010/4/15 Antony Dovgal <tony@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.
>
> You meant won't hurt?
Tyrael