Re: Connection reset
Robert Gibson <[email protected]> Mon, 20 Mar 2006 11:25:26 +0000
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
Peter, thanks for your reply. --- Peter Jones - JavaSoft East <[email protected]> wrote: > It appears that the client was in the middle of > unmarshalling a HashMap contained in the return > value of a "getDataSet" invocation when the > exception occurred. I got that far in my understanding ... by the way, this HashMap could be quite large, does that make a difference? > As the client was trying to read from the connection, > if the server closed its socket because of this > timeout, the client should get an EOFException, not > a connection reset indication. > > The two hour delay and the connection reset failure > might suggest that the TCP keepalive mechanism > triggered the failure. But that would seem to > indicate that TCP segments between the client and > server machines were getting dropped at some point. > Does other communication between them seem to work > throughout this period? > Hmm, interesting - since it's late at night I would have to consult with our network admins to see if they had noticed any connection problems. > How reproducible is this failure-- always, > occasionally, etc.? > It's occasionally reproducible (and seems to go away when I enable RMI logging, grrr...) > Have you gotten thread dumps from the client and > server VMs during this two hour period? "netstat" > output on the client and server machines during > this period? > No, but I'll try next time I observe the problem. We do have upstream retry procedures in place, but obviously they are not triggered by a simple client freeze. What I was trying to do with the sun.rmi.transport.tcp.readTimeout property was provoke this crash earlier, so that we don't waste 2 hours of machine time. Is there another property I should be playing with? Thanks for your help, Robert ___________________________________________________________ Yahoo! Photos NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html