The execution was started 3 days ago, but still in the processing status. Attempted to restart the server, but the process is still stuck in that state and I am unable to create new processes, as they go into waiting status. How do I clear them?
Summary
User is experiencing an issue where function executions are stuck in the 'processing' state. They attempted to restart the server but the problem persists. Other executions in the queue may have also become ghost executions. The solution is to upgrade to version 1.3.x, as it fixes the problem with queues being cleared after restart. The user also mentions that they didn't try running another execution and asks how to clear the waiting status for new processes.
krunchy
Rank 2: Process
Apr 21, 2023, 19:06
v1.2.1
Drake
Admin
Apr 21, 2023, 19:08
Attempted to restart the server, but the process is still stuck in that state
It's probably a ghost execution now and not processing.
Anything in your appwrite-worker-functions logs?
krunchy
Rank 2: Process
Apr 21, 2023, 19:14
just that it started
Drake
Admin
Apr 21, 2023, 19:29
how are you creating new executions? have you created a new execution since restarting?
krunchy
Rank 2: Process
Apr 21, 2023, 19:31
Ah. I should have tried another execution. I saw those ones with waiting status and I didn't think to run another.
krunchy
Rank 2: Process
Apr 21, 2023, 19:32
we can close this. Thanks.
Drake
Admin
Apr 21, 2023, 19:34
ya unfortunately, those other waiting ones may have become ghost executions too if they were in the queue and now the queue is cleared (due to the restart). 1.3.x fixes a problem with queues being cleared after restart