Replies: 5 comments 2 replies
-
|
Hello @lahok! I'm Dosu, here to help you solve bugs, answer questions, and become a contributor while you wait for a human maintainer. Let's tackle that task executor error together! The error message indicates that the task executor is unable to start due to an "OSError: [Errno 12] Cannot allocate memory." This suggests that the system is running out of memory when trying to execute the Here are a few steps you can take to address this issue:
By addressing these areas, you should be able to resolve the memory allocation issue and get the task executor running. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
|
same problem. vm.max_map_count=262144 has set help~ |
Beta Was this translation helpful? Give feedback.
-
|
I’m still encountering a critical memory allocation error when starting RagFlow via Docker Compose, even after following the recommended memory optimization steps. The error persists in task_executor.py during faulthandler.enable():
This error blocks RagFlow from starting entirely, and I’ve exhausted basic memory troubleshooting steps with no success. |
Beta Was this translation helpful? Give feedback.
-
|
0.19.0
|
Beta Was this translation helpful? Give feedback.
-
|
I’m not the only one who hit this—setting the env var PYTHONFAULTHANDLER: "0" fixed it for me. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
What is the reason why the task executor cannot start? The same Docker configuration works fine on a different computer, but this error is reported on this computer. Where is this configuration issue?
ragflow-server | * Running on all addresses (0.0.0.0)
ragflow-server | * Running on http://127.0.0.1:9380
ragflow-server | * Running on http://172.21.0.6:9380
ragflow-server | 2025-04-25 16:12:43,515 INFO 21 Press CTRL+C to quit
ragflow-server | Traceback (most recent call last):
ragflow-server | File "/ragflow/rag/svr/task_executor.py", line 738, in
ragflow-server | faulthandler.enable()
ragflow-server | OSError: [Errno 12] Cannot allocate memory
Gracefully stopping... (press Ctrl+C again to force)
Beta Was this translation helpful? Give feedback.
All reactions