On 10/29/02 Dick Porter wrote: > It's a mono issue. There is a limit on the number of threads you can > have in a process on linux (its 1024 i think.) The problem you're > seeing though is that it's running out of handle slots. We used to get > up to a thousand or so threads before this happened, so I don't know why > it's lower now. > > It's possible to increase the number of handle slots available (and I'm > currently thinking of making it increase dynamically) but you will still > run into the pthreads limit.
The 1024 process limit in linux is a old limit (probably in kernel version 2.0 or 2.2). Even then it could be increased by changing a #define, IIRC. With the current libpthread/kernel the limit is more like 8196 threads per process and with linux 2.6 and glibc 2.3 there won't be any hard limit. So, we need to not limit artificially the number of threads allowed (and we need to check a C# program gets the proper notification when thread creation fails). lupus -- ----------------------------------------------------------------- [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
