VAR folder is full - Space required

book

Article ID: 242588

calendar_today

Updated On:

Products

Web Isolation

Issue/Introduction

The issue is with the VAR folder itself (screenshot attached).

We have 0% space left on /var

Environment

Release :

Component :

Resolution

To create space in the /var directory, you may utilize the following additional cleanup options:

  • sudo /home/fireglass/development/fireglass/vb/dev_scripts/disk_cleanup.sh; echo ’\’‘cleaning up /var/log’\‘’
  • sudo rm -vf /var/log/fireglass_full.log /var/log/fireglass_watchdogs.log.1 /var/log/fireglass_monit.log.1 /var/log/fireglass.log.1 /var/log/.log..gz; echo ’\’‘cleaning up /var/crash’\‘’
  • sudo rm -f /var/crash/; echo ’\’‘cleaning up trafficserver logs’\‘’; sudo rm -rf /var/log/trafficserver/traffic.out

After running disk cleanup, you might get this kind of error when building common_node:

  • delete docker folders (this can take a while):
    • sudo rm -rf /var/lib/docker

  • restart docker:
    • sudo service docker restart

  • build again with fgdocker and fgdelete:

    • fgdocker && fgdelete && fgbuildall

Attachments