Hi everyone,
Web forum seems dead for a while, so I decided to post to mailing
list.
I'm having problem running rsyslogd 5.4.0 and 5.5.0 compiled under
Ubuntu 10.04 x86. I'm using quite basic configuration: just logging to
a files based on facility and some simple forwarding using omudpspoof.
That is all I have plus generic system logging. Default as much as it
can be ;)
rsyslogd is hogging my CPU. 5.4.0 doesn't even log a message, while
5.5.0 seems to work quite normal but with CPU load for the process
reaching 99%. This is simple Pentium III 833 machine.
I did some sort of debuging. I disabled /dev/xconsole section, immark
module as sugested. No change at all.
Then, ran rsyslogd with -d and there were no errors at all, normal
initialization and no further messages at all.
After all I did strace -ff -o /tmp/sysl.txt rsyslog -d -c4, and one of
the files started to grow about 1-2 megabytes every few seconds with
something like that:
clock_gettime(CLOCK_REALTIME, {1277909500, 585805743}) = 0
write(1, "9500.585805743:", 15) = -1 EINVAL (Invalid argument)
write(1, "b776db70: ", 10) = -1 EINVAL (Invalid argument)
write(1, "ruleset: get iRet 0 from rule.Pr"..., 43) = -1 EINVAL (Invalid
argument)
clock_gettime(CLOCK_REALTIME, {1277909500, 586203967}) = 0
write(1, "9500.586203967:", 15) = -1 EINVAL (Invalid argument)
write(1, "b776db70: ", 10) = -1 EINVAL (Invalid argument)
write(1, "testing filter, f_pmask 0\n", 26) = -1 EINVAL (Invalid argument)
clock_gettime(CLOCK_REALTIME, {1277909500, 586596069}) = 0
write(1, "9500.586596069:", 15) = -1 EINVAL (Invalid argument)
write(1, "b776db70: ", 10) = -1 EINVAL (Invalid argument)
write(1, "ruleset: get iRet 0 from rule.Pr"..., 43) = -1 EINVAL (Invalid
argument)
clock_gettime(CLOCK_REALTIME, {1277909500, 586991581}) = 0
write(1, "9500.586991581:", 15) = -1 EINVAL (Invalid argument)
write(1, "b776db70: ", 10) = -1 EINVAL (Invalid argument)
write(1, "testing filter, f_pmask 0\n", 26) = -1 EINVAL (Invalid argument)
clock_gettime(CLOCK_REALTIME, {1277909500, 587383376}) = 0
write(1, "9500.587383376:", 15) = -1 EINVAL (Invalid argument)
write(1, "b776db70: ", 10) = -1 EINVAL (Invalid argument)
write(1, "ruleset: get iRet 0 from rule.Pr"..., 43) = -1 EINVAL (Invalid
argument)
clock_gettime(CLOCK_REALTIME, {1277909500, 587778171}) = 0
this is tail from that rapidly growing file.
How can I solve this? What kind of information should I provide to
solve the problem? :) I'm open and ready for further debugging.
Distributed with Ubuntu 10.04 rsyslogd 4.2.0 is working just fine with
the same config besides that it doesn't support omudpspoof module, so
forwarding of messages is quite useless..
--
Best regards,
Tomasz Głowacki mailto:[email protected]
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com