gpt4 book ai didi

apache - mod_jk - 无法获得免费端点

转载 作者:行者123 更新时间:2023-11-28 22:29:33 25 4
gpt4 key购买 nike

我使用 Apache/2.2.14 (Worker MPM) + libapache2-mod-jk 1.2.28-2 + tomcat 6.0.24 让我的应用程序在一台机器上与 CGI 和 Java 一起工作。我遇到了 mod_jk 的问题(我不确定):

错误

Internal Server Error
[info] "ajp_get_endpoint::jk_ajp_common.c (3001): Unable to get the free endpoint for worker ajp13 from 10 slots"
[error] jk_handler::mod_jk.c (2549): Could not get endpoint for worker=ajp13

只有在我使用远程代理服务器时才会发生这种情况。直接连接似乎有效。

jk_workers.properties:

worker.list=ajp13
worker.ajp13.type=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1

mods-enabled/jk.conf

JkWorkersFile /etc/apache2/jk_workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkShmFile /var/log/apache2/jk-runtime-status

最佳答案

尝试删除 deprecated cachesize property并再次测试。

关于apache - mod_jk - 无法获得免费端点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26032250/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com