> -----Original Message----- > From: [email protected] [mailto:asterisk-users- > [email protected]] On Behalf Of Gilles > Sent: Saturday, January 29, 2011 11:20 AM > To: [email protected] > Subject: Re: [asterisk-users] Reducing number of Asterisk processes? > > On Sat, 29 Jan 2011 19:11:35 +0330, Pezhman Lali <[email protected]> > wrote: > >it's the default setting of asterisk.conf, your config is not > complete. > >-f in the ps output, shows your asterisk have been run in fork mode, > disable > >it. > > Thanks for the tip. I looked around in /etc/asterisk, but found no > info about the number of child processes being forked, and > /etc/init.d/asterisk doesn't do much either: > > case $1 in > start) export TZ=`cat /etc/TZ`; > asterisk -f >/dev/null 2>/dev/null & ;; > > > --
My asterisk runs with the -f option. ps aux | grep ast root 5475 0.0 0.0 61256 748 pts/0 S+ 11:28 0:00 grep ast root 25937 0.0 0.0 65956 616 pts/1 S Jan27 0:00 /bin/sh /usr/sbin/safe_asterisk root 25942 0.6 0.1 566248 25676 pts/1 Sl Jan27 15:39 /usr/sbin/asterisk -f -vvvg -c -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
