Temporary workaround for #4945 (#4951)
Comment out the error line that is flooding the log until a proper fix is provided
Chris Akritidis committed
Dec 8, 2018 at 11:42 UTC
03287c2220c84e8ed4b29fa88afba002560e36db
1 file changed
+2
-1
collectors/proc.plugin/proc_stat.c
+2
-1
@@ -315,7 +315,8 @@ static int read_schedstat(char* schedstat_filename, struct per_core_cpuidle_char
315
316
size_t core = str2ul(&row_key[3]);
317
if(unlikely(core >= cores_found)) {
318
- error("Core %zu found but no more than %zu cores were expected.", core, cores_found);
318
+ // Temporary workaround for issue 3945
319
+ // error("Core %zu found but no more than %zu cores were expected.", core, cores_found);
320
return 1;
321
}
322
cpuidle_charts[core].active_time = str2ull(procfile_lineword(ff, l, 7)) / 1000;