Le 18.08.2012 11:05, Alex Bligh a écrit : 

>> But how can I strace
it ?
> 
> strace -fp [pid]
> 
> so "strace -fp 25178" in the case you
gave.
> 
> and see what syscalls it's making. Might give you a
hint.

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 ? 

Denis 
  

Reply via email to