[asterisk-users] Reducing number of Asterisk processes?
William Stillwell
william at stillwellsoft.com
Sat Jan 29 10:29:02 CST 2011
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Gilles
> Sent: Saturday, January 29, 2011 11:20 AM
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] Reducing number of Asterisk processes?
>
> On Sat, 29 Jan 2011 19:11:35 +0330, Pezhman Lali <lopl at lopl.net>
> 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
More information about the asterisk-users
mailing list