Question

How to fix Disk full issue?

We got this message on our website:

Warning : mysqli_query(): (HY000/1021): Disk full (/tmp/#sql-temptable-38c-1378a-817.MAI); waiting for someone to free some space… (errno: 28 “No space left on device”) in /var/www/html/wp-includes/class-wpdb.php on line 2187


Submit an answer


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.

alexdo
Site Moderator
Site Moderator badge
November 20, 2022

Hello @yasirclam

As I can see that you’re running a WordPress site, I’ll recommend you make sure that you’re not running local backups with plugins like backupress or backupbuddy as this will “eat” the disk space out.

Also if you’re using a cache plugin the generated cache may consume a big chunk of the available disk space.

You can check this question that was previously asked in our community. Bobby’s answer is top notch

https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.