You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Samuel Vogel <sa...@gmx.de> on 2007/09/30 19:27:05 UTC

[users@httpd] Apache taking hours to answer on low system load

Hey guys,

My Apache Server at kilu.de is taking pretty long to answer requests, 
even thou the system doesn't seem to have a high load.
Also as soon as I start Apache, every try to start some other process 
results in:
# ls
-bash: fork: Cannot allocate memory

The output of top (started before I started Apache):
top - 19:24:24 up 15 min,  1 user,  load average: 0.13, 0.08, 0.02
Tasks: 174 total,   2 running, 172 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.0% us,  1.0% sy,  0.0% ni, 98.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   2070020k total,  1864392k used,   205628k free,   334648k buffers
Swap:  3068392k total,     1108k used,  3067284k free,   813712k cached

Everything seems normal doesn't it?
I'm running the default Debian etch configuration on this vServer and 
increasing MaxClients didn't do any good.

What could the problem be?

Regards,
Samy

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


Re: [users@httpd] Apache taking hours to answer on low system load

Posted by Sander Temme <sc...@apache.org>.
On Sep 30, 2007, at 10:27 AM, Samuel Vogel wrote:

> -bash: fork: Cannot allocate memory

...

> Everything seems normal doesn't it?
> I'm running the default Debian etch configuration on this vServer  
> and increasing MaxClients didn't do any good.
>
> What could the problem be?

Looks like you have some memory allocation limit going on that you're  
running into.  Compare the output of:

ulimit -a -S

with

ulimit -a -H

and see if there are any red flags.

S.

-- 
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF