Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Gilles
On Sun, 30 Jan 2011 12:11:30 -0600, Tilghman Lesher wrote: >By the way, you are likely to have trouble running Asterisk on uClinux, >anyway. There are a lot of assumptions in the code related to fork(2) >creating a separate address space. As this is not true with vfork(2), >there are parts of As

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Gilles
On Sun, 30 Jan 2011 02:28:29 -0600, Tilghman Lesher wrote: >1. uClinux has no fork(2) call, only a vfork(2) call. Therefore, these >amount to multiple processes sharing the same address space. In fact, >it's very likely that these are multiple threads, not processes at all. >2. The unit is in

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Gordon Henderson
On Sun, 30 Jan 2011, Tilghman Lesher wrote: By the way, you are likely to have trouble running Asterisk on uClinux, anyway. There are a lot of assumptions in the code related to fork(2) creating a separate address space. As this is not true with vfork(2), there are parts of Asterisk that will

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Tilghman Lesher
On Sunday 30 January 2011 02:28:29 Tilghman Lesher wrote: > On Saturday 29 January 2011 04:52:02 Gilles wrote: > > 2. Provided each process is indeed using 11.990 bytes, is it possible > > to reduce the number of concurrent processes, considering the fact > > that this appliance will not handle mor

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-30 Thread Tilghman Lesher
On Saturday 29 January 2011 04:52:02 Gilles wrote: > Hello > > On a uClinux-based appliance, "ps aux" shows multiple Asterisk > processes: > > 380 root 11990 S asterisk -f > 381 root 11990 S asterisk -f > 383 root 11990 S asterisk -f > 384 root 11990 S asterisk

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread Gilles
On Sat, 29 Jan 2011 11:29:02 -0500, "William Stillwell" wrote: >My asterisk runs with the -f option. > >ps aux | grep ast >root 5475 0.0 0.0 61256 748 pts/0S+ 11:28 0:00 grep ast >root 25937 0.0 0.0 65956 616 pts/1SJan27 0:00 /bin/sh >/usr/sbin/safe_asterisk >r

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread William Stillwell
> -Original Message- > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- > boun...@lists.digium.com] On Behalf Of Gilles > Sent: Saturday, January 29, 2011 11:20 AM > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] Reducing

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread Gilles
On Sat, 29 Jan 2011 19:11:35 +0330, Pezhman Lali 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 num

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread Pezhman Lali
Dear 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. [directories](!) ; remove the (!) to enable this astetcdir => /etc/asterisk astmoddir => /usr/lib/asterisk/modules astvarlibdir => /var/lib/

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread Gilles
On Sat, 29 Jan 2011 15:47:53 +0330, Pezhman Lali wrote: >check your /etc/asterisk/asterisk.conf and post it here Here goes: root:/var/tmp> cat /etc/asterisk/asterisk.conf [directories] astetcdir => /etc/asterisk astmoddir => /usr/lib/asterisk/modules astvarlibdir => /var/lib/asterisk astagidir

Re: [asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread Pezhman Lali
check your /etc/asterisk/asterisk.conf and post it here best On Sat, Jan 29, 2011 at 2:22 PM, Gilles wrote: > Hello > > On a uClinux-based appliance, "ps aux" shows multiple Asterisk > processes: > > 380 root 11990 S asterisk -f > 381 root 11990 S asterisk -f > 383 root 1

[asterisk-users] Reducing number of Asterisk processes?

2011-01-29 Thread Gilles
Hello On a uClinux-based appliance, "ps aux" shows multiple Asterisk processes: 380 root 11990 S asterisk -f 381 root 11990 S asterisk -f 383 root 11990 S asterisk -f 384 root 11990 S asterisk -f 385 root 11990 S asterisk -f 386 root 11990 S a