Title: Python Node Consistently Returns "-500 no space left on device" Error with Simple Data Processing #34344
Replies: 1 comment
-
|
Hi @chihtsenhuang-cpu! I'm Dosu and I’m helping the dify team. This is a known sandbox infrastructure issue — the Your analysis is correct: with ~383 characters of input and straightforward list operations, this is purely a disk exhaustion problem on the sandbox container. There are actually two other issues open today reporting the same thing on Dify Cloud: #34346 and #34347. Since you're on Dify Cloud, your options are unfortunately limited — you can't access the sandbox container to clear temp files yourself. This needs to be addressed by the Dify infrastructure team. Reducing workflow execution frequency may help as a temporary measure, but it won't fully resolve the issue. For anyone running self-hosted Dify hitting the same error, there are a few workarounds:
It's worth noting that the Dify codebase currently has no built-in automatic cleanup for sandbox temp files — this is an unresolved gap. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Description
I'm experiencing a persistent error in Dify's cloud version where Python nodes fail with
-500 no space left on deviceduring simple data processing operations. The error occurs reliably even with minimal input data and straightforward code logic.Error Message
Input Data Sample
{ "arr1": [ { "metadata": { "_source": "knowledge", "dataset_id": "e53c7839-bb13-4da0-a5f0-dfd414bf9cb5", "dataset_name": "勞動法規與施行細則", "document_id": "3ec38e0c-fd2d-4b6c-9f30-e4e95085ee4c", "document_name": "勞工保險條例_formatted.txt", "data_source_type": "upload_file", "segment_word_count": 383 }, "title": "勞工保險條例_formatted.txt", "content": "【文件】勞工保險條例\n【條號】第6條...[383 characters total]" } ], "arr2": [], "arr3": [] }Python Node Code
Steps to Reproduce
Observations
Environment
Expected Behavior
The Python node should process the input arrays and return a dictionary with tagged results.
Actual Behavior
Consistently fails with
-500 no space left on deviceerror before completing execution.Additional Context
This appears to be a sandbox container issue (
/var/sandbox/sandbox-python/tmp) rather than a code logic problem, as:Would appreciate assistance in diagnosing whether this is a temporary resource issue or a configuration problem with the Python sandbox environment.
Beta Was this translation helpful? Give feedback.
All reactions