1

I got a message that I am running out of space, so I did du -h and figured that the /var folder was taking 176 GB space! I cleared away all the .gz (gzipped files) but still no improvement!

enter image description here

Lorenz Keel
  • 8,905

1 Answers1

0

Your du output shows that the space is occupied by files in /var/log itself, not in some subdirectory.

The next step would be to check that directory for excessively big files. This is most easily done by the command

ls -lS | head

which shows the nine biggest files in the directory in descending order.

If that doesn't solve the riddle yet then you can run the tail command on the biggest one to see its last ten lines. These will very probably include one or more specimens of the message that's filling your disk.

Tilman
  • 3,599
  • 21
  • 27