From owner-freebsd-ports@FreeBSD.ORG Sun Feb 28 19:44:13 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17559106566B for ; Sun, 28 Feb 2010 19:44:13 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id C8AE38FC1A for ; Sun, 28 Feb 2010 19:44:12 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id EED37398B3; Sun, 28 Feb 2010 20:44:10 +0100 (CET) Date: Sun, 28 Feb 2010 20:44:10 +0100 From: Lars Engels To: Vince Valenti Message-ID: <20100228194410.GC60770@e.0x20.net> References: <717f7a3e1002260651k1ce06986u4332c637b94d07ce@mail.gmail.com> <20100226165636.GD21540@plebeian.afflictions.org> <717f7a3e1002270606v2e931e07ja072434bb1969f6f@mail.gmail.com> <7b789d83aa51670b0ed7be90438c6e1c@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gj572EiMnwbLXET9" Content-Disposition: inline In-Reply-To: <7b789d83aa51670b0ed7be90438c6e1c@localhost> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Damian Gerow , Marin Atanasov , freebsd-ports@freebsd.org Subject: Re: sysutils/syslog-ng3 processes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 19:44:13 -0000 --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--