Influxdb Tasks are in scheduled status

Hi guys,

I scheduled my tasks every 2 seconds and the offset is 2second. Initially, it worked fine, every 2 seconds the task started. However, when I came back my office and checked the task, everything was in scheduled status and had not been started yet. Sometimes, it took a long time for one task to start.
I have provided the picture for my task.
Have anyone experienced this? May I please have some advice?
Thank you so much.

Hello @vinh_lee,
I haven’t experienced this. Do you see anything in the logs? Do you have other processes running?
How much data are you querying for each task run?
Are you writing data as well in the task?
I might recommend creating an issue on gh instead. I’m not sure how much Ill be able to help with this.

Hi @Anaisdg,
Thank you for your reply.
Well, I did not see anything in the logs when using “View Logs” button. The server that I used to host influxdb is running telegraf at the same time, and the telegraf will read and store the data every one second.
“How much data are you querying for each task run?”
=> There are some tasks for which I would like to check the status and send notifications. I intentionally check the current status of the data (data will be captured every second) and compare it with the last time a notification was sent in the _notification bucket. Sometimes, there may be no new notifications for 7 days, so I query the notifications with a range of -7 days.

Are you writing data as well in the task?
=> I believe every second I do the checking, I am writing a task to _notification bucket. Other than that, I did not write anything to any new buckets.