apache2 slow responding (debian)

Posted by baloo on Server Fault See other posts from Server Fault or by baloo
Published on 2010-05-20T13:38:26Z Indexed on 2010/05/20 13:41 UTC
Read the original article Hit count: 357

Filed under:
|
|
|
|

I'm running an apache2 2.2.9 webserver with modpython and mpm_worker_module.

The current config for the mpm is

ServerLimit 32
StartServers         10
MaxClients          800
MinSpareThreads      25
MaxSpareThreads      75
ThreadsPerChild      25
MaxRequestsPerChild   0

The server has 1G of ram and a 100Mbit connection.

Checking netstat -na | grep ESTABLISHED | wc -l gives me a number between 50 - 60. The load is about 1.0 Every pageload is also cached by memcached.

I can't see why the server is so slow in responding to new connections, sometimes droping them completely?

Also tried disabling iptables to make sure it's not because of a full state table or something like that.

The only thing in dmesg is a lot of spam about "TCP: Treason uncloaked!"

© Server Fault or respective owner

Related posts about apache2

Related posts about mod-python