When I use the iteration node in a Dify workflow, it runs normally if I choose serial mode. However, when I use parallel mode, it returns error: timeout error: sohnal: killed, and neither the input nor the output is displayed. #34987
Replies: 3 comments 8 replies
|
This is the same issue that was reported and resolved earlier in this very discussion thread by @jiangpeng663. The Here's what to configure in your plugin_daemon:
environment:
PLUGIN_MAX_EXECUTION_TIMEOUT: 1200
PLUGIN_DAEMON_TIMEOUT: 1200
PYTHON_ENV_INIT_TIMEOUT: 320You should also increase the sandbox worker capacity in max_workers: 8
worker_timeout: 15After making changes, restart with If the issue persists, you could also try reducing the parallelism in your iteration node or splitting the workload into smaller batches. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
|
This is a known issue in Dify v1.13.x when using parallel mode in iteration nodes. The root cause is that the When a node inside the iteration tries to access the database or model configurations (e.g. loading LLM provider settings), it needs Workaround for now: Switch to sequential mode for iteration nodes that involve LLM calls or database access. Tracking: This is tracked in issue #34511. The root cause was introduced when the graph engine was externalized into the A proper fix needs to happen in the |
|
FYI this is also happening to me in dify 1.16.1 - when I use parallel/threaded mode, it sometimes errors out with a timeout |
Uh oh!
There was an error while loading. Please reload this page.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
When I use the iteration node in a Dify workflow, it runs normally if I choose serial mode. However, when I use parallel mode, it returns error: timeout error: sohnal: killed, and neither the input nor the output is displayed.
2. Additional context or comments
No response
All reactions