E
E
Elios2016-05-10 23:19:05
PHP
Elios, 2016-05-10 23:19:05

How to ensure the stability of the RabbitMQ + Supervisor + PHP bundle?

I noticed that in this bundle the demons do not process the queue, although they are shown as working in the Supervisor status.
Is there any way to guarantee the processing of the queue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2016-05-11
@zoonman

Processes in supervisord have multiple states. If your workers are written correctly, they should attach to the queue server and receive tasks. Add logging to the workers and enable logging in supervisord, monitor the state in which the processes are. Most likely, your workers are not receiving tasks because they are in some kind of state where they cannot receive them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question