[syslog-ng] HUP does not work

Balazs Scheidler bazsi at balabit.hu
Thu Apr 20 15:55:01 CEST 2006


On Thu, 2006-04-20 at 13:47 +0200, Lumir Unzeitig (DHL CZ) wrote:
> The problem is: A central syslog server logs huge number of maillog
> messages from a server. HUP signal is sent to the syslog-ng in
> postrotate instructions when logrotate runs. All log files are rotated
> properly except maillog. The old maillog messages are in the proper
> file, but no new file is created and thus nothing is logged for the
> facility . When I stop/start syslog-ng daemon it's working good.
> 

We would need some more information about syslog-ng when in this bad
state. Please attach to the syslog-ng process with strace right before
sending a HUP signal and wait till some mail log is generated.

Use the following strace command: 

strace -s 256 -o /tmp/output-file -p <syslog-ng pid>

And an idea, isn't it postfix that stops logging?

-- 
Bazsi



More information about the syslog-ng mailing list