Juha Koho wrote: > Hello, > > here's some more information regarding this bug. I had been running my > client which had previously crashed almost once a day for several days > in debug mode. Suddenly I noticed that rsyslog was running but no log > entries were written to any log files. I started to investigate the > case and I noticed that rsyslog process was running but it was in some > kind of deadlock state and it was doing nothing. I think this happened > also doing rsyslog reload from a cron job. > > I attached the last lines of debug output when I terminated the > process by pressing ctrl-c several times. Too bad that I didn't > realize to check the memory usage of the process.
Could you please build rsyslog with --enable-rtinst to get a more complete debug output. I've put Rainer, the upstream author on CC, please keep the CC on replies. > > I have also noticed that if I put $AllowedSender directive in config > file allowing my local subnet to send log messages to the server the > server after a while (say next day or something) somehow forgets this > directive and doesn't allow any client to send log messages. It just > writes log entries like "TCP message from disallowed sender ... > discarded" although this sender has been allowed using the > $AllowedSender directive. I tried using both host names and IP > addresses. > > Syntax of the directive I used was simply: > > $AllowedSender TCP, 127.0.0.0/8, 192.168.1.0/24 Thats a different issue I think, very likely related to 2627.182158676:action 73 queue[DA]:Reg/w0: log-server:514/tcp 2627.182451825:action 73 queue[DA]:Reg/w0: create tcp connection failed, reason Connection refusedno working socket could be obtainederror forwarding via tcp, suspending Maybe another process already blocking the tcp 514 port. Anyways, as this is a separate issue, we should not discuss this in this bug report (but in a separate bug report, if you can reproduce this). Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature