Recurring Disk Space Issues Causing Frappe Application Crash

I have a Frappe application deployed on an AWS server.
Recently, the application crashed. Upon investigation, I found that the disk space was completely full.

To resolve the issue, I ran sudo apt-get clean and removed some unused Docker images. After that, the application started working again.

However, when I checked the RQ worker list in the Frappe application, no workers were connected. I investigated further and discovered a large temporary file in the /tmp folder, which I suspected was causing the worker issue.

I deleted the file and restarted the Docker containers. This freed up additional disk space, and the workers were successfully listed again.

This issue is happening regularly. What is the root cause, and how can I prevent it from recurring?

Please help…

Note : Frappe Framework: v15.42.0

Thank you

1 Like