was active for 79985 milliseconds and has been removed automaticaly.

在使用proxool 时  出现错误:

 

   [org.logicalcobwebs.proxool.cnlivePoll][WARN][2011-04-25 16:31:01,241]-[#0003 was active for 79985 milliseconds and has

been removed automaticaly. The Thread responsible was named 'http-8181-8'.]

 

表明<maximum-active-time>600000</maximum-active-time>
  <prototype-count>3</prototype-count> 的设置不合理

 

maximum-active-time 默认是 5 分钟, 含义是一个线程持有一个连接的最长时间,而不管这个连接是否处于 active 状态, 并且如果线程的持有时间超过这个时间的之后会自动清除掉这个连接. 但是很多时候5分钟并不够用, 所以需要在配置文件中进行设置, 其单位为毫秒(ms).

你可能感兴趣的:(thread,prototype)