【问题标题】:Random mod_cluster error: 'MODCLUSTER000042: Error MEM sending ENABLE-APP command to <apache.host>'随机 mod_cluster 错误:“MODCLUSTER000042:错误 MEM 向 <apache.host> 发送 ENABLE-APP 命令”
【发布时间】:2019-08-13 12:40:05
【问题描述】:

我遇到了随机发生的错误,例如:

MODCLUSTER000042: Error MEM sending ENABLE-APP command to some.apache.s1
MODCLUSTER000042: Error MEM sending ENABLE-APP command to some.apache.s2

wildfly 和 apache 主机之间的网络连接工作正常。

【问题讨论】:

    标签: apache wildfly mod-cluster


    【解决方案1】:

    这是由于 apache 端超出 mod_cluster 限制引起的。默认设置为:

    Maxcontext 100
    Maxnode 20
    Maxhost 20
    

    硬编码在https://github.com/modcluster/mod_proxy_cluster/blob/master/native/mod_manager/mod_manager.c 对于Maxcontext,实际上使用了MaxcontextMaxnodeMaxhost 中的最大值。 如果限制太低,wildfly 服务器将“争夺”可用上下文,并不断覆盖/更改哪些服务在以下位置实际可见:some.apache.s1/mod_cluster-manager/

    【讨论】:

    • 现在遇到了同样的问题,对我来说,解决方案是将 httpd.conf 中的Maxcontext, Maxnode and Maxhostin 增加到比默认值更高的值,并且我的所有节点都出现在所有上下文中。
    猜你喜欢
    • 2020-01-09
    • 2014-11-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-22
    • 1970-01-01
    • 1970-01-01
    • 2020-10-23
    相关资源
    最近更新 更多