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

N8N Workers die every few hours #11802

Open
Foreignpay opened this issue Nov 19, 2024 · 6 comments
Open

N8N Workers die every few hours #11802

Foreignpay opened this issue Nov 19, 2024 · 6 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@Foreignpay
Copy link

Bug Description

I have 3 webhooks running, 1 master and 10 vorkers. The 10 workers are on a separate server and connected to the master using Docker Swarm.
The server where the Workers are located has 16 cores and 16GB of RAM allocated. Containers have a limit of 1.5 GB of RAM, the parallelism value is standard, equal to 10.
1-2 times a day (or at night) there is an abnormal spike in resource consumption, a queue starts to appear, which can't go through (we have to delete it through the database). A screenshot from Grafana is attached.
After reloading all Workers - everything comes back to normal.
What can be done about it? This is a critical bug because of which the team is thinking of moving to Python.

To Reproduce

We don't know.

We don't notice overload on the server or on the database. We don't see any regularity, but it most often happens in the evening and at night.

The load from the outside does not increase in this case.in the database. It doesn't happen regularly

Expected behavior

I really want stability and no glitches like this.

Operating System

Ubuntu Linux 22.04

n8n Version

1.67.1 (we tried a lot of different versions since 1.60)

Node.js Version

Docker

Database

PostgreSQL

Execution mode

queue

@Joffcom
Copy link
Member

Joffcom commented Nov 19, 2024

Hey @Foreignpay,

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

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Nov 19, 2024
@Joffcom
Copy link
Member

Joffcom commented Nov 19, 2024

Hey @Foreignpay

Are you reporting a bug or trying to raise a support issue?

@Foreignpay
Copy link
Author

Снимок экрана 2024-11-19 в 23 51 10

A screenshot from Grafana is attached.

@Foreignpay
Copy link
Author

Hey @Foreignpay

Are you reporting a bug or trying to raise a support issue?

It seems like a bug. We have not found any explanation for this, and only a reboot helps.

@netroy netroy changed the title [VERY IMPORTANT!] N8N Workers die every few hours N8N Workers die every few hours Nov 19, 2024
@netroy
Copy link
Member

netroy commented Nov 19, 2024

This sounds like you have an active workflow that's causing it.
Would it be possible for you to try disabling workflows in batches to narrow down the workflow causing this?

@Foreignpay
Copy link
Author

Idk, because we provide acquiring services.
It's too hard to disable it.

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