Re: Out of memory error httpd

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

 



Hi,

Except mod_rewrite,mod_php,mod_jk no extra module is installed. Apache prefork directives are configured as follows (remaining are default). Since I'm serving static content through nginx it's only dynamic content that apache serves. 

MaxClient 200
MaxRequestPerChild 10000


Regards,

--- On Mon, 27/12/10, BjöZettergren <bjorn.zettergren@xxxxxxxxxxx> wrote:

From: BjöZettergren <bjorn.zettergren@xxxxxxxxxxx>
Subject: Re: Out of memory error httpd
To: users@xxxxxxxxxxxxxxxx
Date: Monday, 27 December, 2010, 7:32 PM

On 12/27/2010 02:52 PM, Himanshu Raina wrote:
> Hi,
> One of my web server has started to give "Out of memory" errors.
> HighMem per-cpu:Free pages:       13928kB (512kB HighMem)HighMem free:512kB min:512kB low:1024kB high:1536kB active:2635032kB inactive:2613404kB present:5832700kB pages_scanned:104935776 all_unreclaimable? yesHighMem: 0*4kB 0*8kB 4*16kB 4*32kB 1*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB1327090 pages of HIGHMEMOut of Memory: Killed process  (httpd).
> Little unsure about what exactly the problem is. All static content is being served by nginx and remaining is proxied to apache. The top and iostat command show %user around 44% and the remaining system stays idle.
> avg-cpu:  %user   %nice    %sys %iowait   %idle                43.38    0.02    6.70    3.27   46.63
> Any suggestions in this regard would be of great help.
> RegardsRaina
>
>

You've exprienced the oom-killer (http://linux-mm.org/OOM_Killer). It might not be httpd's fault, unless you've misconfigured it to use too much resources in proportion to what's available in your system.

Have you changed the configuration or httpd, or installed a new module?
Please provide more information on your setup, otherwise i suspect it would be hard to give you any straight answers.

/Bjöbr>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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