Hi to all,
all of my clients log remotely on the server using TCP as transports. Logs are correctly received and write to disk.
If I stop the deamon on the server-side, the clients are expected to saturate the in-memory portion of queue and
to start writing to disk, but that does not happen.
I think to have read all the doc related to queueing but have not figured out what is wrong. Here is the interesting
portion of client configuration:
$MainMsgQueueType LinkedList
$MainMsgQueueFileName mainq
$MainMsgQueueSaveOnShutdown on
$MainMsgQueueDiscardSeverity 8
$WorkDirectory /var/spool/rsyslog # default location for work (spool) files
$ActionQueueType LinkedList # use asynchronous processing
#$ActionQueueType FixedArray # use asynchronous processing
$ActionQueueFileName srvfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
$ActionQueueDiscardSeverity 8
$ActionQueueWorkerThreads 5
local7.* @@rsyslog.private:514
local7.* ~
I run the following on the client:
client# while true; do /usr/bin/logger -p local7.info -t my_tag_used_remotely "`date`"; done
In the meanwhile I stop rsyslog on the server:
server# /etc/init.d/rsyslog stop,
I keep the 'while' running on the client for several minutes, nevertheless the client does not seem to
start spooling at all.
Can anyone help me in figuring out what's wrong? If you need some further informations, debug logs,
whatever, let me know.
Thanks in advance,
Paolo Larcheri


