Hi:
Can you share your httpd.conf file's prefork MPM settings. Look for "prefork".
These settings look like these by default for apache 2.0.59.
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
*************
Can you change the StartServers and the MaxClients settings to 1, try your tests again and share the observations?
Here's a possible explanation of what your are observing:
- The LB Plugin opens network connections to each of the listeners specified in loadbalancer.xml.
- These network connections are established when Apache receives the first client request after a restart.
- Now, apache spawns a number of processes to listen to client requests. This number is equal to the "StartServers" value specified in the prefork setting.
- I think each of these processes has its own instance of the LB Plugin and each is establishing network connections with the backend.
Lets hope the above test shows a difference that will help us understand the workings better.
thanks.
varun.
[Message sent by forum member 'vr143562' (vr143562)]
http://forums.java.net/jive/thread.jspa?messageID=239062