users@glassfish.java.net

Re: Loadbalancer problems with Apache

From: Pankaj Jairath <Pankaj.Jairath_at_Sun.COM>
Date: Fri, 26 Oct 2007 13:57:27 +0530

HTTP Load Balancer runs implicit health checks over the listeners of the
participating server instances in the cluster. This would start
occurring upon webserver/LB start-up during it's life cycle and results
in the observation described here. The following issue addresses this
- https://glassfish.dev.java.net/issues/show_bug.cgi?id=3756 .

regards
Pankaj

glassfish_at_javadesktop.org wrote:
> Hiya - yep it's definitely the plugin, I tried without an no open conns. The conns are all to the defined listener ports on the app servers.
>
> The one ESTABLISHED connection seems to survive for around 10 seconds before going into TIME_WAIT and being replaced by another ESTABLISHED connection. For a single request it gets to a point of a constant number of conns in ESTABLISHED or TIME_WAIT as the older waiting conns drop off, to be replaced each time a new established connection is made. For a single request with apache configured with startservers=1 & maxclients=1, this seems to be 13 conns in TIME_WAIT and 1 ESTABLISHED at any one time.
>
> Could this be due to the app server terminating the connection after 10 secs, and the load balancer reinitialising after it's seeing a connection dropped (unexpectedly?).
>
> I ran truss which didn't tell me too much without seeing the source but there were a number of errors reported - EAGAIN & EINPROGRESS roughly in equal measure.
>
>
> I noticed this post but it's impossible to determine if it's related -
> http://forums.java.net/jive/thread.jspa?messageID=155501&#155501
> [Message sent by forum member 'ocoro02' (ocoro02)]
>
> http://forums.java.net/jive/thread.jspa?messageID=239182
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>