|
|
|
|||||
|
Questions.
1) What's glaicerstarter? I read some threads in the forums about it but can not find it in the doc. and src. An obsolete application?
2) How to select the stack size of glacier2? Of course I know it depends on the applications,but are there some generic advices? 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. 4) If memory is not enough, the galcier2 will break down or just the new clients can not connect to the glacier2? |
|
||||||
|
Quote:
Quote:
The stack size is not RAM consumed by each thread, but really virtual address space consumed by each thread. It's not very difficult to reach the virtual address space limit with a big stack size and many threads! Quote:
If you need more threads, try a smaller stack size. Glacier2 uses only thread per connection; it's not configurable. Quote:
Cheers, Bernard |
|
|||||
|
hi, Bernard,
Quote:
But, if the stacksize of the glacier2 can be set in config, what is the floor limit? Quote:
1) 2G virtual meromy 2) 8000 connections at the same time, client and server buffered. The stacksize is approximately : 2,000,000 K/ 8000/3=80K. 80K is enough for one thread of Glacier2? This is same as the above question about the floor limit. Or, I can freely set the stacksize of the glacier2? I think that there should be a floor limit. I wonder why not set this floor limit interally. What is the reason to give out this property in config? BTW: How to use Glacier2 with ICEbox? Thanks alot. Last edited by OrNot : 07-12-2005 at 12:22 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| two questions | yanhbo | Help Center | 1 | 09-15-2005 12:34 AM |
| IceStorm questions | fcolle | Help Center | 19 | 04-21-2005 02:42 AM |
| OR mapping questions | stephan | Help Center | 2 | 02-04-2005 04:42 PM |
| several questions on IceSSL | diego | Help Center | 0 | 11-25-2004 08:44 PM |
| two questions | simpley | Help Center | 6 | 11-06-2003 11:11 AM |