[plugin][rabbitmq] add output of: rabbitmqctl eval 'rabbit_diagnostics:maybe_stuck().'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Nicolas Bock | ||
Xenial |
New
|
Undecided
|
Nicolas Bock | ||
Bionic |
In Progress
|
Medium
|
Nicolas Bock | ||
Focal |
Fix Released
|
Medium
|
Nicolas Bock | ||
Groovy |
Fix Released
|
Medium
|
Nicolas Bock |
Bug Description
[Impact]
We have seen customer cases where the output of
`rabbit_
debugging the root cause. Automatically collecting this information
will potentially expedite the debugging of rabbitmq-server related
issues.
[Test Case]
Run the rabbitmq plugin on a machine running a rabbitmq broker. On a
fresh Focal install, the output will look like the following:
2020-09-18 12:55:47 There are 257 processes.
2020-09-18 12:55:47 Investigated 1 processes this round, 5000ms to go.
2020-09-18 12:55:47 Investigated 1 processes this round, 4500ms to go.
2020-09-18 12:55:48 Investigated 1 processes this round, 4000ms to go.
2020-09-18 12:55:48 Investigated 1 processes this round, 3500ms to go.
2020-09-18 12:55:49 Investigated 1 processes this round, 3000ms to go.
2020-09-18 12:55:49 Investigated 1 processes this round, 2500ms to go.
2020-09-18 12:55:50 Investigated 1 processes this round, 2000ms to go.
2020-09-18 12:55:50 Investigated 1 processes this round, 1500ms to go.
2020-09-18 12:55:51 Investigated 1 processes this round, 1000ms to go.
2020-09-18 12:55:51 Investigated 1 processes this round, 500ms to go.
2020-09-18 12:55:52 Found 1 suspicious processes.
2020-09-18 12:55:52 [{pid,<10643.1.0>},
ok
In case some Erlang runtime threads are stuck they will show in the
above list.
[Regression Potential]
This function was introduced with rabbitmq-
Xenial upwards. The command would not work on earlier versions of
rabbitmq-server.
[Other Info]
* Upstream commits:
https:/
https:/
[Original Description]
Extend the rabbitmq plugin to include the output of:
sudo rabbitmqctl eval 'rabbit_
This information is useful to get insights of the state of the erlang
virtual machine.
tags: | added: seg |
Changed in sosreport (Ubuntu): | |
assignee: | nobody → Nicolas Bock (nicolasbock) |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu Focal): | |
assignee: | nobody → Nicolas Bock (nicolasbock) |
Changed in sosreport (Ubuntu Bionic): | |
assignee: | nobody → Nicolas Bock (nicolasbock) |
Changed in sosreport (Ubuntu Xenial): | |
assignee: | nobody → Nicolas Bock (nicolasbock) |
Changed in sosreport (Ubuntu Groovy): | |
status: | New → In Progress |
importance: | Undecided → Medium |
tags: | added: sts |
summary: |
- add output of: rabbitmqctl eval 'rabbit_diagnostics:maybe_stuck().' + [plugin][rabbitmq] add output of: rabbitmqctl eval + 'rabbit_diagnostics:maybe_stuck().' |
description: | updated |
description: | updated |
Changed in sosreport (Ubuntu Focal): | |
importance: | Undecided → Medium |
Changed in sosreport (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in sosreport (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Pushed: https:/ /github. com/sosreport/ sos/pull/ 2189