From owner-freebsd-ports@FreeBSD.ORG Fri Feb 26 15:38:11 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 A2194106566B for ; Fri, 26 Feb 2010 15:38:11 +0000 (UTC) (envelope-from smcafee@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3568FC19 for ; Fri, 26 Feb 2010 15:38:11 +0000 (UTC) Received: from nightbird.ws.pitbpa0.priv.collaborativefusion.com (nightbird.ws.pitbpa0.priv.collaborativefusion.com [192.168.2.163]) (AUTH: LOGIN smcafee, SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 26 Feb 2010 10:38:00 -0500 id 0003F43E.000000004B87EAD8.0000DAC5 Message-ID: <4B87EAD8.3040105@collaborativefusion.com> Date: Fri, 26 Feb 2010 10:38:00 -0500 From: Sean McAfee User-Agent: Thunderbird 2.0.0.23 (X11/20100205) MIME-Version: 1.0 To: Marin Atanasov References: <717f7a3e1002260651k1ce06986u4332c637b94d07ce@mail.gmail.com> <20100226151612.GC93856@wep4035.physik.uni-wuerzburg.de> <717f7a3e1002260728h79fe50f3i576a2627ee19ce58@mail.gmail.com> In-Reply-To: <717f7a3e1002260728h79fe50f3i576a2627ee19ce58@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexey Shuvaev , 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: Fri, 26 Feb 2010 15:38:11 -0000 Marin Atanasov wrote: > On Fri, Feb 26, 2010 at 5:16 PM, Alexey Shuvaev < > shuvaev@physik.uni-wuerzburg.de> wrote: > >> On Fri, Feb 26, 2010 at 04:51:25PM +0200, Marin Atanasov wrote: >>> Hello, >>> >>> I've noticed that when I start syslog-ng3 daemon it starts two processes. >> I >>> haven't seen this when running syslog-ng. >>> >>> Here are the processes: >>> >>> root 554 0.0 0.1 5320 2092 ?? I 4:46PM 0:00.00 >>> /usr/local/sbin/syslog-ng -p /var/run/syslog.pid >>> root 555 0.0 0.1 5320 2456 ?? Ss 4:46PM 0:00.02 >>> /usr/local/sbin/syslog-ng -p /var/run/syslog.pid >>> >>> I was wondering why it actually start two (identical?) processes? Anyone >> has >>> an idea? Is this normal? >>> >> I think this would happen if you have two different scripts in >> /usr/local/etr/rc.d that launch the same daemon. I think the names >> of the scripts do not matter here. Do you have any stale rc.d scripts >> in /usr/local/etr/rc.d? >> >> HTH, >> Alexey. >> > > > Hi, > > The system is a fresh 8.0 install. I've only syslog-ng rc.d script in > /usr/local/etc/rc.d. > > Didn't find anything reported about this. Could it be a port bug or > something? > > Regards, > I can confirm this behavior on multiple clean 8.0 + syslog3 installs. I really didn't do any investigation and just chalked it up to a change in behavior in syslog 3.x. -- Sean McAfee Senior Systems Engineer