Steve wrote:
This is very frustrating... having played around, the syslog-ng tends towards using 100% CPU when my server is otherwise quiet - if, and only if, I have the program destination... even if the destination is not used.

Oh, and strace shows syslog-ng frantically polling file-descriptor 3... which, I presume, is the pipe to the sshguard process.

poll([{fd=6, events=0}, {fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 8, 1178000) = 1 ([{fd=6, revents=POLLERR}])
gettimeofday({1237836567, 385148}, NULL) = 0
gettimeofday({1237836567, 385178}, NULL) = 0
poll([{fd=6, events=0}, {fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 8, 1178000) = 1 ([{fd=6, revents=POLLERR}])
gettimeofday({1237836567, 385506}, NULL) = 0
gettimeofday({1237836567, 385712}, NULL) = 0
poll([{fd=6, events=0}, {fd=4, events=POLLIN}, {fd=10, events=POLLIN}, {fd=3, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 8, 1178000) = 1 ([{fd=6, revents=POLLERR}])
gettimeofday({1237836567, 386027}, NULL) = 0
gettimeofday({1237836567, 386241}, NULL) = 0
Do others get this behaviour - is this a bug in syslog-ng?



Reply via email to