tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darinpope <da...@planetpope.com>
Subject Re: CPong error
Date Sun, 27 Apr 2008 10:51:15 GMT

With this release, we were adding in some timeouts based on the
recommendations from

http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html 

Previously, our workers.properties looked like:
worker.template-worker.type=ajp13
worker.template-worker.lbfactor=1
worker.810ED18641A24B1784CF0575992D73C7.reference=worker.template-worker
worker.810ED18641A24B1784CF0575992D73C7.host=192.168.1.100
worker.810ED18641A24B1784CF0575992D73C7.port=8209

and the AJP connector:
<Connector port="8209" enableLookups="false" protocol="AJP/1.3"
maxThreads="1000" />

What was happening is sometimes we would have some Tomcat threads "hung"
(never finished processing) and the Apache connections never released,
causing our site to stop responding. That's why I first put in the AJP
connectionTimeout. Then I started tweaking the workers.properties setting
based on the Timeout HOWTO.

If those are not necessary or if I'm tuning incorrectly for Windows, can you
give me some better settings to try?

Thanks,

Darin


-- 
View this message in context: http://www.nabble.com/CPong-error-tp16918132p16922484.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message