Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-104580

collectd is spamming /var/log/messages

    XMLWordPrintable

    Details

    • Support Suite Ticket:
      TFE-402-53808

      JEditor

        Description

        Ever since the rrdcached plugin was added to collectd, if we fail to start rrdcached but start collectd, /var/log/messages is spammed by collectd. It does this at such a violent rate, that we lose access to all /var/log/message* because it rolls them over so quickly.

        We need to prevent collectd from spamming at such a high rate.

         

        Messages that fill up the logs are below:

         

        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
        

         

          Attachments

            Attachments

              Activity

                People

                Assignee:
                vladimirv Vladimir Vinogradenko
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: