Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 11:53:48 -0500
From:      Mark Saad <nonesuch@longcount.org>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Syslog-ng weirdness on 9.1-RELEASE
Message-ID:  <CAMXt9NbYzU--hneC6r9GNb5kbOhtOuDX6w1pYX3BtXcYWu2KaA@mail.gmail.com>
In-Reply-To: <CAMXt9NbMFjgASZdxXFAyh97k59OTjiuXkM=o4RJ8Apa8d2%2B1Gg@mail.gmail.com>
References:  <CAMXt9NbMFjgASZdxXFAyh97k59OTjiuXkM=o4RJ8Apa8d2%2B1Gg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
looks like  i jumped the gun its a bug in syslog-ng

https://bugzilla.balabit.com/show_bug.cgi?id=193


On Wed, Dec 12, 2012 at 11:50 AM, Mark Saad <nonesuch@longcount.org> wrote:

> All
>  I am wondering if anyone has seen this. I pulled down the 9.1-RELEASE
> install media and did a clean install . After installing some ports from
> the packages on
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable
>
> I noticed that syslog-ng is spinning out of control with a stock config.
>
> ps shows I have two syslog-ng pids
>
> the lower numbed pid is idle and the higher numbed pid is spinning out of
> control
>
> Here is a truss of each
>
> # truss -p 20979
> SIGNAL 17 (SIGSTOP
>
> # truss -p 20980
> kevent(3,{},0,{0xb,EVFILT_READ,0x0,0,0x56fb,0x80251b5f0},8,{10.861307840
> }) = 1 (0x1)
> clock_gettime(4,{2199.064214776 })               = 0 (0x0)
> kevent(3,{},0,{0xb,EVFILT_READ,0x0,0,0x56fb,0x80251b5f0},8,{10.860672308
> }) = 1 (0x1)
> clock_gettime(4,{2199.064899380 })               = 0 (0x0)
> kevent(3,{},0,{0xb,EVFILT_READ,0x0,0,0x56fb,0x80251b5f0},8,{10.859987704
> }) = 1 (0x1)
> clock_gettime(4,{2199.065608622 })               = 0 (0x0)
> kevent(3,{},0,{0xb,EVFILT_READ,0x0,0,0x56fb,0x80251b5f0},8,{10.859278462
> }) = 1 (0x1)
> clock_gettime(4,{2199.066240031 })               = 0 (0x0)
> kevent(3,{},0,{0xb,EVFILT_READ,0x0,0,0x56fb,0x80251b5f0},8,{10.858647053
> }) = 1 (0x1)
> clock_gettime(4,{2199.066876796 })               = 0 (0x0)
> kevent(3,{},0,{0xb,EVFILT_READ,0x0,0,0x56fb,0x80251b5f0},8,{10.858010288
> }) = 1 (0x1
>
> # procstat -f 20979
>   PID COMM               FD T V FLAGS     REF  OFFSET PRO NAME
> 20979 syslog-ng        text v r r--------   -       - -
> /usr/local/sbin/syslog-ng
> 20979 syslog-ng         cwd v d r--------   -       - -
> /
> 20979 syslog-ng        root v d r--------   -       - -
> /
> 20979 syslog-ng           0 v c r--------   1       0 -
> /dev/null
> 20979 syslog-ng           1 v c -w-------   2       0 -
> /dev/null
> 20979 syslog-ng           2 v c -w-------   2       0 -
> /dev/null
>
>
> # procstat -f 20980
>   PID COMM               FD T V FLAGS     REF  OFFSET PRO NAME
> 20980 syslog-ng        text v r r--------   -       - -
> /usr/local/sbin/syslog-ng
> 20980 syslog-ng         cwd v d r--------   -       - -
> /var/db
> 20980 syslog-ng        root v d r--------   -       - -
> /
> 20980 syslog-ng           0 v c r--------   1       0 -
> /dev/null
> 20980 syslog-ng           1 v c -w-------   2       0 -
> /dev/null
> 20980 syslog-ng           2 v c -w-------   2       0 -
> /dev/null
> 20980 syslog-ng           3 k - rw-------   1       0 -
> -
> 20980 syslog-ng           4 p - rw-------   1       0 -
> -
> 20980 syslog-ng           5 s - rw---n---   2       0 UDS
> /var/db/syslog-ng.ctl
> 20980 syslog-ng           6 p - rw---n---   2       0 -
> -
> 20980 syslog-ng           7 p - rw---n---   1       0 -
> -
> 20980 syslog-ng           8 v r rw-------   1   16384 -
> -
> 20980 syslog-ng           9 s - rw---n---   2       0 UDD /var/run/log
> 20980 syslog-ng          10 s - rw---n---   2       0 UDD /var/run/logpriv
> 20980 syslog-ng          11 v c r----n---   2       0 -
> /dev/klog
> 20980 syslog-ng          12 p - rw---n---   2       0 -
> -
> 20980 syslog-ng          13 p - rw---n---   1       0 -
> -
> 20980 syslog-ng          14 p - rw---n---   2       0 -
> -
> 20980 syslog-ng          15 p - rw---n---   1       0 -
> -
> 20980 syslog-ng          16 p - rw---n---   2       0 -
> -
> 20980 syslog-ng          17 p - rw---n---   1       0 -
> -
> 20980 syslog-ng          18 p - rw---n---   2       0 -
> -
> 20980 syslog-ng          19 p - rw---n---   1       0 -   -
>
> Here is the config
>
> # cat /usr/local/etc/syslog-ng.conf
>
>
> #############################################################################
> # Default syslog-ng.conf file which collects all local logs into a
> # single file called /var/log/messages.
> #
>
> @version: 3.3
> @include "scl.conf"
>
> source s_local {
>         system();
>         internal();
> };
>
> source s_network {
>         udp();
> };
>
> destination d_local {
>         file("/var/log/messages");
> };
>
> log {
>         source(s_local);
>
>         # uncomment this line to open port 514 to receive messages
>         #source(s_network);
>         destination(d_local);
> };
>
>
> Here are the packages I installed.
>
> bash-4.2.37
> ca_root_nss-3.13.6
> cciss_vol_status-1.10
> compat6x-amd64-6.4.604000.200810_3
> compat7x-amd64-7.3.703000.201008_1
> curl-7.24.0_1
> db41-4.1.25_4
> dejavu-2.33
> dmidecode-2.11
> eventlog-0.2.12
> expat-2.0.1_2
> figlet-2.2.4
> fontconfig-2.9.0,1
> freetype2-2.4.9_1
> gamin-0.1.10_4
> gettext-0.18.1.1
> gio-fam-backend-2.28.8_1
> glib-2.28.8_4
> gmake-3.82_1
> inputproto-2.0.2
> java-zoneinfo-2012.f
> javavmwrapper-2.4
> jpeg-8_3
> kbproto-1.0.5
> libICE-1.0.7,1
> libSM-1.2.0,1
> libX11-1.4.4,1
> libXau-1.0.6
> libXaw-1.0.9,2
> libXdmcp-1.1.0
> libXext-1.3.0_1,1
> libXft-2.1.14
> libXi-1.4.5,1
> libXmu-1.1.0,1
> libXp-1.0.1,1
> libXpm-3.5.9
> libXrender-0.9.6
> libXt-1.1.1,1
> libXtst-1.2.0
> libiconv-1.14
> libpthread-stubs-0.3_3
> libxcb-1.7
> mcelog-1.0.p3
> net-snmp-5.7.2
> nspr-4.9.2
> nss-3.13.6_1
> open-motif-2.3.3_2
> openjdk6-b26_1
> openldap-client-2.4.33
> openssl-1.0.1_4
> pam_ldap-1.8.6_2
> pam_mkhomedir-0.2
> pcre-8.31_1
> perl-5.14.2_2
> pkgconf-0.8.9
> png-1.5.12
> portaudit-0.6.0
> portupgrade-2.4.10,2
> printproto-1.0.5
> python27-2.7.3_3
> recordproto-1.14.1
> renderproto-0.11.1
> rsync-3.0.9_2
> ruby-1.8.7.370,1
> ruby18-bdb-0.6.6
> sqlite3-3.7.14.1
> sudo-1.8.6.p3_1
> syslog-ng-3.3.6_3
> unzip-6.0_1
> vim-lite-7.3.669
> xbitmaps-1.1.1
> xextproto-7.2.0
> xproto-7.0.22
>
>
> Anyone have any ideas ?
>
> --
> mark saad | nonesuch@longcount.org
>
>


-- 
mark saad | nonesuch@longcount.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9NbYzU--hneC6r9GNb5kbOhtOuDX6w1pYX3BtXcYWu2KaA>