[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Out of memory error httpd
From:       Himanshu Raina <raina_himanshu () yahoo ! com>
Date:       2010-12-28 5:59:08
Message-ID: 171031.60313.qm () web94206 ! mail ! in2 ! yahoo ! com
[Download RAW message or body]

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 \
200MaxRequestPerChild 10000

Regards,
--- On Mon, 27/12/10, Björn Zettergren <bjorn.zettergren@basefarm.se> wrote:

From: Björn Zettergren <bjorn.zettergren@basefarm.se>
Subject: Re: [users@httpd] Out of memory error httpd
To: users@httpd.apache.org
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örn

---------------------------------------------------------------------
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@httpd.apache.org
  "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[Attachment #3 (text/html)]

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;"><meta http-equiv="content-type" content="text/html; \
charset=utf-8">Hi,<div><br></div><div>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.&nbsp;</div><div><br></div><div>MaxClient \
200</div><div>MaxRequestPerChild \
10000</div><div><br></div><div><br></div><div>Regards,</div><br>--- On <b>Mon, \
27/12/10, Björn Zettergren <i>&lt;bjorn.zettergren@basefarm.se&gt;</i></b> \
wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: \
5px; padding-left: 5px;"><br>From: Björn Zettergren \
&lt;bjorn.zettergren@basefarm.se&gt;<br>Subject: Re: [users@httpd] Out of memory \
error httpd<br>To: users@httpd.apache.org<br>Date: Monday, 27 December, 2010, 7:32 \
PM<br><br><div  class="plainMail">On 12/27/2010 02:52 PM, Himanshu Raina \
wrote:<br>&gt; Hi,<br>&gt; One of my web server has started to give "Out of memory" \
errors.<br>&gt; HighMem per-cpu:Free pages:&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;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&nbsp; \
(httpd).<br>&gt; 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.<br>&gt; \
avg-cpu:&nbsp; %user&nbsp;&nbsp;&nbsp;%nice&nbsp; &nbsp; %sys \
%iowait&nbsp;&nbsp;&nbsp;%idle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
43.38&nbsp; &nbsp;  0.02&nbsp; &nbsp; 6.70&nbsp; &nbsp; \
3.27&nbsp;&nbsp;&nbsp;46.63<br>&gt; Any suggestions in this regard would be of great \
help.<br>&gt; RegardsRaina<br>&gt; <br>&gt; <br><br>You've exprienced the oom-killer \
(<a href="http://linux-mm.org/OOM_Killer" \
target="_blank">http://linux-mm.org/OOM_Killer</a>). 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.<br><br>Have you changed the configuration or httpd, or \
installed a new module?<br>Please provide more information on your setup, otherwise i \
suspect it would be hard to give you any straight \
answers.<br><br>/Björn<br><br>---------------------------------------------------------------------<br>The \
official User-To-User support forum of the Apache HTTP Server Project.<br>See \
&lt;URL:<a href="http://httpd.apache.org/userslist.html" \
target="_blank">http://httpd.apache.org/userslist.html</a>&gt; for more info.<br>To  \
unsubscribe, e-mail: <a ymailto="mailto:users-unsubscribe@httpd.apache.org" \
href="/mc/compose?to=users-unsubscribe@httpd.apache.org">users-unsubscribe@httpd.apache.org</a><br>&nbsp; \
"&nbsp;&nbsp;&nbsp;from the digest: <a \
ymailto="mailto:users-digest-unsubscribe@httpd.apache.org" \
href="/mc/compose?to=users-digest-unsubscribe@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org</a><br>For \
additional commands, e-mail: <a ymailto="mailto:users-help@httpd.apache.org" \
href="/mc/compose?to=users-help@httpd.apache.org">users-help@httpd.apache.org</a><br><br></div></blockquote></td></tr></table><br>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic