How to debug huge amount of node processes

Describe the issue/error/question

as soon as i start the n8n container, it gernates ~ 50 node.js processes weach running a WorkflowRunnerProcess.js
How can i debug it ?
I dont find a thing in the eventlog

What is the error message (if any)?

Information on your n8n setup

  • n8n version: Custom build, commit 0004dc7ee8718eedcddd3b4054d55eea6a07111a
  • Database you’re using (default: SQLite)SQLite:
  • Running n8n with the execution process [own(default), main]:main
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]:docker

Hi @Martin_Forster, this seems rather unusual. Are you by any chance looking at multiple threads of the same process? If you are using htop for example, you might want to enter uppercase H to show only the main process rather than each thread.

For example, when running docker run -it --rm -e EXECUTIONS_PROCESS=main -p 5678:5678 n8nio/n8n:0.222.1 this would be the default htop output (filtered for n8n):

This would be the same machine after pressing H:

Instead of the above you might find it easier to use docker ps:

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