Package: rsyslog
Version: 5.8.5-1
Severity: minor

Hi,

I'm not exactly sure where to put this. Might not even be a real bug, feel free to close if you think so.

I have some tens of boxes that log to a remote host using relp

/etc/rsyslog.d# cat remote.conf
$ModLoad omrelp
$WorkDirectory /var/spool/rsyslog  # default location for work (spool) files
$ActionQueueType LinkedList   # use asynchronous processing
$ActionQueueFileName remote   # set file name, also enables disk mode
$ActionResumeRetryCount -1    # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
*.*             :omrelp:syslogserver:2514;RSYSLOG_ForwardFormat

two of them run systemd and take a long time to shut down.

[ 2497.344795] <30>epmd[884]: epmd: Sat Oct 15 00:58:53 2011: got KILL_REQ - terminates normal
[ 2497.347301] <30>epmd[7957]: Killed
Stopped epmd.
[ 2575.591842] <28>systemd[1]: rsyslog.service stopping timed out. Killing.
Stopped System Logging Service.
[ 2575.594635] <29>systemd[1]: Unit rsyslog.service entered failed state.
[ 2575.595715] <29>systemd[1]: rsyslog.service: main process exited, code=killed, status=9

I am reasonably certain this is due to systemd shutting down network access before before sending SIGTERM to rsyslogd. I've tested this by shutting down eth0 and then sending SIGTERM to the process manually, it takes a significant amount of time (although never as much as > 60 seconds as seen above) to kill the process. I don't think it is DNS related, I tried entering the syslogserver in /etc/hosts and it did not change anything.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.8
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsyslog depends on:
ii  initscripts  2.88dsf-13.11
ii  libc6        2.13-21
ii  lsb-base     3.2-28
ii  zlib1g       1:1.2.3.4.dfsg-3

Versions of packages rsyslog recommends:
ii  logrotate  3.7.8-6

Versions of packages rsyslog suggests:
ii  rsyslog-doc                    <none>
ii  rsyslog-gnutls                 <none>
ii  rsyslog-gssapi                 <none>
ii  rsyslog-mysql | rsyslog-pgsql  <none>
ii  rsyslog-relp                   5.8.5-1

-- Configuration Files:
/etc/logrotate.d/rsyslog changed [not included]
/etc/rsyslog.conf changed [not included]

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to