Re: dirty socket growth problem

Stuart <[email protected]> Mon, 12 Dec 2005 11:14:57 +0800
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Greg/Niclas/all,

The netstat command (even with the -a option) does not show all the sockets
(although it does show some). However I am told that the growth we are
seeing using lsof -p is sockets:

java    4928 root   30u  IPv4 0x3000ea979a8       0t0    TCP *:* (IDLE)
java    4928 root   31u  IPv4 0x3000a8407d8       0t0    TCP *:* (IDLE)
java    4928 root   32u  IPv4 0x3000ea97ca8       0t0    TCP *:* (IDLE)
...

(I think the IPv4 indicates it is a socket)

I also doubt there is a problem with RMI but what I am seeing is very
strange i.e. The fact that I can get rid of the problem by using a large
lease time.  I have investigated our Socket Factories and close methods and
have been unable to find a problem --- I even tried to create a simple test
using the same Socket Factories but was unable to re-produce the problem.

Thanks for your help,

Stuart

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