[collectd] processes plugin is filling syslog with "Cannot open /proc/*/stat:..."

Luboš Staněk lubek at users.sourceforge.net
Fri Oct 27 11:46:08 CEST 2006

I have syslog messages of this type:

Oct 27 04:03:54 server collectd[procnum]: Cannot open
`/proc/<procnum>/stat': No such file or directory

These messages mainly appear at the time of the cron.daily processing
but several of them are exhibiting throughout all day.

I have found that it is caused by the processes plugin in case of
reading process status while the enumerated process dismissed before the

Is it possible to replace the syslog() call by the DBG() call and
silently skip such event in the non-debug build?
I think it is not necessary to syslog() such type of event.

Anyway I have had to replace the sysklogd with syslog-ng for enhanced
filtering capabilities. Thanks guys for such kick. :)


More information about the collectd mailing list