Disk full because of tmpdir, safe to restart

mariadb

My disk is full, an .MAD file in tmpdir takes up all the space on the file system (179G out of 189G)

from log:

[Warning] mysqld: Disk is full writing '/var/tmp/#sql_b6f_0.MAD' (Errcode: 28). Waiting for someone to free space

Can I stop mariadb, or do I need to free some space first and then stop it?

Best Answer

I was able to do a service mysqld stop and that deleted the files in tmpdir, that solved the problem....

Related Topic