[Questions] Api is very slow after stop one node from 3-nodes cluster #12715
Replies: 4 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Some endpoints serve 70+ or so metrics, e.g. This and not "API slowness" is usually the key aspect. Use pagination just like the management UI itself does or request metrics of a specific queue. |
Beta Was this translation helpful? Give feedback.
-
We won't guess as to what endpoint, and with what kind of topology, is slow for you. Either provide an executable way to reproduce (with obfuscated/dummy data but a comparable number of queues, streams, bindings, and so on), or we won't be able to help even with 4.0.x. On Linux, our approach to profiling has been documented for years (and before the blog post, elsewhere such as RabbitMQ Summit talks). |
Beta Was this translation helpful? Give feedback.
-
Hi, i saw this problem only when i stopped one node with any api endpoint /api/overview /api/nodes/ etc. When all 3 nodes is up API and GUI works quickly. Ok. I will try after upgrade on ver 4.0. |
Beta Was this translation helpful? Give feedback.
-
Community Support Policy
RabbitMQ version used
3.13.7
Erlang version used
26.1.x
Operating system (distribution) used
RHEL9
How is RabbitMQ deployed?
RPM package
rabbitmq-diagnostics status output
See https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
Logs from node 1 (with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 2 (if applicable, with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.conf
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster
RabbitMQ is installed from RHEL REPO
yum install rabbitmq
Steps to reproduce the behavior in question
All three nodes is online.
I stopping node3 by
systemctl stop rabbitmq
HTTPS api is currently very slow, about 50sek to display data.
I don't see any warning and problems in RabbitMQ logs.
When I started node3 API is responsive and show data immediately.
advanced.config
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
Application code
Kubernetes deployment file
What problem are you trying to solve?
When I started node3 API is responsible and show data immediately.
Beta Was this translation helpful? Give feedback.
All reactions