Hello ERPNext Community,
I am experiencing high CPU usage on my ERPNext server, particularly with wkhtmltopdf and worker processes. This issue has been persistent and occurs every day. Below are the details of my setup and the troubleshooting steps I have already taken:
Server Details:
- ERPNext Version: 14
Issue Description:
When I run htop
, I observe that several wkhtmltopdf
processes and worker processes are consuming a significant amount of CPU and memory. This is causing performance issues on the server. Here is a screenshot of the htop
Troubleshooting Steps Taken:
- Analyzed the resource usage using
htop
. - Ensured that ERPNext and all dependencies are up-to-date by running
bench update
. - Reviewed and optimized the ERPNext configuration in
common_site_config.json
andsite_config.json
. - Checked MySQL performance and optimized the database.
- Monitored Redis performance.
- Reviewed scheduled jobs and worker configurations.
Despite these efforts, the issue persists. I would appreciate any advice or suggestions from the community to help resolve this issue.
Thank you in advance for your help!
Best regards,
Rasool