2

I am getting intermittent issues with my site. Pages often hang with huge loading times and sometimes fail to load.

The httpd error logs contain the following:

[Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5871 for worker proxy:reverse
[Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 5871 for (*)
[Wed Feb 23 06:54:24 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5872 for worker proxy:reverse
[Wed Feb 23 06:54:24 2011] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
[Wed Feb 23 06:54:24 2011] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 5872 for (*)
[Wed Feb 23 06:59:15 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5954 for worker proxy:reverse
[Wed Feb 23 06:59:15 2011] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized

The server is currently running with 800mb free memory, so it is not caused by lack of RAM.

Any suggestions would be greatly appreciated.

Many thanks,

Chris.

EDIT

The current number of httpd procceses is 11. This does increase as the error persists and can rise up to 25+.

I am running Apache/2.2.3 (CentOS).

Kit
  • 123
  • 1
  • 4

2 Answers2

0

What is your httpd.conf mod_proxy config? How many other servers does this proxy pass point to? I have something that I think it similar to what you are doing as well, but I can't know for sure without seeing configs or knowing the setup.

lilott8
  • 111
  • 3
0

Depending on your Apache2 worker module, you can try finding something like

StartServers           2
MaxClients            50
MinSpareThreads       25
MaxSpareThreads       25
ThreadsPerChild       25
MaxRequestsPerChild  500

from your apache configuration file (may be for example /etc/apache2/apache2.conf or httpd.conf).

If you raise MaxClients, then you can serve larger amount of clients.

You should monitor your server load before making too dramatic changes. Good tools for this are for example top, iotop (for IO load) and munin for drawing nice system load graphs.