/tmp full, can't access some WordPress functionalities

Error lof reports: [STDERR] WordPress database error Disk full (/tmp/#sql_312aa0_0.MAI); waiting for someone to free some space…

when I checked mount volume using df -h command, shows the following:

Filesystem Size Used Avail Use% Mounted on
udev 978M 0 978M 0% /dev
tmpfs 199M 1.1M 198M 1% /run
/dev/vda1 49G 13G 36G 26% /
tmpfs 994M 312K 994M 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 994M 0 994M 0% /sys/fs/cgroup
/dev/vda15 105M 9.2M 96M 9% /boot/efi
/dev/loop1 56M 56M 0 100% /snap/core18/1885
/dev/loop2 71M 71M 0 100% /snap/lxd/16922
tmpfs 199M 0 199M 0% /run/user/0
/dev/loop3 1.5G 1.4G 0 100% /tmp
/dev/loop4 56M 56M 0 100% /snap/core18/1932
/dev/loop7 68M 68M 0 100% /snap/lxd/18150
/dev/loop0 32M 32M 0 100% /snap/snapd/10238
/dev/loop5 32M 32M 0 100% /snap/snapd/10492

So how to clear /tmp


I also have the same!

can you please share df -i details also?

I also had same problem, After several studies I have found this is happening because of gzip compression.

After that I’have turned off gzip compression using OpenLiteSpeed dashboard. Issue will be fix.

Use cloudflare for gzip compression (bolti)

Try this.

1 Like