--On 18 August 2012 11:35:29 +0200 Denis BUCHER <dbuche...@hsolutions.ch> wrote:

OK, but my problem is that when I detect an "offending" process (using
too much memory), it's already too late !

The strace will only show mmaps until "[crit] Memory allocation failed" !

Do you have a suggestion on how I could "intercept" these processes
before the problem happens ?

rlimit maybe.

I'd suggest something is trying to allocate a 'negative' amount of memory.
The real answer is to locate the bug. If you really want to do that,
build/install debug versions of your s/w, attach gdb to the running
process, and ask for a backtrace.

--
Alex Bligh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to