Mantis - Resin
Viewing Issue Advanced Details
2236 minor always 12-11-07 10:39 12-17-07 14:47
sam  
ferg  
urgent  
closed 3.1.4  
fixed  
none    
none 3.1.5  
0002236: load balancer is failing over when there is a ClientDisconnectException
(rep by A Balandran)

But, there is another case where a ClientDisconnectException occurs then
it is failed over. This seems odd because if the client is disconnected, why is it failing over?

{http-a-443-330} [web-tier->app-B:5641]com.caucho.vfs.ClientDisconnectException: client timeout
{http-a-443-330} com.caucho.vfs.ClientDisconnectException: client timeout
{http-a-443-330} at com.caucho.vfs.JniStream.exception(JniStream.java:211)
{http-a-443-330} at com.caucho.vfs.JniStream.write(JniStream.java:163)
{http-a-443-330} at com.caucho.vfs.WriteStream.nextBuffer(WriteStream.java:323)
{http-a-443-330} at com.caucho.server.connection.ResponseStream.writeNext(ResponseStream.java:479)
{http-a-443-330} at com.caucho.server.connection.ToByteResponseStream.flushByteBuffer(ToByteResponseStream.java:520)
{http-a-443-330} at com.caucho.server.connection.ToByteResponseStream.write(ToByteResponseStream.java:327)
{http-a-443-330} at com.caucho.server.connection.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:67)
{http-a-443-330} at com.caucho.vfs.ReadStream.writeToStream(ReadStream.java:896)
{http-a-443-330} at com.caucho.servlets.HmuxLoadBalanceServlet.handleRequest(HmuxLoadBalanceServlet.java:701)
{http-a-443-330} at com.caucho.servlets.HmuxLoadBalanceServlet.service(HmuxLoadBalanceServlet.java:226)
{http-a-443-330} close ClusterStream[[web-tier->app-B:5641]]
{http-a-443-330} connect ClusterStream[[web-tier->app-C:5956]]
{http-a-443-330} load-balance failing over from web-tier->app-B to web-tier->app-C

There are no notes attached to this issue.