-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After executing a large number of tasks, the CPU of the worker container and api container remains highly occupied. #12496
Comments
Hey @dyyTT! I'm here to help you with any bugs, questions, or contributions you have for Dify. Just tag me if you need assistance! High CPU usage in Dify's worker and API containers can be caused by several factors, especially when processing a large number of tasks. Here are some potential solutions and optimizations you can consider:
These steps should help in managing and reducing the CPU usage of your Dify containers. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
But why does the CPU usage remain high even after all the tasks have been completed? |
High CPU usage after task completion in Dify could be due to several factors:
Review these areas to identify and address the cause of high CPU usage after task completion. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Why does the CPU usage of Gunicorn remain high even after a large number of API requests have ended? |
High CPU usage by Gunicorn after API requests have ended can be due to several factors:
Review these areas to identify potential causes and adjust configurations to reduce CPU usage. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Self Checks
Dify version
0.13.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After executing a large number of tasks, the CPU of the worker container and api container remains highly occupied.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: