Utilizing Multiple CPU Cores for Single Instance

I recently run into some performance issues on n8n. Some workflow might cause a single CPU core runs up to 100% utilization and the whole n8n GUI will just hang there. Cannot do anything, even to stop the workflow, until I restart the n8n container.

Just checked out the “Execution Mode” documentation. It looks like the “own” mode is already deprecated and “Queue” is for multiple n8n instances. I’m wondering if there is any solution for us to utilize multiple cores on a single n8n instance?

Current n8n setup

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

HI @BeStill

I don’t think there is an option for that. That is the reason why I am starting to move more of environments I manage to queue mode. When using docker you can easily create multiple containers on the same server to utilize more of it’s resources, so luckily it isn’t too big of a deal.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.