Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

mod_jk CLOSE_WAIT state and 1 byte recv buffer

Michael Stiller

2005-02-18

Replies:

Hi,

i have the following problem with mod_jk from tomcat-connectors (1.2.5 -
1.2.8) including 1.2.9 (from cvs).

Environment:
apache is 2.0.52, forking model, server os is linux 2.6.10-1.760_FC3smp
(fedora core 3), mod_jk 1.2.9 (others tested as well)

After a while i get sockets stuck in CLOSE_WAIT state and netstat shows
1 byte in the receive queue for this socket.

tcpdump shows, that the backend (jetty) half-closes the connection with
FIN. That FIN is acked from the mod_jk machine but the connection is not
closed (no FIN is send).

sample netstat output:
...
tcp     1    0 192.168.100.1:51003      192.168.170.8:32511      CLOSE_WAIT
tcp     1    0 192.168.100.1:53875      192.168.170.8:12522      CLOSE_WAIT
tcp     1    0 192.168.100.1:53619      192.168.170.8:12521      CLOSE_WAIT
...

Are there any known issues? Where do is start debugging this? What information
is missing?

TIA,

Michael






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.