Re: Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux