[Asterisk-Users] RE: PID
asterisk at lists.styx.org
asterisk at lists.styx.org
Fri Jan 16 11:33:22 MST 2004
On Thu, Jan 15, 2004 at 09:02:00PM -0500, T. Chan wrote:
>
> Does anyone have any idea why there is a difference please? The reason that
> it is important as well is because each "asterisk -vvvg -c" is taking up
> certain memory and with 10 (more when there are calls) or more of these, I
> am running into memory problem.
The fact that you see multiple processes is symptomatic
of a wonky threading implementation -- all threads should
belong to the same process. The exception to this is
chan_h323 which actually fork(2)s a new process.
Also, as threads share memory space there is no extra
usage with extra threads (except for the overhead of
keeping the thread state itself, which is minimal).
-w
--
/~\ The ASCII Ribbon Campaign
\ / No HTML/RTF in email
X No Word docs in email
/ \ Respect for open standards
More information about the asterisk-users
mailing list