Le 26 avril 2010 12:02, Antony Dovgal <t...@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 > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php