----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Thanks a lot Ben. I'll give it a go.
-----Original Message-----
From: Ben Ricker [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 4:36 PM
To: Java Apache Users
Subject: Re: TIME_WAIT uses up ports
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
You can get rid of them by starting the JVM manually and not having
Jserv do it for you. However, you will los the piece of mind that
Jserv will check every few seconds to make sure that the JVM is up
and taking connections. That is what the TIME_WAITS are. Btw, they
hardly take any memory at all and since you are using Windows, you
should not have to worry about file maximum problems.
Ben Ricker
Web Administrator
US-Rx, Inc.
>
>
>I have an applet calling a servlet repeatedly (as much as a second
>between URL Connections). Every call seems to create a new socket
>connection between the Apache Web Server and JServ. Each one is only
>ESTABLISHED for a moment, but the port then stays in the TIME_WAIT
>state. At first I didn't think this was a problem, as I thought ports
in
>this state could be reused prior to their full release if need be.
>However, I think that this isn't the case once I start to pile on the
>connections - and I'm only talking about 15 to 20 or so. I'm running on
>NT, and I found a registry entry that I could add called
>TcpTimedWaitDelay which allows me to reduce the TIME_WAIT to a minimum
>30 seconds (default was 240 seconds) which has improved the situation.
I
>was wondering if anyone else had had this problem or knows of a way of
>getting rid of the TIME_WAITs completely.
>Web Server 1.3.12, JServ 1.1.2, NT4.
>TIA, Dave.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]