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 asterisk -f 387 root 11990 S asterisk -f 388 root 11990 S asterisk -f 389 root 11990 S asterisk -f 390 root 11990 S asterisk -f 391 root 11990 S asterisk -f 392 root 11990 S asterisk -f 393 root 11990 S asterisk -f 394 root 11990 S asterisk -f 395 root 11990 S asterisk -f 396 root 11990 S asterisk -f 397 root 11990 S asterisk -f 398 root 11990 S asterisk -f 399 root 11990 S asterisk -f 400 root 11990 S asterisk -f 401 root 11990 S asterisk -f I was wondering... 1. Why have more than one? 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 more than a couple of concurrent calls? Thank you.
Pezhman Lali
2011-Jan-29 12:17 UTC
[asterisk-users] Reducing number of Asterisk processes?
check your /etc/asterisk/asterisk.conf and post it here best On Sat, Jan 29, 2011 at 2:22 PM, Gilles <codecomplete at free.fr> 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 -f > 385 root 11990 S asterisk -f > 386 root 11990 S asterisk -f > 387 root 11990 S asterisk -f > 388 root 11990 S asterisk -f > 389 root 11990 S asterisk -f > 390 root 11990 S asterisk -f > 391 root 11990 S asterisk -f > 392 root 11990 S asterisk -f > 393 root 11990 S asterisk -f > 394 root 11990 S asterisk -f > 395 root 11990 S asterisk -f > 396 root 11990 S asterisk -f > 397 root 11990 S asterisk -f > 398 root 11990 S asterisk -f > 399 root 11990 S asterisk -f > 400 root 11990 S asterisk -f > 401 root 11990 S asterisk -f > > I was wondering... > 1. Why have more than one? > 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 more than a couple of concurrent > calls? > > Thank you. > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110129/ab2f8f6b/attachment.htm>
On Sat, 29 Jan 2011 15:47:53 +0330, Pezhman Lali <lopl at lopl.net> wrote:>check your /etc/asterisk/asterisk.conf and post it hereHere goes: root:/var/tmp> cat /etc/asterisk/asterisk.conf [directories] astetcdir => /etc/asterisk astmoddir => /usr/lib/asterisk/modules astvarlibdir => /var/lib/asterisk astagidir => /usr/share/asterisk/agi-bin astspooldir => /var/spool/asterisk astlogdir => /var/log/asterisk Thank you.
Tilghman Lesher
2011-Jan-30 08:28 UTC
[asterisk-users] Reducing number of Asterisk processes?
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 -f > 385 root 11990 S asterisk -f > 386 root 11990 S asterisk -f > 387 root 11990 S asterisk -f > 388 root 11990 S asterisk -f > 389 root 11990 S asterisk -f > 390 root 11990 S asterisk -f > 391 root 11990 S asterisk -f > 392 root 11990 S asterisk -f > 393 root 11990 S asterisk -f > 394 root 11990 S asterisk -f > 395 root 11990 S asterisk -f > 396 root 11990 S asterisk -f > 397 root 11990 S asterisk -f > 398 root 11990 S asterisk -f > 399 root 11990 S asterisk -f > 400 root 11990 S asterisk -f > 401 root 11990 S asterisk -f > > I was wondering... > 1. Why have more than one? > 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 more than a couple of concurrent > calls?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 kilobytes. These "processes" take up 12 MB, not 12KB. 3. Your questions are probably more appropriate to the uClinux mailing lists. They should, at the very least, be able to more completely answer your queries about the behavior of non-Asterisk system utilities. -- Tilghman