简体   繁体   English

Apache Tomcat和Mod_jk

[英]Apache Tomcat and Mod_jk

We have been running Apache with Tomcat using mod_jk for about a month now with out issues. 我们已经使用mod_jk在Apache和Tomcat上运行Apache大约一个月了,没有出现问题。 This morning I have started seeing the error below in the mod_jk log files. 今天早上,我开始在mod_jk日志文件中看到以下错误。

I am fairly new to using mod_jk and am not sure how to increase the number of connections, see the number of active connections and/or kill of connections that are idle or dead. 我对使用mod_jk相当陌生,不确定如何增加连接数,查看活动连接数和/或杀死空闲或死掉的连接。

Any ideas/help would be much appreciated. 任何想法/帮助将不胜感激。

[Thu Sep 19 11:02:42 2013] [1644:11984] [warn] ajp_get_endpoint::jk_ajp_common.c (3177): Unable to get the free endpoint for worker Worker1 from 10 slots
[Thu Sep 19 11:02:42 2013] [1644:11984] [error] jk_handler::mod_jk.c (2726): Could not get endpoint for worker=Worker1
[Thu Sep 19 11:02:42 2013] [1644:11984] [info] jk_handler::mod_jk.c (2788): Service error=0 for worker=Worker1

So it turns out this issue was a by product of another configuration issue. 因此,事实证明此问题是另一个配置问题的副产品。 We had different Railo contexts configure to point to the same set of shared directories, some of the context's mapped to directories that were within the root context which caused Java thread locks 我们将不同的Railo上下文配置为指向同一组共享目录,其中某些上下文映射到了导致Java线程锁定的根上下文中的目录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM