Click here to Skip to main content
16,011,743 members
Home / Discussions / C#
   

C#

 
GeneralRe: Many network connections inside threads Pin
Luc Pattyn28-May-09 5:37
sitebuilderLuc Pattyn28-May-09 5:37 
GeneralRe: Many network connections inside threads Pin
EliottA28-May-09 5:39
EliottA28-May-09 5:39 
GeneralRe: Many network connections inside threads Pin
Luc Pattyn28-May-09 5:49
sitebuilderLuc Pattyn28-May-09 5:49 
GeneralRe: Many network connections inside threads Pin
mohamang28-May-09 5:52
mohamang28-May-09 5:52 
GeneralRe: Many network connections inside threads Pin
Luc Pattyn28-May-09 6:00
sitebuilderLuc Pattyn28-May-09 6:00 
GeneralCheck it out Pin
EliottA28-May-09 5:50
EliottA28-May-09 5:50 
GeneralRe: Check it out Pin
Luc Pattyn28-May-09 6:08
sitebuilderLuc Pattyn28-May-09 6:08 
AnswerRe: Check it out Pin
Nicholas Butler28-May-09 7:35
sitebuilderNicholas Butler28-May-09 7:35 
For worker threads in the thread pool the max value ( per processor ) changed from 25 to 250 as of CLR 2.0 SP1. The normal problem, however, is that after you have one thread per processor, the thread pool will only ever create one extra thread every half a second. So if you start off with 0 threads ( the default minimum ) on a 4-core box, in 10 seconds it will only ramp up to [ 4 + 10 * 2 ] = 24 threads.

This is why ASP.NET sets the minimum to 50 ( per processor ) by default.

BTW, I just checked in CLR 4.0 and it appears the limit has been raised to 4096 per processor!

Nick

----------------------------------
Be excellent to each other Smile | :)

GeneralRe: Check it out Pin
Luc Pattyn28-May-09 7:43
sitebuilderLuc Pattyn28-May-09 7:43 
GeneralRe: Check it out Pin
Nicholas Butler28-May-09 7:56
sitebuilderNicholas Butler28-May-09 7:56 
GeneralRe: Check it out Pin
Luc Pattyn28-May-09 7:59
sitebuilderLuc Pattyn28-May-09 7:59 
AnswerRe: Many network connections inside threads Pin
led mike28-May-09 7:43
led mike28-May-09 7:43 
GeneralRe: Many network connections inside threads Pin
mohamang30-May-09 7:36
mohamang30-May-09 7:36 
QuestionAforge.net Pin
tibyv28-May-09 4:16
tibyv28-May-09 4:16 
AnswerRe: Aforge.net Pin
Manas Bhardwaj28-May-09 4:17
professionalManas Bhardwaj28-May-09 4:17 
GeneralRe: Aforge.net Pin
Michael Bookatz28-May-09 4:32
Michael Bookatz28-May-09 4:32 
QuestionWindowsService Clarification Pin
MumbleB28-May-09 2:45
MumbleB28-May-09 2:45 
AnswerRe: WindowsService Clarification Pin
PIEBALDconsult28-May-09 3:06
mvePIEBALDconsult28-May-09 3:06 
GeneralRe: WindowsService Clarification Pin
MumbleB28-May-09 3:10
MumbleB28-May-09 3:10 
GeneralRe: WindowsService Clarification Pin
EliottA28-May-09 3:16
EliottA28-May-09 3:16 
GeneralRe: WindowsService Clarification Pin
MumbleB28-May-09 3:31
MumbleB28-May-09 3:31 
AnswerRe: WindowsService Clarification Pin
Calla28-May-09 3:21
Calla28-May-09 3:21 
GeneralRe: WindowsService Clarification Pin
PIEBALDconsult28-May-09 3:36
mvePIEBALDconsult28-May-09 3:36 
QuestionOpen image file with file dialog and use it in the same program run Pin
raouaa28-May-09 2:21
raouaa28-May-09 2:21 
AnswerRe: Open image file with file dialog and use it in the same program run Pin
0x3c028-May-09 2:33
0x3c028-May-09 2:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.