I think this is true:

Windows only supports linger values in seconds (1 sec, 2 sec and so on).  Other 
TCP stacks use linger values in msec.  If your code is to run on windows you 
need a linger greater than 1000.

Linger shouldn't affect max connections/requests because it only delays if it 
has to.  Assuming you have the bandwidth linger doesn't really come into play.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Coco
Pascal
Sent: Wednesday, January 17, 2007 6:26 AM
To: [email protected]
Subject: [Synalist] SetLinger settings


Hello,

I wondered how to set SetLinger parameters for a multithreaded 
appserver. I read somewhere the SetLinger(True, 10000) would suit most 
needs on Windows. What about other platforms?
I suppose that higher Linger values decrease the max 
connections/requests that can be made, correct? Is it meaningfull to 
vary Linger actively with different stress levels?

Tia,
Coco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to