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.

>> 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.

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.

-- 
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