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.  The limits you state are all theoretical, depends on other limitations other than ram.

Mike

On Nov 2, 2009, at 9:53 AM, Lei Tang wrote:

Hi Michael and Brian, Thanks for your answers.
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?

2009/11/2 Brian West <brian@freeswitch.org>
Step 1.  TRY IT.

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.

/b


On Nov 2, 2009, at 3:14 AM, Lei Tang wrote:

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'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?  

Best Regards!
-- 
Lei.Tang
lei.tlfly@gmail.com


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




--
Lei.Tang
lei.tlfly@gmail.com
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org