httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narendra Verma <narendra.ve...@impetus.co.in>
Subject RE: [users@httpd] Reason of dropping connections
Date Tue, 28 Jul 2009 10:37:21 GMT
Hi Andre,
Thanks for your reply...

Actually a browser is not being used to access apache server.

I am performing load testing. Where load runner as a client is sending requests to apache.

["loadRunner (configured 5 users) <--> Apache <---> Tomcat"]

About 24000 requests are being sent to apache in 10 min. Where apache posts call on web service
which has been deployed on tomcat backend servers.

During this load testing I am getting this below error.

Thanks,
Narendra

-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com]
Sent: Tuesday, July 28, 2009 2:46 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Reason of dropping connections

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


Follow us on Twitter- https://twitter.com/impetuscalling.
Impetus actively supports 'National Underprivileged Child Protection Mission' and 'Grace Care
Children's Home'. Visit http://impetus.com/community_affairs.html to know more.

NOTE: This message may contain information that is confidential, proprietary, privileged or
otherwise protected by law. The message is intended solely for the named addressee. If received
in error, please destroy and notify the sender. Any use of this email is prohibited when received
in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this
communication has been maintained nor that the communication is free of errors, virus, interception
or interference.

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


Mime
View raw message