[asterisk-users] Reducing number of Asterisk processes?

Tilghman Lesher tilghman at meg.abyt.es
Sun Jan 30 12:11:30 CST 2011


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 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.

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 mysteriously fail.  Unless you are
comfortable delving into the C code and working on these issues, uClinux
will probably never be an appropriate system for you with which to run
Asterisk.

-- 
Tilghman



More information about the asterisk-users mailing list