<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">freeswitch should set its own stack if you don't have it set, it will also tell you if it should be reset when you start. &nbsp;The limits you state are all theoretical, depends on other limitations other than ram.<div><br></div><div>Mike</div><div><br><div><div>On Nov 2, 2009, at 9:53 AM, Lei Tang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Michael and Brian, Thanks for your answers. <br>Brian, Did you mean set the thread stack size to 240KB? Is it enough for FS?&nbsp; If thread stack size is 240kB, so FS can create about 4000 threads and handle 2000&nbsp; concurrent call?<br>
<br><div class="gmail_quote">2009/11/2 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">Step 1. &nbsp;TRY IT.<div><br></div><div>We never recommend running on a 32bit system EVER. &nbsp;Even our spec sheet says 64bit is recommended. &nbsp; You should get more than 500 on a 32bit machine if it sets the stack size properly to 240 per thread.</div>
<div><br></div><div>/b</div><div><br><div><br><div><div class="im"><div>On Nov 2, 2009, at 3:14 AM, Lei Tang wrote:</div><br></div><div><div></div><div class="h5"><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Hi All, As I known FS usually use two thread to handle one call, one&nbsp; for inbound and one for outbound.&nbsp; In 32bits system, a process's memory is limited to 2GB,&nbsp; So I think a FS process can create&nbsp; up to 500 threads, and&nbsp; handle 250 call in the same time. Is it right? How if FS run in 64bits system?&nbsp;<span>&nbsp;</span><br clear="all">
<br>Best Regards!<br>--<span>&nbsp;</span><br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a></span></blockquote></div></div></div><br></div></div></div><br>_______________________________________________<br>

FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a><br>
_______________________________________________<br>FreeSWITCH-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>