Wasurerarenai
Dabbler
- Joined
- Jun 28, 2011
- Messages
- 15
The system statistics daemon 'collectd' is constantly running in the background generating the .rrd files in /var/db/collectd/rrd/localhost/*. The files in /var/db/collectd/rrd/localhost/df/* tend to get large as the daemon is gathering stats for every filesystem mounted including each and every zfs snapsot. When using the autosnap-based Storage/Periodic Snapshot Tasks feature in the webgui, you can generate a couple hundred snapshots easily when using options such as recursive or hourly snapshots or long retentions spans.
There should be a way to either disable the 'collectd' system statistics daemon (ex. adding 'collectd_enable="NO"' to /etc/rc.conf and making ix-collectd honor the setting). This might even be a simple "Disable System Statistics Service" checkbox with a warning that this will/could affect the FreeNAS webgui "Reporting" graphing page.
Or maybe there is an option for stopping collectd from generating the /var/db/collectd/rrd/localhost/df/* stats for zfs snashots. Another option might be disabling/read-only protecting the /var/db/collectd/rrd/localhost/df directory to prevent filesystem usage statistics from being generated. These currently don't seem to used in the "Reporting" graph page.
Thanks,
Mike
There should be a way to either disable the 'collectd' system statistics daemon (ex. adding 'collectd_enable="NO"' to /etc/rc.conf and making ix-collectd honor the setting). This might even be a simple "Disable System Statistics Service" checkbox with a warning that this will/could affect the FreeNAS webgui "Reporting" graphing page.
Or maybe there is an option for stopping collectd from generating the /var/db/collectd/rrd/localhost/df/* stats for zfs snashots. Another option might be disabling/read-only protecting the /var/db/collectd/rrd/localhost/df directory to prevent filesystem usage statistics from being generated. These currently don't seem to used in the "Reporting" graph page.
Thanks,
Mike