/var: filesystem full (/var/db/collectd/rrd/localhost/df)

Status
Not open for further replies.

rico

Dabbler
Joined
Dec 8, 2011
Messages
18
My Freenas-based fileserver stopped serving the other day. I couldn't get into it with the browser nor with the serial port, and didn't have ssh enabled, so I had to reboot it (as far as I know, anyway).

When it came back up, I saw this via dmesg:

Dec 4 15:21:03 freenas kernel: pid 2190 (lighttpd), uid 80 inumber 5228 on /var: filesystem full

I double-checked:

freenas# df -h /var
Filesystem Size Used Avail Capacity Mounted on
/dev/md2 75M 72M -3.0M 104% /var

It turns out that /var/db/collectd/rrd/localhost/df filled up with files like df-*.rrd.

I was using FreeNAS-8.0.1-BETA2-amd64 at the time, so I took the opportunity to update to FreeNAS-8.0.2-RELEASE-amd64 and now /var is mostly empty.

After upgrading, I found this bug report (I did look before upgrading):

Ticket #462 (closed defect: fixed) "/var is filled up with /var/db/collectd/rrd/localhost/df/*rrd files" (https://support.freenas.org/ticket/462)

The ticket suggests deleting all the *rrd files to recover. Is that recommended?

Also, should I be periodically checking the size of /var just in case it fills up again?

The comments on that report seem to imply that there was a bug related to this issue and that it was fixed with an updated /etc/rc.d/ix-collectd file.

Did the fix make it into FreeNAS-8.0.2-RELEASE?
 
Status
Not open for further replies.
Top