You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by George Burrows <ge...@OrbisUK.com> on 2001/08/13 16:32:43 UTC

Is Tomcat not closing connections?

Hi,

I have tomcat 3.1.1 installed on a solaris box. It is talking to apache on a
different solaris box.

Apache is setup to have a maximum of 256 processes but rarely actually goes
above 150.

When I check how many connections are talking to port 8007 I get over 400
using the following command :

while [ 1 -eq 1 ]; do netstat -an | grep 8007 | wc -l; sleep 5; done

How can this be happening? Is Tomcat not closing down connections that it
has finished with?

I am getting a LOT (~1 per second) of 'Connection caused software abort'
execeptions which I have rebuilt tomcat to ignore (rather than the default
action which used to be to shutdown!).

Any help with this would be appreciated.

George


Re: Is Tomcat not closing connections?

Posted by George Burrows <ge...@OrbisUK.com>.
I now have 3.2.3 installed and get the same behaviour. Any ideas?

Thanks,

George

----- Original Message -----
From: "Rob S." <rs...@home.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, August 14, 2001 12:49 AM
Subject: RE: Is Tomcat not closing connections?


> Hi George,
>
> Tomcat 3.2.3 is the latest release of 3.2.  Try upgrading first...
>
> - r
>
> > -----Original Message-----
> > From: George Burrows [mailto:george.burrows@OrbisUK.com]
> > Sent: Monday, August 13, 2001 10:33 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Is Tomcat not closing connections?
> >
> >
> > Hi,
> >
> > I have tomcat 3.1.1 installed on a solaris box. It is talking to
> > apache on a
> > different solaris box.
> >
> > Apache is setup to have a maximum of 256 processes but rarely
> > actually goes
> > above 150.
> >
> > When I check how many connections are talking to port 8007 I get over
400
> > using the following command :
> >
> > while [ 1 -eq 1 ]; do netstat -an | grep 8007 | wc -l; sleep 5; done
> >
> > How can this be happening? Is Tomcat not closing down connections that
it
> > has finished with?
> >
> > I am getting a LOT (~1 per second) of 'Connection caused software abort'
> > execeptions which I have rebuilt tomcat to ignore (rather than the
default
> > action which used to be to shutdown!).
> >
> > Any help with this would be appreciated.
> >
> > George
> >
> >
>


RE: Is Tomcat not closing connections?

Posted by "Rob S." <rs...@home.com>.
Hi George,

Tomcat 3.2.3 is the latest release of 3.2.  Try upgrading first...

- r

> -----Original Message-----
> From: George Burrows [mailto:george.burrows@OrbisUK.com]
> Sent: Monday, August 13, 2001 10:33 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Is Tomcat not closing connections?
>
>
> Hi,
>
> I have tomcat 3.1.1 installed on a solaris box. It is talking to
> apache on a
> different solaris box.
>
> Apache is setup to have a maximum of 256 processes but rarely
> actually goes
> above 150.
>
> When I check how many connections are talking to port 8007 I get over 400
> using the following command :
>
> while [ 1 -eq 1 ]; do netstat -an | grep 8007 | wc -l; sleep 5; done
>
> How can this be happening? Is Tomcat not closing down connections that it
> has finished with?
>
> I am getting a LOT (~1 per second) of 'Connection caused software abort'
> execeptions which I have rebuilt tomcat to ignore (rather than the default
> action which used to be to shutdown!).
>
> Any help with this would be appreciated.
>
> George
>
>