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]

 



Mind sharing the proxy rules? From your strace looks like you get file not found error for the bot urls so might be something related. Also maybe more detailed description of your setup might help like how many servers and apps you are running is the database on the same box is the same apache a proxy as well and any other third party stuff you might be using.

On Aug 18, 2012 9:07 PM, "Denis BUCHER" <dbucherml@xxxxxxxxxxxxx> wrote:

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

--On 18 August 2012 11:35:29 +0200 Denis BUCHER <dbucherml@xxxxxxxxxxxxx> 
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.

Update :

Just to let you know, we use proxying to serve http://requests/like/that to customers while internally getting http://requests?like=that if you see what I mean


Could it be the source of a problem ?

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