日期:2014-05-17 浏览次数:21422 次
参考:http://tomcat.apache.org/connectors-doc/reference/workers.html
?
配置:Apache 2.2\conf\workers.properties
worker.worker1.socket_timeout=300 worker.worker1.retries=1
?
解释:
?
retries |
AJP,SUB |
2 |
This directive also exists for load balancer workers. For those it has a different meaning. The maximum number of times that the worker will send a request to Tomcat in case of a communication error. Each retry will be done over another connection. The first time already gets counted, so retries=2 means one retry after error. Before a retry, the worker waits for a configurable sleeping time.See also the attribute recovery_options for a more fine-grained control of retries and retry_interval for the sleep time configuration. Until version 1.2.16 the default value was 3. |