tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taylan Develioglu <tdevelio...@ebuddy.com>
Subject RE: jvm exits without trace
Date Tue, 09 Mar 2010 15:23:08 GMT
The switch is from APR to JIO. SSL practically doesn't get used.

Almost all pages served are jsp or java, very little static files are
served and keep-alive is on.

where peak busy-threads used to be ~50 with APR, now it has become ~200
with JIO.

Here are the connector definitions for reference (no executor is used):

- APR:

    <Connector port="80"
protocol="org.apache.coyote.http11.Http11AprProtocol"
               compression="1024" keepAliveTimeout="60000"
maxKeepAliveRequests="-1"
               enableLookups="false" redirectPort="443" maxThreads="150"
pollerSize="32768"
               />

- JIO:

    <Connector port="80"
protocol="org.apache.coyote.http11.Http11Protocol"
               compression="1024" connectionTimeout="10000"
keepAliveTimeout="60000" maxKeepAliveRequests="-1"
               enableLookups="false" redirectPort="443"
maxThreads="720"/>


On Fri, 2010-03-05 at 19:13 +0100, Caldarale, Charles R wrote:
> > From: Christopher Schultz [mailto:chris@christopherschultz.net]
> > Subject: Re: jvm exits without trace
> > 
> > I thought he said he was using APR, not NIO.
> 
> He was, but IIRC, switched away from it to see if that would affect the outages.  What
we don't know is what was switched to - JIO or NIO.  If it's JIO, there may be a lot of threads
tied up handling persistent HTTP connections, possibly causing heap or other resource problems.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and
is thus for use only by the intended recipient. If you received this in error, please contact
the sender and delete the e-mail and its attachments from all computers.
> 



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


Mime
View raw message