You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

ejabberd集群中xmpp1、xmpp4节点执行ejabberdctl debug时控制台终止问题排查求助

ejabberd集群中xmpp1、xmpp4节点执行ejabberdctl debug时控制台终止问题排查求助

各位好,我这边遇到一个ejabberd集群的问题,想请大家帮忙排查下:

我们有一个由4个ejabberd节点组成的集群,节点名称是xmpp1到xmpp4。其中xmpp2和xmpp3节点执行ejabberdctl debug命令时能正常调出交互式控制台,但xmpp1和xmpp4这两个节点执行该命令时,进程直接终止,无法进入debug控制台。

先给大家说明下我们的环境信息:

  • ejabberd版本:22.05
  • Erlang/OTP版本:25
  • 操作系统:Ubuntu 18.04 LTS
  • 安装方式:源码编译安装

下面是xmpp4节点上的相关命令执行输出:

节点状态检查

ejabberd@xmpp4:~$ ejabberdctl status
The node 'ejabberd@xmpp4.gims' is started with status: started
ejabberd 22.05 is running in that node

集群节点列表

ejabberd@xmpp4:~$ ejabberdctl list_cluster
'ejabberd@xmpp4.gims'
'ejabberd@xmpp2.gims'
'ejabberd@xmpp3.gims'
'ejabberd@xmpp1.gims'

ejabberdctl debug执行错误输出

ejabberd@xmpp4:~$ ejabberdctl debug
--------------------------------------------------------------------
IMPORTANT: we will attempt to attach an INTERACTIVE shell
to an already running ejabberd node.
If an ERROR is printed, it means the connection was not successful.

You can interact with the ejabberd node if you know how to use it.
Please be extremely cautious with your actions,
and exit immediately if you are not completely sure.

To detach this shell from ejabberd, press:
control+c, control+c
--------------------------------------------------------------------
To bypass permanently this warning, add to ejabberdctl.cfg the line:
EJABBERD_BYPASS_WARNINGS=true

Press return to continue

Erlang/OTP 25 [erts-13.1.4] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit:ns]

*** ERROR: Shell process terminated! (^G to start new job) ***
BREAK: (a)bort (A)bort with dump (c)ontinue (p)roc info (i)nfo
(l)oaded (v)ersion (k)ill (D)b-tables (d)istribution
^C

目前我们已经排除了资源限制的问题:服务器有足够的RAM可用,文件打开数也已经设置为较高的值。

想请教下大家,有没有什么排查思路或者解决建议,能帮我们找出debug进程终止的原因?

备注:内容来源于stack exchange,提问作者abby murali

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 13:18:03