Re: sysutils/syslog-ng3 processes
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: # 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 # 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 *:* 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: root 30648 0.0 0.0 29428 868 ? S 04:02 0:00 supervising syslog-ng root 30649 0.0 0.0 35984 2404 ? Ss 04:02 0:06 /opt/syslog-ng/sbin/syslog-ng --no-caps -Vince On Sat, 27 Feb 2010 16:06:40 +0200, Marin Atanasov wrote: On Fri, Feb 26, 2010 at 6:56 PM, Damian Gerow wrote: Marin Atanasov wrote: : 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? What does ps -j | grep syslog-ng show you? It's possible 554 is spawning 555. Hi, You were right - syslog-ng3 is spawing the second process. Here's the output, after I've restarted syslog-ng3. The PIDs are 1013 and 1014, and 1013 is spawning 1014. # ps axuw | sed -n -e '1p' -e '/syslog/p' USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1013 0.0 0.1 5320 2280 ?? I 5:26PM 0:00.00 /usr/local/sbin/syslog-ng -p /var/run/syslog-ng.pid root 1014 0.0 0.1 5320 2588 ?? Ss 5:26PM 0:06.20 /usr/local/sbin/syslog-ng -p /var/run/syslog-ng.pid # ps jaxuw | sed -n -e '1p' -e '/1014/p' USER PID PPID PGID SID JOBC STAT TT TIME COMMAND %CPU %MEM VSZ RSS STARTED root 1014 1013 1014 1014 0 Ss ?? 0:06.20 /usr/local/sbin/ 0.0 0.1 5320 2588 5:26PM I've CCed the maintainer of the port, so if he's available he could explain better. Regards, Marin -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org Links: -- [1] mailto:dge...@afflictions.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sysutils/syslog-ng3 processes
On Sun, Feb 28, 2010 at 08:58:55AM -0800, Vince Valenti wrote: 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: # 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 # 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 *:* 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: root 30648 0.0 0.0 29428 868 ? S 04:02 0:00 supervising syslog-ng root 30649 0.0 0.0 35984 2404 ? Ss 04:02 0:06 /opt/syslog-ng/sbin/syslog-ng --no-caps IIRC I've also seen that on Solaris. pgpPO07AYYARD.pgp Description: PGP signature
Re: sysutils/syslog-ng3 processes
On 02/28/10 08:58, Vince Valenti wrote: I'm actually no longer the maintainer of the port, Your name and e-mail address are still in pkg-descr. Cy, you want to fix that? Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sysutils/syslog-ng3 processes
On Fri, Feb 26, 2010 at 6:56 PM, Damian Gerow dge...@afflictions.orgwrote: Marin Atanasov wrote: : 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 ?? Ss4: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? What does ps -j | grep syslog-ng show you? It's possible 554 is spawning 555. Hi, You were right - syslog-ng3 is spawing the second process. Here's the output, after I've restarted syslog-ng3. The PIDs are 1013 and 1014, and 1013 is spawning 1014. # ps axuw | sed -n -e '1p' -e '/syslog/p' USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root1013 0.0 0.1 5320 2280 ?? I 5:26PM 0:00.00 /usr/local/sbin/syslog-ng -p /var/run/syslog-ng.pid root1014 0.0 0.1 5320 2588 ?? Ss5:26PM 0:06.20 /usr/local/sbin/syslog-ng -p /var/run/syslog-ng.pid # ps jaxuw | sed -n -e '1p' -e '/1014/p' USER PID PPID PGID SID JOBC STAT TT TIME COMMAND %CPU %MEM VSZ RSS STARTED root1014 1013 1014 10140 Ss??0:06.20 /usr/local/sbin/ 0.0 0.1 5320 2588 5:26PM I've CCed the maintainer of the port, so if he's available he could explain better. Regards, Marin -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
sysutils/syslog-ng3 processes
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 ?? Ss4: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? Regards, -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sysutils/syslog-ng3 processes
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 ?? Ss4: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. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sysutils/syslog-ng3 processes
On Fri, Feb 26, 2010 at 5:16 PM, Alexey Shuvaev shuv...@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 ?? Ss4: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, -- Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sysutils/syslog-ng3 processes
Marin Atanasov wrote: On Fri, Feb 26, 2010 at 5:16 PM, Alexey Shuvaev shuv...@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 ?? Ss4: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 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org