Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

113
Vistas
Celery beat sometimes stops working

I'm using latest stable Celery (4) with RabbitMQ within my Django project.

RabbitMQ is running on separate server within local network. And beat periodically just stops to send tasks to worker without any errors, and only restarting it resolves the issue.

There are no exceptions in worker (checked in logs & also I'm using Sentry to catch exceptions). It just stops sending tasks.

Service config:

[Unit]
Description=*** Celery Beat
After=network.target

[Service]
User=***
Group=***
WorkingDirectory=/opt/***/web/
Environment="PATH=/opt/***/bin"
ExecStart=/opt/***/bin/celery -A *** beat --max-interval 30

[Install]
WantedBy=multi-user.target

Is it possible to fix this? Or are there any good alternatives? (Cron seems to be not a best solution).

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Your description sounds a lot like this open bug: https://github.com/celery/celery/issues/3409

There are a lot of details there, but the high-level bug description is that if the connection to RabbitMQ is lost that it's unable to regain the connection.

Unfortunately, I can't see that anyone has definitely solved this issue.

You could start by debugging this using this:

ExecStart=/opt/***/bin/celery -A *** beat --loglevel DEBUG --max-interval 30
about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda