On the server with Ubuntu hosted site. Once every two weeks stably falls with an error
SQLSTATE [HY000]: General error: 1 Can't create / write to file '/tmp/#sql_3f0_0.MYD' (Errcode: 28)
I understand that the folder / tmp is clogged. And restarting the VPS does not help. Only rm -r /tmp .
Can you somehow regulate this behavior to prevent the site from falling?
root@185:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda3 29G 21G 6.1G 78% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 492M 4.0K 492M 1% /dev tmpfs 101M 384K 100M 1% /run none 5.0M 0 5.0M 0% /run/lock none 501M 0 501M 0% /run/shm none 100M 0 100M 0% /run/user /dev/xvda1 190M 184M 0 100% /boot root@185:/home/admin# df -h tmp Filesystem Size Used Avail Use% Mounted on /dev/xvda3 29G 21G 6.1G 78% / root@185:/home/admin# from comment:
$ stat -c '%A' /tmp drwxrwxrwx
$ stat -c '%A' /tmp? - aleksandr barakin