90% CPU 'Iowait - Waiting for I/O to complete'

Node_Exporter is reporting 90% CPU use by ‘Iowait - Waiting for I/O to complete’. Any ideas where to go next to diagnose this further. The Droplet is CPU-Optimised Dedicated CPU 2vCPUs 4GB 25GBHDD 4TB IO $40/mo. It’s running Docker containers for postgres, ClickhouseDB, Django, certbot, nginx, multiple GoLang, Grafana, Prometheus

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Turns out it was a corrupt table in Postgres. Diagnosed by turning off various parts of the system while watching the IO chart closely. Then turning them back on. Solution delete and re-create the offending table. And thanks KFSys for the advice too. I may well split out some of the containers onto other droplets.

Site Moderator
Site Moderator badge
July 2, 2022

Hi @nickthorne,

I’ve never had such an issue however it seems to me like your CPU Utilization is pretty high. This means you are using more than 80 % of CPU Util with that in mind I think the best solution would be an upgrade.