
04-24-2007
|
|
|
|
Re: Zu wenige Sockets
Hallo Andreas,
schau mal ob dies dir weiter Hilft:
--
2. Reduce the client TCP/IP socket connection timeout value from the
default value of 240 seconds
set registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\TcpTimedWaitDelay
to a new DWORD value (30 - 300)
The TCP RFC (RFC 793) recommends a value of 2*msl(Maximum Segment
Lifetime). The general consensus about the value of msn seems to be 1-2
minutes, depending on the underlying network... (2*2 min = 2*120 sec =
240 sec)
--
Mfg,
Erol
"M.A.Bednarz" <bednarz@literadix.de> wrote in message
news:f0duu3$a5a$03$1@news.t-online.com...
> Hi,
>
> kann ich die Anzahl der Sockets im Status WAIT erhöhen? Ich benutze
> Windows Vista Premium Home und habe eine Anwendung, die sehr
> netzwerklastig ist. Wenn ich etwa 5.000 Sockets im Status Wait habe, geht
> erst mal gar nichts mehr:
>
> TCP 127.0.0.1:51413 bednarzpc:3873 WARTEND
> TCP 127.0.0.1:51414 bednarzpc:3873 WARTEND
> TCP 127.0.0.1:51415 bednarzpc:3873 WARTEND
> TCP 127.0.0.1:51416 bednarzpc:3873 WARTEND
> TCP 127.0.0.1:51417 bednarzpc:3873 WARTEND
> TCP 127.0.0.1:51418 bednarzpc:3873 WARTEND
> TCP 127.0.0.1:51419 bednarzpc:3873 WARTEND
>
> Kann man also die maximal Anzahl erhöhen oder die Latenzzeit, bis die
> Sockets gelöscht werden niedriger stellen, eventuell durch einen Eintrag
> in der Registry?
>
> Danke,
>
> Andreas
>
|