lowered the theshold for detecting a bad plugin
Costa Tsaousis (ktsaou) committed
May 5, 2014 at 10:43 UTC
5466e5c306ed8c9a648145d47a25bba55ea6054d
1 file changed
+1
-1
netdata.c
+1
-1
@@ -5737,7 +5737,7 @@ void *pluginsd_worker_thread(void *arg)
5737
if(st->debug) debug(D_PLUGINSD, "PLUGINSD: script %s is requesting a END on chart %s", cd->fullfilename, st->id);
5738
5739
unsigned long long usec_since_last_update = rrd_stats_done(st);
5740
- if(usec_since_last_update < (cd->update_every * 1000000ULL / 2)) {
5740
+ if(usec_since_last_update < (cd->update_every * 1000000ULL / 10)) {
5741
error("PLUGINSD: script '%s' updates charts too frequently. Chart %s updated after %llu microseconds, expected %llu microseconds. Disabling it.", cd->fullfilename, st->id, usec_since_last_update, cd->update_every * 1000000ULL);
5742
cd->enabled = 0;
5743
kill(cd->pid, SIGTERM);