Hi,
Aaron Mulder wrote:
> I have a hazy memory of someone from Sun or Blackdown saying that
> they tried to allocate 2MB of stack for every thread that's created.
> Though it sounds like Scott has a better handle on your actual problem, I
> think that was quoted as one of the pitfalls of using many many threads.
The 2M stack size is correct, and probably the reason for
the PTHREAD_THREADS_MAX=1024 limit. Please note that only
virtual memory is allocated for the stack, so no swap or
physical memory is used until the stack becomes large.
For more info on tuning this, have a look at:
http://people.redhat.com/alikins/system_tuning.html#threads
Best Regards,
Ole Husgaard.
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development