[rsyslog] computer hang-up and WorkDirectory

Miguel Angel Nieto correo at miguelangelnieto.net
Thu Nov 5 17:31:33 CET 2009


Thank you! It works now! :)

This is the final rsyslog.conf

##############
$ModLoad immark.so # provides --MARK-- message capability
$ModLoad imuxsock.so # provides support for local system logging (e.g.
via logger command)
$ModLoad imklog.so # kernel logging (formerly provided by rklogd)

$WorkDirectory /var/log/queue

$ActionQueueType LinkedList
$ActionQueueFileName SL
$ActionQueueMaxDiskSpace 5g
$ActionQueueMaxFileSize 10m
$ActionQueueSaveOnShutdown on
$ActionResumeRetryCount -1
if $msg contains 'TL' or $msg contains 'CD' or $msg contains 'TR'
then @@192.168.1.222
& ~
*.*                                                     /var/log/syslog

kern.*                                                 /dev/console
*.info;mail.none;authpriv.none;cron.none                -/var/log/messages
authpriv.*                                              /var/log/secure
mail.*                                                  -/var/log/maillog
cron.*                                                  -/var/log/cron
uucp,news.crit                                          -/var/log/spooler
local7.*                                                /var/log/boot.log
#############

2009/11/5 Rainer Gerhards <rgerhards at hq.adiscon.com>:
>> 0726.855937980:imuxsock.c: main queue: enqueueMsg: LightDelay mark
>> reached for light delayble message - blocking a bit.
>> 0727.858592935:imuxsock.c: main queue: enqueueMsg: LightDelay mark
>> reached for light delayble message - blocking a bit.
>> 0728.862998771:imuxsock.c: main queue: enqueueMsg: LightDelay mark
>> reached for light delayble message - blocking a bit.
>>
>> Rsyslog 3.19.7 (Suse)
>
> The version is the issue - that's an outdated beta version ;) Some versions
> had unix sockets flagged as sources that could lightly be delayed, resulting
> in what you see. That was made optional in later builds (and I guess nobody
> has turned it on since then ;)).
>
> Cure: upgrade to the current (3.22.1) v3-stable.
>
> Rainer
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
>



-- 
Lo que haría sería hacerme pasar por sordomudo y así no tendría que
hablar. Si querían decirme algo, tendrían que escribirlo en un
papelito y enseñármelo. Al final se hartarían y ya no tendría que
hablar el resto de mi vida.



More information about the rsyslog mailing list