Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:45:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   WIKI BLOG Help Search Recent Topics GoogleTagged Login Register  
Pages: [1]
  Print  
Author Topic: sporadic logging of remote syslog messages  (Read 695 times)
Gernreich
Newbie
*
Offline Offline

Posts: 8


View Profile Email
« on: February 17, 2010, 02:17:36 pm »

I have source udp();  set up to log to a local file destination, no filter is being used.  The general network traffic is low to this syslog-ng server.  What I see happening is that out of twenty or so identical syslog messages (sent as a test, one per second) only one or two are making it to the file.  I used tcpdump and wireshark to be sure that the syslogs were reaching my network card. They are.  What is stumping me is why only around 5% are making it to the file.

Thanks!
Logged
Admin
Administrator
Newbie
*****
Offline Offline

Posts: 146


View Profile WWW
« Reply #1 on: February 18, 2010, 10:41:20 am »

What version of syslog-ng are you using?
Logged
Admin
Administrator
Newbie
*****
Offline Offline

Posts: 146


View Profile WWW
« Reply #2 on: February 18, 2010, 10:46:31 am »

Also, are you seeing any STATS messages in the log file?
Logged
Gernreich
Newbie
*
Offline Offline

Posts: 8


View Profile Email
« Reply #3 on: February 18, 2010, 12:04:30 pm »

Version 1.3.7 on a SuSe box
Logged
Gernreich
Newbie
*
Offline Offline

Posts: 8


View Profile Email
« Reply #4 on: February 18, 2010, 12:17:02 pm »

I am seeing a great number of the STATS messages on the server that has a much higher network load.  On the test server with a low network load I am not seeing any.  So Perhaps that is the issue?
Logged
Gernreich
Newbie
*
Offline Offline

Posts: 8


View Profile Email
« Reply #5 on: February 18, 2010, 12:42:22 pm »

I am logging to a file on the hard drive, not a pipe however.
Logged
Gernreich
Newbie
*
Offline Offline

Posts: 8


View Profile Email
« Reply #6 on: February 18, 2010, 12:43:26 pm »

I just got a STATS: dropped 2630
Logged
Admin
Administrator
Newbie
*****
Offline Offline

Posts: 146


View Profile WWW
« Reply #7 on: February 18, 2010, 12:59:25 pm »

Interesting... 

Try adding log_fifo_size(1000); to the options {}; section.  Also, you may want to try upgrading to a recent version - 1.3.7 is quite old and may well have some bugs.
Logged
Gernreich
Newbie
*
Offline Offline

Posts: 8


View Profile Email
« Reply #8 on: February 18, 2010, 02:16:03 pm »

Thank for the advice, I will do so!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!