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
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.

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