Re: dirty socket growth problem

Gregg Wonderly <[email protected]> Wed, 7 Dec 2005 08:27:19 -0600
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Stuart wrote:
> I am using jdk1.4 to run an RMI program and I have a socket growth problem
> on linux and solaris (I have not tried windows).  The problem is that every
> 5 minutes we see an increase in sockets using the following command (as
> root):

One common problem with custom factories is that the equals() method is not
properly implemented.  Check the documentation and your implementation to make
sure that you are using a correct implementation so that the underlying code can
decide that a particular socket already exists for a path of calling.

Gregg Wonderly

===========================================================================
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