tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephanie Wullbieter" <swu...@gmx.de>
Subject Re: mod_jk keeps connections closed by tomcat in CLOSE_WAIT state
Date Mon, 26 May 2008 14:11:56 GMT
Same phenomen with mod_jk 1.2.23

Why does mod_jk not close the connections?

> If you want to keep CLOSE_WAIT in later versions to an absolute minimum, 
> you could set connection_pool_minsize to 0.

We use Apache 1.3. Does Apache 1.3 use connection_pool_minsize ? What's the default value
?

Thank You!


-------- Original-Nachricht --------
> Datum: Mon, 26 May 2008 11:55:39 +0200
> Von: Rainer Jung <rainer.jung@kippdata.de>
> An: Tomcat Users List <users@tomcat.apache.org>
> Betreff: Re: mod_jk keeps connections closed by tomcat in CLOSE_WAIT state

> Stephanie Wullbieter schrieb:
> > Hello,
> > 
> > with 
> > netstat -A inet
> > on the apache httpd side I see that ajp connections that are closed
> correctly by tomcat after <connectionTimeout> ms are not closed by mod_jk
> allthough the socket_timeout (so named in mod_jk 1.2.5, now called
> connection_pool_timeout) is the same time (in s).
> > 
> > these connections stay on mod_jk side in status CLOSE_WAIT with  Recv-Q
> = 1
> > 
> > Sometimes these connections are replaced by other connections with
> different dynamic ports on the sender (mod_jk) side, maybe it's a reuse I do not
> know - I thought when reusing (pooling) then the dynamic port has to be
> the same. Sometimes these connections are not used/replaced for new requests.
> > 
> > Is that phenomen known?
> > 
> > Looks like these connections are only closed by the firewall after fw
> timeout.
> > 
> > Used software:
> > mod_jk 1.2.5 on Debian Woody
> 
> There have been lots of changes related to this symptom after 1.2.5. Go 
> to 1.2.26.
> 
> If you want to keep CLOSE_WAIT in later versions to an absolute minimum, 
> you could set connection_pool_minsize to 0.
> 
> Regards,
> 
> Rainer
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

-- 
Super-Aktion nur in der GMX Spieleflat: 10 Tage für 1 Euro.
Über 180 Spiele downloaden und spiele: http://flat.games.gmx.de

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message