Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2010 20:44:10 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Vince Valenti <vince@blue-box.net>
Cc:        Damian Gerow <dgerow@afflictions.org>, Marin Atanasov <dnaeon@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: sysutils/syslog-ng3 processes
Message-ID:  <20100228194410.GC60770@e.0x20.net>
In-Reply-To: <7b789d83aa51670b0ed7be90438c6e1c@localhost>
References:  <717f7a3e1002260651k1ce06986u4332c637b94d07ce@mail.gmail.com> <20100226165636.GD21540@plebeian.afflictions.org> <717f7a3e1002270606v2e931e07ja072434bb1969f6f@mail.gmail.com> <7b789d83aa51670b0ed7be90438c6e1c@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--gj572EiMnwbLXET9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 28, 2010 at 08:58:55AM -0800, Vince Valenti wrote:
>=20
>=20
> I'm actually no longer the maintainer of the port, but if you check
> sockstat, you will notice the second process is the one that is actually
> listening to the network, etc:=20
>=20
> # ps auxww|grep syslog
> root 29196 0.0 0.0
> 5320 2172 ?? I 8:40AM 0:00.00 /usr/local/sbin/syslog-ng -p
> /var/run/syslog.pid
> root 29197 0.0 0.0 5320 2432 ?? Ss 8:40AM 0:00.04
> /usr/local/sbin/syslog-ng -p /var/run/syslog.pid=20
>=20
> # sockstat|grep
> syslog
> root syslog-ng 29197 3 dgram /var/run/log
> root syslog-ng 29197 5
> stream /var/db/syslog-ng.ctl
> root syslog-ng 29197 6 dgram
> /var/run/logpriv
> root syslog-ng 29197 7 udp4 *:514 *:*=20
>=20
> My guess is that
> this is by design. In fact, I've checked syslog-ng on a Linux machine
> (gasp) and it also runs two processes:=20
>=20
> root 30648 0.0 0.0 29428 868 ? S
> 04:02 0:00 supervising syslog-ng=20
> root 30649 0.0 0.0 35984 2404 ? Ss 04:02
> 0:06 /opt/syslog-ng/sbin/syslog-ng --no-caps=20

IIRC I've also seen that on Solaris.

--gj572EiMnwbLXET9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkuKx4oACgkQKc512sD3afjKeQCgmyJPseYNk8iYv3gn3Hm07Hd8
xeIAn0WnoB6uYgHspyFaaVZ6EsJT1ZfW
=/y+C
-----END PGP SIGNATURE-----

--gj572EiMnwbLXET9--



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