[syslog-ng] Error parsing conf file?

Zb Indelak zb.indelak at telus.com
Mon Jul 4 23:56:01 CEST 2005


Any progress / clues on the multiple file-open bug?  I'm using a multi-processor (2 CPUs) system, if that perhaps makes a difference.  With the 20050704 snapshot I've seen a single file open over 20 times each.

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Balazs Scheidler
Sent: Thursday, June 30, 2005 3:16 AM
To: Syslog-ng users' and developers' mailing list
Subject: RE: [syslog-ng] Error parsing conf file?


On Thu, 2005-06-30 at 11:07 +0200, Balazs Scheidler wrote:
> On Tue, 2005-06-28 at 09:46 -0600, Zb Indelak wrote:

> > *** Problems start here ***
> > syslog-ng 1651 root   82w   REG    8,8    489 5216302 /var/nsm/inbox/router/cisco/ios/12.0/syslog/ios-06280843
> > syslog-ng 1651 root   83w   REG    8,8    489 5216302 /var/nsm/inbox/router/cisco/ios/12.0/syslog/ios-06280843
> > [root at simda02 NSM]# ps -ef|grep syslog
> > root      1651     1  0 15:36 ?        00:00:01 ./syslog-ng -f /etc/syslog-ng/syslog-ng.conf
> > root      1682  1508  0 15:39 pts/2    00:00:00 grep syslog
> > [root at simda02 NSM]# kill -9 1651
> > [root at simda02 NSM]# echo;date;lsof +d 
> > /var/nsm/inbox/router/cisco/ios/12.0/syslog
> > 
> 
> This seems to be an unrelated issue that it opens the same file 
> multiple times. This is no good. I'll look into this as well.
> 

I don't really see how syslog-ng could open the same file twice, unless you had multiple file() destinations which refers to the same file. Is it the case? (judging your posted configuration, it is not, but maybe you did not copy-paste your complete config.

-- 
Bazsi

_______________________________________________
syslog-ng maillist  -  syslog-ng at lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html



More information about the syslog-ng mailing list