I don't know how that will help in lowering down the CLOSE_WAITS from tomcat to apache. I'll look at it though.
On Wed, Oct 8, 2008 at 3:07 PM, Serge Fonville <[EMAIL PROTECTED]> wrote: > I'm recently new to tomcat, but still I hope I am able to help a little.On > one end, any connection object should be nulled so the garbage collector can > pick it up. > On the other end, in server.xml define an executor and refer it in the > connector, that way, you can specify the idle time and the maximum amount of > threads you want. > > Hope this helps... > > Serge > > On Wed, Oct 8, 2008 at 11:24 PM, Mohit Anchlia <[EMAIL PROTECTED]>wrote: > >> So I tried all the options. I also changed the code to use connection >> pooling with only 2 connections but still there are bunch of >> CLOSE_WAITS. As soon as I stop tomcat all of them go away. I am not >> able to figure out why there are so many CLOSE_WAITS hanging around >> when I just have 2 connections in my pool. >> >> On Wed, Oct 8, 2008 at 6:14 AM, Konstantin Kolinko >> <[EMAIL PROTECTED]> wrote: >> > 2008/10/8 Mohit Anchlia <[EMAIL PROTECTED]>: >> >> I can see you can't wait to hear the debate. Anyhow, I am using >> >> HttpClient from apache commons and I do have .getReleaseConnection(). >> >> >> > >> > See comment #22 here: >> > https://issues.apache.org/bugzilla/show_bug.cgi?id=28727#c22 >> > and the message thread that it refers, [1]: >> > >> > [1] >> http://www.mail-archive.com/[EMAIL PROTECTED]/msg04338.html >> > >> > I do not know, if that applies to your case. That message thread ([1]) is >> > of December 2003, thus I do not know whether it is still applicable. >> > >> > Just my 0.02 EUR. >> > >> > Best regards, >> > Konstantin Kolinko >> > >> > --------------------------------------------------------------------- >> > To start a new topic, e-mail: users@tomcat.apache.org >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]