You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <js...@gmail.com> on 2005/03/28 21:04:52 UTC

[users@httpd] Re: RE : Re[2]: [users@httpd] Strange P roblem

On Mon, 28 Mar 2005 20:43:27 +0200, SEGOUFFIN, Pascal
<ps...@eurosport.com> wrote:
> Hello,
> 
> I had the same kind of symptoms, it happened to me within some times going from several minutes to  several hours. At first the web server seems to stabilize i mean after some dozen of minutes and a strong load the memory free keeps to 10 MB left and average load around 0.05 to 0.1. Then suddenly some of the http process starts to consume high cpu load and the systems starts to swap. At that time of course all is very slow and almost impossible to use shell commands. This ends in 2 possiblities, either the kernel manages to kill the httpd process after some long mins or i have to reboot the systems.
> I have nothing in the apache log, and just the out of memory error from the kernel in the system log.
> I m not using php nor any database access, and server only statics files and shntl files. Only special directives used are expires ones. All the files are served from an nfs mount (wich is probably one of the bigest part of the cached memory). We use as well a dozen of virutal host, each with lot of aliases for friendly urls.
> 
> I tried to recompile apache with minimal modules and with different models of threading with the exact same problem.
> I didnt had the maxfiles messages too in the log and i tried to limit the number of requests served by each process with the same results.
> This is wy i finaly tried apache 1.3.33. It is runnning now perfectly without any problems and handle very strong loads,. The memory is kept by the system at the same valor around minimum of 10 MB free.
> 
> If anyone have an idea too for apache 2 i ll take the advices with pleasure.

What the heck are "shntl files"?

If you ever let apache use swap-memory, that means you have MaxClients
set too high for your available physical RAM.

Your problem also could very-well be related to NFS.  See the
EnableSendfile and EnableMMAP directives in apache 2.  Turning these
off will have it more-closely replicate the behavior of apache 1.3.

Joshua.

---------------------------------------------------------------------
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