'No space left on device' with 72G free on a Circle 2.0 nix build with machine executor


#1

The last command on our builds always hits No space left on device.

The same command runs locally on NixOS and MacOS with no problems.

As recommended on another topic, I used while df -h with ssh to track the available space.
Used value for /dev/sda1 starts at around 6G and ends with 23G:

Filesystem Size Used Avail Use% Mounted on
udev 3.7G 4.0K 3.7G 1% /dev
tmpfs 748M 276K 748M 1% /run
/dev/sda1 99G 23G 72G 25% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 3.7G 0 3.7G 0% /run/shm
none 100M 16K 100M 1% /run/user

#2

I added this steps entry on my build:

  - run:
      name: diagnostics for full disk space on circle
      when: always
      command: |
        set -x
        echo "Disk space taken up by project subfolders"
        du -cs * | sort -n
        echo "Disk we're on"
        df -h .
        echo "All Disks"
        df -h
        echo "inode count"
        df -ih

Still awaiting the results of troubleshooting since it doesn’t happen 100% of the time.


#3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.