flower icon indicating copy to clipboard operation
flower copied to clipboard

Only one task listed on the tasks dashboard

Open IlianIliev opened this issue 9 years ago • 14 comments

In some weird cases flower lists only one task on the '/tasks'. There are no JS errors in the console or anything that indicates broken web part. However every time when I reload the page I see different task so there should be more than one task displayed. Not sure how to reproduce the issue thought.

IlianIliev avatar Sep 01 '16 08:09 IlianIliev

+1 faced with the same issue, nothing in the logs

lbchv avatar Sep 14 '16 07:09 lbchv

+1 restarting the service seems to solve it but only temporarily

AdrianLC avatar Sep 21 '16 08:09 AdrianLC

Same issue here. I'm also only getting one task from /api/tasks. Guessing that is related.

km-pg avatar Nov 18 '16 17:11 km-pg

+1

Pandorin avatar Nov 24 '16 09:11 Pandorin

I noticed that this issue appears when we deploy our app and celery service restarts ss 2016-11-28 at 11 11 36

lbchv avatar Nov 28 '16 20:11 lbchv

Issue is reproduced in the following case:

  1. reach flower max_tasks (by default 10000)
  2. restart celery

lbchv avatar Nov 29 '16 08:11 lbchv

I'm also able to reproduce like that. I reduced max_tasks to 10 and added a do-nothing periodic task with celery beat to run every 100,000 microseconds to make it easier to test.

km-pg avatar Nov 29 '16 20:11 km-pg

+1 this is number one priority for me at the moment

iliadmitriev avatar Jan 27 '17 22:01 iliadmitriev

Is this issue still active? I see a weird behavior where tasks stop updating in the UI, and the workers all show offline, but the UI is still "working" and the api still seems to work and tasks are still running on the workers. Not sure if it's the same issue?

johnarnold avatar Oct 02 '17 19:10 johnarnold

This issue should still be active. I am experiencing this bug currently.

wmturner avatar Mar 12 '18 02:03 wmturner

as @AdrianLC said, restart kill -SIGINT pid can temporarily solve it.

lovemyliwu avatar Jun 01 '18 03:06 lovemyliwu

I'm having the same issue, and a bunch of others. It's a shame that the best celery monitoring tool breaks down after mere 10000 tasks.

kennethjiang avatar Nov 17 '19 02:11 kennethjiang

We're facing the same issue too. Does anyone have any solutions yet?

After running Flower for a while on Prod, the number of messages exceeds far from the default max_tasks config(200k succeeded messages compares to 10k), Flower show only ONE latest processed task.

prd-hai-huynh avatar Dec 02 '20 04:12 prd-hai-huynh