django-celery-beat icon indicating copy to clipboard operation
django-celery-beat copied to clipboard

beat long start

Open mszpulak opened this issue 5 years ago • 3 comments

Summary:

Include a brief descrioption of the problem here, and fill out the version info below.

  • Celery Version: 4.4.0
  • Celery-Beat Version: 1.6
  • number of tasks 800

CELERY_TIMEZONE = 'Europe/Warsaw' CELERY_ENABLE_UTC = False

Exact steps to reproduce the issue:

  1. start beat
  2. starting for 7-10 minutes

[2021-01-08 15:34:00,882: INFO/MainProcess] beat: Starting... [2021-01-08 15:34:00,882: INFO/MainProcess] Writing entries... [2021-01-08 15:34:32,666: INFO/MainProcess] DatabaseScheduler: Schedule changed. [2021-01-08 15:34:32,667: INFO/MainProcess] Writing entries... [2021-01-08 15:34:40,186: INFO/MainProcess] Writing entries... [2021-01-08 15:37:40,769: INFO/MainProcess] Writing entries... [2021-01-08 15:40:41,380: INFO/MainProcess] Writing entries...

Detailed information

why there is a flood of queries while starting? it is possible to do some prefeching ?

mszpulak avatar Jan 08 '21 14:01 mszpulak

you are using a very old version, can you use latest pypi release or master?

auvipy avatar Jan 09 '21 14:01 auvipy

Unfortunately I can't. Still stuck on python 2.7. But 1.6 was released just year ago I have also problem with IntervalSchedule. Task are stopped being scheduled after several hour. Cron based tasks are working. fine.

mszpulak avatar Jan 09 '21 15:01 mszpulak

then good luck

auvipy avatar Jan 09 '21 16:01 auvipy