I was triggering executions watching a folder, but the workflow ended up creating hidden files as part of the workflow in the same folder and so an infinite loop occured. N8N started getting slower and slower and when i finally became unresponsive I restarted it and noticed about 25k executions were attempted. After disabling the workflow and clearing out most of the logs, im left with 10 Executions in the list which are still “Starting Soon”:
When restarting n8n I noticed this error in the logs, it does seem related to my issue. Do you think this qualifies as a bug report?
Found executions without executionData
Error: Found executions without executionData
at ExecutionRepository.reportInvalidExecutions (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@n8n+db@file+packages+@n8n+db_@[email protected][email protected][email protected]_@aws-sdk_01aaf5c79cfea48cc4aafead892992d1/node_modules/@n8n/db/src/repositories/execution.repository.ts:221:4)
at ExecutionRepository.findMultipleExecutions (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@n8n+db@file+packages+@n8n+db_@[email protected][email protected][email protected]_@aws-sdk_01aaf5c79cfea48cc4aafead892992d1/node_modules/@n8n/db/src/repositories/execution.repository.ts:187:9)
at ExecutionService.findAllEnqueuedExecutions (/usr/local/lib/node_modules/n8n/src/executions/execution.service.ts:413:10)
at Start.runEnqueuedExecutions (/usr/local/lib/node_modules/n8n/src/commands/start.ts:379:22)
at Start.run (/usr/local/lib/node_modules/n8n/src/commands/start.ts:326:4)
at Start._run (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/command.js:302:22)
at Config.runCommand (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/config/config.js:424:25)
at run (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/main.js:94:16)
at /usr/local/lib/node_modules/n8n/bin/n8n:71:2
I have stable version 1.106.3. I haven’t been able to figure out what caused the three executions to queue. But what I did to stop them from appearing was update it directly from the database.
UPDATE execution_entity
SET status=‘failed’
WHERE status IN (‘waiting’, ‘running’);