python-diamond / Diamond

Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
http://diamond.readthedocs.org/
MIT License
1.74k stars 600 forks source link

Error: [MainThread] Took too long to run! Killed! #754

Closed kvaleriy closed 2 years ago

kvaleriy commented 3 years ago

Diamond unable to show some data and shows following errors: more diamond.log.2021-02-11 [2021-02-11 00:05:26,538] [MainThread] Took too long to run! Killed! ... [2021-02-11 00:25:26,550] [MainThread] Unable to connect to big-lb [2021-02-11 00:27:27,394] [MainThread] Took too long to run! Killed! ... [2021-02-11 01:09:27,393] [MainThread] Took too long to run! Killed! [2021-02-11 01:11:27,382] [MainThread] Took too long to run! Killed! [2021-02-11 01:13:27,395] [MainThread] Unable to connect to big-lb [2021-02-11 01:15:28,361] [MainThread] Unable to connect to big-lb Could you please advise how to troubleshoot this issue. Is it possible that diamond process unable to pull data over SNMP and to resolve this issue it kills itself?

shortdudey123 commented 2 years ago

Based on the small amount of info, I would agree with your assessment. Re-open if you have any related questions.