Skip to content

High CPU in rabbitmq  #3161

@xjlixd

Description

@xjlixd

RabbitMQ 3.7.18,Erlang 21.3.8.6.

Firstly,epmd-starter process 3701 is startting,maybe the start-time is 15:11,the command result as follow:
3701 41924 Thu Jun 24 15:11:13 2021 01:56:48 100 52376 /usr/lib64/erlang/erts-10.3.5.4/bin/beam.smp -- -root /usr/lib64/erlang -progname erl -- -home /var/lib/rabbitmq -- -sname epmd-starter-167737917 -noshell -eval halt().

and the command is :
# ps -eo pid,ppid,lstart,etime,pcpu,rss,cmd | grep beam.smp | grep -Ev "grep|rabbit@hcapp-test"

Now , the RabbitMQ's process Id is 40203, its CPU usage is 101.0% .
When I kill the process 3701 ,the CPU usage of RabbitMQ will be work normally.

image

and meanwhile the GC and context switch of Rabbitmq is very high, and the most CPU intensive thread is rabbit_epmd_monitor, the detail info as following image.
i mage

So,I want to how to solve this problem, and the root cause of this phenomenon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions