Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue was blocked by incompleted tasks and disappeared workers #12367

Open
heroygt opened this issue Dec 25, 2024 · 3 comments
Open

Queue was blocked by incompleted tasks and disappeared workers #12367

heroygt opened this issue Dec 25, 2024 · 3 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@heroygt
Copy link

heroygt commented Dec 25, 2024

Bug Description

This kind of tasks block queue, I don't know where are they come from or how to reproduce. However, It was happened after 2 of 3 workers disappear. So I suspect they were working on the disappear workers and will never complete. But I don't know why the queue can be blocked by them.

image

To Reproduce

I have no idea

Expected behavior

I set timeout, it won't work. I expected queue will not be block by any incompleted tasks.

Operating System

Unbuntu 22.04

n8n Version

1.72.2

Node.js Version

20.15.0

Database

PostgreSQL

Execution mode

queue

@Joffcom
Copy link
Member

Joffcom commented Dec 25, 2024

Hey @heroygt,

We have created an internal ticket to look into this which we will be tracking as "N8N-8008"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Dec 25, 2024
@MarcL
Copy link
Contributor

MarcL commented Jan 7, 2025

Hey @heroygt,

Have you had this happen again?
We're unsure how to reproduce this issue.

Thanks.

@heroygt
Copy link
Author

heroygt commented Jan 9, 2025

Hey @heroygt,

Have you had this happen again? We're unsure how to reproduce this issue.

Thanks.

Better now, after I increased the N8N_CONCURRENCY_PRODUCTION_LIMIT upto 200 instead of 20. But the executions still show "Queued" some times, I haven't figured out the bottleneck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

3 participants