Spawn Error

When things doesn't work as they should.
Post Reply
Krzysztof
Posts: 10
Joined: Wed Aug 22, 2018 11:28 am

Spawn Error

Post by Krzysztof » Sun Jan 20, 2019 8:23 pm

Hello all,

Do you have an idea how can I fix a problem with the spawn error in Supervisor (CentOS 7)? I'm running out of ideas to solve the issue.

# supervisorctl restart all
mayan-gunicorn: started
mayan-worker-medium: ERROR (spawn error)
mayan-worker-slow: ERROR (spawn error)
mayan-worker-fast: started
mayan-celery-beat: started

# tail -f /var/log/supervisor/supervisord.log
2019-01-20 19:53:28,811 INFO exited: mayan-worker-medium (exit status 0; not expected)
2019-01-20 19:53:28,818 INFO gave up: mayan-worker-medium entered FATAL state, too many start retries too quickly
2019-01-20 19:53:28,819 INFO exited: mayan-worker-slow (exit status 0; not expected)
2019-01-20 19:53:29,820 INFO gave up: mayan-worker-slow entered FATAL state, too many start retries too quickly

# supervisorctl status
mayan-celery-beat RUNNING pid 64874, uptime 0:08:38
mayan-gunicorn RUNNING pid 64875, uptime 0:08:38
mayan-worker-fast RUNNING pid 64873, uptime 0:08:38
mayan-worker-medium FATAL Exited too quickly (process log may have details)
mayan-worker-slow FATAL Exited too quickly (process log may have details)

Best regards,
Krzysztof

Krzysztof
Posts: 10
Joined: Wed Aug 22, 2018 11:28 am

Re: Spawn Error - Solved

Post by Krzysztof » Mon Jan 21, 2019 10:37 am

Hello all,

I solved the problem by deployment with RabbitMQ as the message broker.
Greetings to everyone who has taken the trouble to think about the issue.

2019-01-21 09:52:00,765 INFO success: mayan-gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-21 09:52:10,423 INFO success: mayan-worker-slow entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2019-01-21 09:52:10,423 INFO success: mayan-worker-medium entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2019-01-21 09:52:10,423 INFO success: mayan-worker-fast entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2019-01-21 09:52:10,423 INFO success: mayan-celery-beat entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

Best regards,
Krzysztof

Post Reply