Question

Full disk causes database error?

Posted August 23, 2021 99 views
Databases

Unsure what has happened here. Our servers disk hit 100% usage because of a number of large image files on the server. I increased the capacity of the server so it should now have space, but any time I try to access the site I’m getting a Database Error that is suggesting the database server is down.

When checking the statistic graphs on digital ocean I see ‘no data’ for disk usage, memory, cpu etc for the last 24 hours. It seems like the data just cut off the second it hit 100% disk usage. Is there anything else I need to do after resizing? The droplet is turned on.

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.

×
Submit an Answer
1 answer

I increased the capacity of the server

How did you increase the capacity of storage? Via Volumes or Spaces? Or via the usual “Resize” feature in your droplet?

Also, what database are you using? If MySQL, I’ve had issues with MySQL not starting recently because it’s choked up itself through binlog files.

You might wanna check that too.

  • via the resize feature yes.

    I since found that it failed to actually resize the disk and it was still 100% capacity. Having fixed that i’ll take a look at your suggestion and also do a simple restart of mysql

    thanks