The system startup script /etc/init.d/asterisk calls the script /usr/sbin/safe_asterisk
In safe_asterisk, the program is started with -c by default (console on TTY9). That explains why it is starting with a console, but not why it's running so many times! Here is what my system (FC3) shows: [EMAIL PROTECTED] sbin]# ps ax | grep asterisk 3371 ? S 0:00 /bin/sh /usr/sbin/safe_asterisk 3417 ? S 0:00 asterisk -vvvg -c 6846 ? S 0:00 asterisk -vvvg -c 6848 ? S 0:00 asterisk -vvvg -c 6849 ? S 0:00 asterisk -vvvg -c 6850 ? S 0:00 asterisk -vvvg -c 6853 ? S 0:01 asterisk -vvvg -c 6854 ? S 0:00 asterisk -vvvg -c 8479 pts/1 S+ 0:00 grep asterisk Can anyone explain why asterisk is being launched 7 times? Thanks, OCG -----Original Message----- From: Luki [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 9:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] asterisk showing more than once on ps > Do not know why, but have noticed redhat = 1, and debian = many Not quite. RedHat Enterprise also = many at times, depending on number of concurrent calls; usually one when idle. Maybe it has something to do with kernel 2.4 vs 2.6 and how threads show up in ps. --Luki _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
