-
Notifications
You must be signed in to change notification settings - Fork 54.5k
Closed
Labels
Description
Bug Description
Version: 2.6.3 (also reproduced on 2.4.6, 2.4.8)
Environment: Docker (docker-compose)
Problem:
Task runner process starts and creates zombie processes even when disabled via environment variables.
Environment variables set:
- N8N_RUNNERS_ENABLED=false
- N8N_RUNNERS_MODE=off
But task runner still runs:
node --disallow-code-generation-from-strings ... @n8n/task-runner/dist/start.js
This creates ~30 zombie processes per hour, requiring periodic restarts.
Expected behavior:
Task runner should not start when N8N_RUNNERS_ENABLED=false
To Reproduce
- Set environment variables in docker-compose.yml:
- N8N_RUNNERS_ENABLED=false
- N8N_RUNNERS_MODE=off
- Start n8n container: docker-compose up -d
- Wait 1-2 minutes
- Check running processes: ps aux | grep task-runner
- Task runner is running despite being disabled
- Zombie processes accumulate (~30 per hour)
Expected behavior
Task runner should not start when N8N_RUNNERS_ENABLED=false is set.
No zombie processes should be created.
Debug Info
2.6.3
Operating System
Ubuntu 22.04.5
n8n Version
2.6.3
Node.js Version
v22.22.0
Database
SQLite (default)
Execution mode
main (default)
Hosting
self hosted