title: cannot create temp file for here-document: No space left on device
body: <p>i have a digital ocean Ubuntu server, two days ago every page in my website gives me error 500, </p>
  
  <p>in ssh i got this error message "No space left on device",</p>
  
  <p><a href="https://i.stack.imgur.com/Tv1ld.png" rel="noreferrer">For more info please check this SSH screenshot</a>
  <br /><br />
  so i restore backup and the server and website works fine now, but it will happen again in near future</p>
  
  <p>and this is the current server status</p>
  
  <pre><code>root@****:~# df -k
  Filesystem     1K-blocks     Used Available Use% Mounted on
  udev             4077544        4   4077540   1% /dev
  tmpfs             817680      340    817340   1% /run
  /dev/vda1       82436784 34630128  43596088  45% /
  none                   4        0         4   0% /sys/fs/cgroup
  none                5120        0      5120   0% /run/lock
  none             4088392        0   4088392   0% /run/shm
  none              102400        0    102400   0% /run/user
  root@****:~# df -i
  Filesystem      Inodes   IUsed   IFree IUse% Mounted on
  udev           1019386     402 1018984    1% /dev
  tmpfs          1022098     319 1021779    1% /run
  /dev/vda1      5242880 5014058  228822   96% /
  none           1022098       2 1022096    1% /sys/fs/cgroup
  none           1022098       5 1022093    1% /run/lock
  none           1022098       1 1022097    1% /run/shm
  none           1022098       2 1022096    1% /run/user
  root@****:~# df -h
  Filesystem      Size  Used Avail Use% Mounted on
  udev            3.9G  4.0K  3.9G   1% /dev
  tmpfs           799M  340K  799M   1% /run
  /dev/vda1        79G   34G   42G  45% /
  none            4.0K     0  4.0K   0% /sys/fs/cgroup
  none            5.0M     0  5.0M   0% /run/lock
  none            3.9G     0  3.9G   0% /run/shm
  none            100M     0  100M   0% /run/user
  root@****:~# ls /tmp/
  root@****:~# fdisk -l
  
  WARNING: GPT (GUID Partition Table) detected on '/dev/vda'! The util fdisk doesn't support GPT. Use GNU Parted.
  
  
  Disk /dev/vda: 85.9 GB, 85899345920 bytes
  255 heads, 63 sectors/track, 10443 cylinders, total 167772160 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x00000000
  
     Device Boot      Start         End      Blocks   Id  System
  /dev/vda1               1   167772159    83886079+  ee  GPT
  </code></pre>
  
  <p>Thanks in advance </p>