Re: Reason of dropping connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Narendra Verma wrote:
Hi,

I am facing one problem of dropping connections by apache load balancer.

.. maybe


Getting error on tomcat server :

WARNING: Error sending end packet
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
...
The most likely reason is the client browser canceling the connection.
That happens when the user clicks the cancel button, or moves away to another page. (The client browser has a connection with Apache. Apache has a connection with Tomcat via mod_proxy. Tomcat is busy sending a response to Apache, and Apache forwarding this response to the client. Now the client hits cancel, and the browser cuts the connection to Apache. Apache can no longer send bytes onto that connection. But Tomcat is still sending bytes to Apache. To tell Tomcat to stop, Apache cuts the connection to Tomcat. Now Tomcat can no longer send, and logs the exception)

It may or may not be the reason, but it is the first thing you should try to rule out. You should check for the logging capabilities of the mod_proxy module you are using, set it high, and examine the resulting log. It will tell you if it is mod_proxy canceling the connection to Tomcat, because the Apache client has done the above.

---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux