Hello. Both syslogd and klogd take much cpu (>10%) without much output to the log files. Is there a newer version of sysklogd, or do you know of any fixes to /etc/syslog.conf that fixes this problem (i'm using /etc/syslog.conf from RH6.0/x86). /Magnus
Unable to find this on any of our servers, but am forwarded it to a developer for further review.
Does turning off syncing the file help at all?
Haven't tried that. The weird thing is that there isn't much logging activity going on (less than 100 entries per day in messages and hardly any entries at all in the other log files). The problem only shows up when the machine is heavily loaded (load avg well over 1 for long periods of time). This problem has been discussed on the linux kernel mailing list, and I was just wondering if you guys had a fix for it. Thanks, Magnus
I've tested turning off syncing now, and it does not help. /Magnus
I see no way to address this request without some idea of what the cause of the cpu usage is. AFAICT, it's quite possible for syslogd to receive messages, possibly multiple times a second, that, because of the configuration in /etc/syslog.conf, are simply discarded. Please reopen this bug if you have specific suggestions to reduce cpu usage.