Hi Mark,
forgive me, I'm afraid I'm not using the right terminology for lack of
experience with Apache. I was talking about the JK (Apache-Tomcat)
connector.
You are right about ping, too. It was not an actual ping but a full HTTP
request performed with wget.
Thanks.
On 12/05/2010 15.48, Mark Watts:
On Wed, 2010-05-12 at 13:00 +0200, Mauro Vanetti wrote:
Hello!
I'm testing load balancing between four nodes placed in two distinct
machines (2 + 2). The load balancer is on the first machine, where nodes
11 and 12 are. Nodes 21 and 22 are on the second machine.
When I reboot the second machine, the load balancer detects the error
and redirects all new requests to nodes 11 and 12 only, until the nodes
on the second machine are up again.
This is all very good, the only problem is what happens in the critical
seconds. Clearly, a few sessions will fail (those already started but
not yet finished on nodes 21 and 22 when the second machine is
rebooted). When this happens, the log shows that for 1-2 seconds no
requests are managed (including those on the first machine!).
This goes to the point that even if I launch an automated ping (10x a
second) on the first machine, the pinging is not logged during the
critical seconds.
Real example (requests per second logged in access_log):
100
112
102
92
32<-- CRISIS
0<-- PEAK OF THE CRISIS
3<-- CRISIS
25<-- CRISIS
55<-- RECOVERY
98
93
101
What can be the reason for this behaviour?
Thank you very much for your help. Best regards!
What kind of Load Balancing?
Apache wouldn't log a ping, since its not a valid HTTP request, so I
don't know what kind of logging you're talking about.
--
_____________ ________ _____ ___ __ _ _
Mauro Vanetti :: Pavia
Funambol :: http://www.funambol.com/
_____________ ________ _____ ___ __ _ _
phone :: +39-328-3657696
skype :: mauro.vanetti
email :: ma...@funambol.com
_____________ ________ _____ ___ __ _ _
m s n :: vane...@hotmail.com
yahoo :: maurovane...@yahoo.com
gtalk :: 29settembr...@gmail.com
_____________ ________ _____ ___ __ _ _
---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org