Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

110
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda