Please find the server.xml attached.

The real problem is I dont know where to look at.
    -There are no error in logs or the linux sys logs.
    - I cannot diagnose as the connector(443) does not even connect.

On 12/24/2011 3:31 PM, Pid wrote:
On 23/12/2011 14:47, Christopher Schultz wrote:
Saravanan,

On 12/23/11 7:03 AM, Saravanan L wrote:
Please find the latest thread dump attached with mail.
Tomcat 7 still crashes without acceptCount.  I am wrong on this
assumption.
The response code is 504. It takes about 2 hours for this occur.
The last status in http-apr-443 (In Server status ) is :
Max threads: 5000
Seems high, as Chris says.

Current thread count: 249
Can you post your full server.xml please, inline and with all XML
comments/usernames/passwords removed.

Current thread busy: 2
Low.

Keeped alive sockets count: 40
Hmm?  Where does that come from?

Max processing time: 300477 ms
Processing time: 8788.765 s
Seems low for 2 hours of operation.  Where does that number come from?

Request count: 9223
Error count: 783
That's about 10%.  What are those errors, exactly?

Bytes received: 0.22 MB
Bytes sent: 5.43 MB
Both of those seem low for 2 hours of operation.

What is your application/server doing?


p


What happens if you configure your HTTPS connector with fewer max
threads, say, 50? Does the connector lock-up more quickly? What does
your load profile look like? Is this observable in a testing
environment or only in production? If you could set up a simple jmeter
test against a test webapp, that would be ideal for trying to debug
this issue.

If you switch to NIO or BIO connector, does Tomcat become more stable,
or do you experience the same phenomenon?

-chris

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



--
Regards
*Saravanan.L*

This message and any attachment(s) contained here are information that is 
confidential, proprietary to TE Software Services and its customers. Contents 
may be privileged or otherwise protected by law. The information is solely 
intended for the individual or the entity it is addressed to. If you are not 
the intended recipient of this message, you are not authorized to read, 
forward, print, retain, copy or disseminate this message or any part of it. If 
you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete it from your computer.
<?xml version='1.0' encoding='utf-8'?>

<Server port="8005" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
  <Listener className="org.apache.catalina.core.JasperListener" />
  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
  <GlobalNamingResources>
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>
  <Service name="Catalina">
  <Connector port="80" protocol="org.apache.coyote.http11.Http11AprProtocol" connectionTimeout="300000"
             tomcatAuthentication="false" keepaliveTimeout="5000" backlog="50" maxThreads="5000" />
 <Connector port="443" protocol="org.apache.coyote.http11.Http11AprProtocol"
           maxThreads="5000" maxSpareThreads="150" enableLookups="true"
           disableUploadTimeout="true" SSLEnabled="true" connectionTimeout="300000"
		 scheme="https" secure="true"
              SSLCertificateFile="x.crt"
              SSLCertificateKeyFile="x.private"
              clientAuth="false" sslProtocol="All" />
    <Engine name="Catalina" defaultHost="localhost">
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
               resourceName="UserDatabase"/>
      </Realm>
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log." suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />

      </Host>
    </Engine>
  </Service>
</Server>

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

Reply via email to