tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 止观梅 <>
Subject Almost all threads are in "P" status
Date Tue, 14 Feb 2012 08:12:18 GMT

I'm encountering a problem:
1. almost all threads are in "P" status, and occasionally there is 1 or 2
in "S" or "R" status,
2. and there is no slow query on MySQL side, because I can't catch any
process with command "show full processlist",
3. while tomcat connection rate is merely less than 30req/s,
4. and tomcat CAN response correct result page in acceptable time(1 second)
System architecture: Tomcat*3 + Memcached*2 + MySQL-Proxy*2 + MySQL*2,
Software information: apache-tomcat-7.0.6, MySQL--5.5.11-1.rhel5.x86_64,
tomcat server.xml:

   1. <Connector port="8080" protocol="HTTP/1.1"
   2.            connectionTimeout="20000"
   3.            redirectPort="8443" />

which provides default maximum number of threads is 200

Screenshot: please refer to attachment.

1. is this situation(full of "P" status) problematic?
2. how to explain the situation?(waiting for Http request body? sounds

View raw message