Full available concurrency not being used

Describe the problem/error/question

Hi all, I’m running n8n in standard mode with a concurrency limit set to 50 (N8N_CONCURRENCY_PRODUCTION_LIMIT=50). However, the workflow seems to only run up to 10 executions concurrently, even though the throughput is much higher.

Wondered if there was a max cap because of one of the nodes I’m using? Or a different environment variable I’m missing.

What is the error message (if any)?

There is no error message; it just appears that the full available concurrency is not being utilized.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.81.4
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Ubuntu 22.04

hello @trRad23

So what is the issue? The message looks as a warning…

Hi @barn4k, thanks for the quick reply.

The message is purely informational; it’s simply confirming that the limit for concurrent executions is set to 50, which is correct since I configured it using the environment variable N8N_CONCURRENCY_PRODUCTION_LIMIT.

The issue is that, even when I trigger the MQTT node with 50+ requests simultaneously, I’m unable to fully utilize the available concurrency. The current active executions never exceed 10, whereas I would expect them to reach 50.

That one may relate to the MQTT node limitation.

If you will set another MQTT trigger, will your executions reach the amount of 20?

Same setup here with N8N_CONCURRENCY_PRODUCTION_LIMIT=80 and it only shows 10 in the execution screen. I am certain I have an external system hitting carder that 10 and these take around 30 seconds to finish. Not sure if 1) the execution screen is the one that lags behind (because i seldom see queued executions in the execution screen) or 2. it is really only letting 10 concurent executions running simultaneously.

Can anybody give us ideas on how to validate this?

Ok, it looks like this is a frontend issue where only up to 10 executions are displayed, but it doesn’t seem to affect actual concurrency.

In the execution_entity table, I can see the correct number of executions with the status ‘running’, which correctly aligns with the N8N_CONCURRENCY_PRODUCTION_LIMIT setting.

I would also hazard a guess at the cause:

n8n/packages/frontend/editor-ui/src/stores/execution.store.ts

image

When fetching executions it looks like the limit is set as 10. Therefore you never see a count higher than ‘10’ in the active executions tooltip, e.g:

I have raised a bug report

1 Like