Re: One suggestion to PHP-FPM
| From: | Jérôme Loyet | Date: | Mon, 26 Apr 2010 10:08:57 +0000 |
| Subject: | Re: One suggestion to PHP-FPM | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48084@lists.php.net to get a copy of this message | ||
Le 26 avril 2010 12:02, Antony Dovgal <tony@daylessday.org> a écrit :
> On 26.04.2010 13:38, Jérôme Loyet wrote:
>> I see how adding limits but how can a PECL module can do process
>> management (killing) without interfacing with the corresponding SAPI ?
>
> What exactly are you going to do?
> Killing a process is as easy as exit(), no interfacing is needed.
and when threads are used ? You'll kill all threads at once without
waiting them to finish what they're doing at the time ?
I'm asking not to proove something, I'm just asking to go deeper into
the subject.
>
>>> That's why memtrack uses mallinfo().
>>
>> mallinfo is not present on every system (mac os, *bsd, ...)
>
> Hah! I knew you'd say it.
> It works fine on FreeBSD 8.0.
dammit :)))
>
> If there is some way to get this info on other systems, we can implement it in the extension.
> If there is no such info available - you can forget about those systems anyway, you can't
> help it.
of course
>
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime statistics for PHP
>