httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis BUCHER <dbuche...@hsolutions.ch>
Subject Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !
Date Sat, 18 Aug 2012 09:35:29 GMT
  

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 
  
Mime
View raw message