From 11e2d2c3bede67cc09580269fcc45d2f3e604eba Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 16 Oct 2008 14:30:56 +0200 Subject: clarified cost and effect of SIGHUP --- tools/rsyslogd.8 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/rsyslogd.8 b/tools/rsyslogd.8 index 91f2016e..fd7a5377 100644 --- a/tools/rsyslogd.8 +++ b/tools/rsyslogd.8 @@ -223,6 +223,14 @@ configuration file (default is will be reread and the .BR rsyslog (3) facility is started again. +Note that this means a full rsyslogd restart is done. This has, among others, +the consequence that TCP and other connections are torn down. Also, if any +queues are not running in disk assisted mode or are not set to persist data +on shutdown, queue data is lost. HUPing rsyslogd is an extremely expensive +operation and should only be done when actually necessary. Actually, it is +a rsyslgod stop immediately followed by a restart. Future versions will probably +include a special handling which only closes files, but will not cause any +of the other effects. .TP .B TERM ", " INT ", " QUIT .B Rsyslogd -- cgit