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: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]