
Originally Posted by
OrNot
3) So for as the demo glacier2/callback, the stack size is 256K, that is, if there are 8000 clients at the same time, it needs about 8000*3*256K=6G memory? Is it possible in win32 platform? In another words, is there a limitation of the maximum clients? For example, assuming the 2G user address space in NT, only about 2000 clients are permitted at the same time?
I guess Glacier2 selected the thread-per-connection mode just to deal with the situation where may be hostile clients and made a tradeoff with the threadpool mode. If is it possible to provide a property in config file to allow user to choose between the two modes just like other ice app.?
I am confused about this very much though Marc have once explained this issue in other thread.