[468] in java-interest
Re: NT: Lingering sockets problem
daemon@ATHENA.MIT.EDU (Jonathan Payne)
Fri Jun 23 12:28:19 1995
Date: Fri, 23 Jun 1995 08:56:57 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: roc+@cs.cmu.edu
Cc: java-interest@java.sun.com
In-Reply-To: <9506230432.AA16860@java.sun.com> (roc+@cs.cmu.edu)
I have seen seen symptoms that imply the same thing, although I didn't
realize it was that bad!
I have this verify apply which check an entire web hierarchy for
broken links, and after a while, it just dies. All my socket connect
attempts fail, and it hangs up my NT machine pretty badly.
I've also noticed that the NT version doesn't properly dispose of
Threads. My thread handle count goes up continuously until I kill
hotjava.
Hopefully this will be fixed in the upcoming chicago/NT release.
> X-Sender: roc@h.gp.cs.cmu.edu
> X-Mailer: Windows Eudora Version 2.0.3
> Mime-Version: 1.0
> Date: Fri, 23 Jun 1995 00:17:59 -0400
> From: "Robert O'Callahan" <roc+@cs.cmu.edu>
> Sender: owner-java-interest@java.sun.com
> Precedence: bulk
> X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
> Content-Type: text/plain; charset="us-ascii"
> Content-Length: 1201
>
> With NT 3.5, I seem to be having trouble with closing sockets: the close()
> method seems to have no effect! When I'm running HotJava or my own
> client/server code I accumulate lots of dead "CLOSE_WAIT" connections after
> the other side has closed. Anyone else seen this?
>
> Consider the following program:
>
> import net.*;
> class Test {
> public static void main(String argv[]) {
> Socket s = new Socket("majesty.fac", 7);
> s.close();
> Thread.sleep(60000);
> }
> }
>
> "netstat" shows that the socket remains "ESTABLISHED" until the process exits!
>
> Someone please tell me I'm being stupid. I wish the NT sources were
> available so I could check. Also, where is the best place to send questions
> like this?
> (And while I'm asking questions, when is the NT alpha3 release likely?)
>
> Thanks,
> Rob
> ======================================================================
> Robert O'Callahan (roc+@cs.cmu.edu) 1st year CMU SCS PhD
> Home page: http://www.cs.cmu.edu/~roc
> "This bowl of lukewarm tapioca represents my brain. Bestow thy flickering
> light forever." - Calvin & Hobbes, regarding television
>
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com