|
How to Fix It? |
|
Subject: How to Fix It?
Author: EricJ
In response to: Why?
Posted on: 04/12/2007 09:37:52 PM
The TCP/IP layer has a default maximum connections allowed in the TIMED_WAIT state. To remedy this, modify or create the following registry keys:
TcpTimedWaitDelay, sets TIME_WAIT parameter to 30 seconds, default is 240. MaxUserPort, sets maximum open ports to 65534, default is 5000
>
> On 04/12/2007 09:35:48 PM EricJ wrote:
This means that you are out of TCP/IP connections on your machine.
The reson for running out of available ports is that if you creates a lot of connection at a rapid rapid rate, the system does no have enough time to clean up the TIME_WAIT sockets. Eventually, the ports numbers for those TIME_WAIT socks run out, and your JVM crashes.
References:
|
|
|
|