I got a VPS on Debian and I often tend to run into an issue with disk space. I got a huge error log generated or a huge backup etc and I max out the disk space and that causes mysql to stop working.
How can I limit my vps disk usage to say, 90%? This way even if I max it out the mysql could work properly. I'm not sure I explained it correctly.