[syslog-ng] Syslog restarting

Henric Larsson Henric.Larsson at igindex.co.uk
Thu Feb 11 15:32:20 CET 2010


Hi,

We're using syslog-ng PE with disk buffering enabled.

The syslog clients gets disconnected all the time, and when they restart I get these log messages:

2010-02-11T14:19:37+00:00 bruatosd003 syslog-ng[4686]: I/O error occurred while writing; fd='8', error='Connection reset by peer (104)'
2010-02-11T14:19:37+00:00 bruatosd003 syslog-ng[4686]: Syslog connection broken; fd='8', server='AF_INET(172.27.12.22:1998)', time_reopen='60'
2010-02-11T14:19:37+00:00 bruatosd003 syslog-ng[4686]: Closing log transport fd; fd='8'
2010-02-11T14:20:41+00:00 bruatosd003 syslog-ng[4686]: Syslog connection established; fd='8', server='AF_INET(172.27.12.22:1998)', local='AF_INET(0.0.0.0:0)'
2010-02-11T14:20:54+00:00 bruatosd003 syslog-ng[28626]: The current log file has a mismatching size/inode information, restarting from the beginning; filename='/var/ig/logs/orderserver/os-gc.1.log'
2010-02-11T14:20:54+00:00 bruatosd003 syslog-ng[28626]: Disk-buffer state saved; filename='/var/ig/logs/orderserver/syslog-ng-db/syslog-ng-00004.qf', qout_length='0', qbacklog_length='0', qoverflow_length='0', qdisk_length='0'
2010-02-11T14:20:54+00:00 bruatosd003 syslog-ng[28626]: The current log file has a mismatching size/inode information, restarting from the beginning; filename='/var/ig/logs/orderserver/os-gc.2.log'


After that syslog starts to send the contents of the file from the start of the file again, after a while it restart this process. In a seemingly endless loop.

As you can see the pid changes between the disconnect and the message about mismatching size/inode.

I'm trying to work out what causes it and how to fix it, any suggestions?

Best,
Henric





  ________________________________
The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index Ltd is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100211/1fa966ec/attachment.htm 


More information about the syslog-ng mailing list