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?  If thread stack size is 240kB, so FS can create about 4000 threads and handle 2000  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.  TRY IT.<div><br></div><div>We never recommend running on a 32bit system EVER.  Even our spec sheet says 64bit is recommended.   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  for inbound and one for outbound.  In 32bits system, a process&#39;s memory is limited to 2GB,  So I think a FS process can create  up to 500 threads, and  handle 250 call in the same time. Is it right? How if FS run in 64bits system? <span> </span><br clear="all">
<br>Best Regards!<br>--<span> </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>