WindmillWWindmill
Powered by
MrOsdevM
Windmill•12mo ago•
42 replies
MrOsdev

Scheduled script stops scheduling after wait for executor

Hi!

We are experiencing some issues on one of our Windmill instances. It runs a few scheduled jobs and for a still unknown reason sometimes the scheduled jobs wait a very long time for an executor. Also sometimes it seems the run time is displayed as a negative number (which i'm guessing may be some sort of overflow due to crazy long wait times).

The jobs do seem to eventually run just fine, even if the run time is broken like that.

The problem is that after such a "broken" job runs, the schedule stops working and no further jobs are scheduled. We are trying to figure out what the cause behind the large executor wait time may be (as the instance is not under heavy load at all and the jobs don't take very long to execute).

I guess the problem consists of two parts
- The long executor wait time for whatever reason (despite the actual worker load being low)
- And the second reason which i want to ask about here: Why does the schedule seem to stop working after a job waits a while for an executor? Is this a known issue or possibly even expected behavior?

Sadly i have not managed to reproduce this issue on another Windmill instance..
image.png
image.png
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Scheduling a script programmatically from a script
GodswillGGodswill / help
8mo ago
Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id
DanDDan / help
10mo ago
Support for passing variables and resources in shell executor
aurelienbrabantAaurelienbrabant / help
3y ago
with concurrent.futures.ThreadPoolExecutor() as executor
Steven MoonSSteven Moon / help
2y ago