[asterisk-users] Reducing number of Asterisk processes?

Gilles codecomplete at free.fr
Sun Jan 30 13:49:37 CST 2011


On Sun, 30 Jan 2011 02:28:29 -0600, Tilghman Lesher
<tilghman at meg.abyt.es> 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 kilobytes.  These "processes" take up 12 MB, not 12KB.

Thanks for the info. The appliance only has 64MB, and with all those
threads running along with OpenVPN, SSHd, and DHCPd, there are still
about 30MB free, so I guess those items in "ps" aren't really using
that much memory:

root:/etc/asterisk> ps aux
  PID  Uid        VSZ Stat Command
...
  527 root      12022 S   asterisk -f
  528 root      12022 S   asterisk -f
  530 root      12022 S   asterisk -f
  531 root      12022 S   asterisk -f
  532 root      12022 S   asterisk -f
  533 root      12022 S   asterisk -f
  534 root      12022 S   asterisk -f
  535 root      12022 S   asterisk -f
  536 root      12022 S   asterisk -f
  537 root      12022 S   asterisk -f
  538 root      12022 S   asterisk -f
  539 root      12022 S   asterisk -f
  540 root      12022 S   asterisk -f
  541 root      12022 S   asterisk -f
  542 root      12022 S   asterisk -f
  543 root      12022 S   asterisk -f
  544 root      12022 S   asterisk -f
  545 root      12022 S   asterisk -f
  546 root      12022 S   asterisk -f
  547 root      12022 S   asterisk -f
  548 root      12022 S   asterisk -f




More information about the asterisk-users mailing list