lots of SocketFactory threads hanging out

Mark Ackerman <[email protected]> Tue, 7 Oct 2008 15:33:46 -0700
Newsgroups gmane.comp.java.sun.rmi
Organization Resource Management Associates, Inc.
Message-ID <[email protected]>
So as a followup to my last problem with intermittent connection 
problems....

doing a thread dump on our server I see a bunch of these:
RMI 
RenewClean-[155.83.200.144:2960,rma.rmi.server.LimitedPortServerSocketFactory@52a393bc]" 
daemon prio=10 tid=0x0054c400 nid=0x2cf in Object.wait() 
[0xd58ff000..0xd58ffbf0]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
   at java.lang.Object.wait(Native Method)
   - waiting on <0xdc211f70> (a java.lang.ref.ReferenceQueue$Lock)
   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
   - locked <0xdc211f70> (a java.lang.ref.ReferenceQueue$Lock)
   at 
sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(Unknown 
Source)
   at java.lang.Thread.run(Unknown Source)

Is this normal?

the server is locked up we're and trying to figure out why. 

Didn't see any other threads that looked abnormal to me.

last part of the thread dump is:

Heap
PSYoungGen      total 92992K, used 28208K [0xf1400000, 0xf7400000, 
0xfc000000)
  eden space 91008K, 30% used [0xf1400000,0xf2f8c370,0xf6ce0000)
  from space 1984K, 0% used [0xf7210000,0xf7210000,0xf7400000)
  to   space 1856K, 0% used [0xf7040000,0xf7040000,0xf7210000)
PSOldGen        total 53248K, used 8650K [0xdbc00000, 0xdf000000, 
0xf1400000)
  object space 53248K, 16% used [0xdbc00000,0xdc472850,0xdf000000)
PSPermGen       total 20480K, used 20112K [0xd7c00000, 0xd9000000, 
0xdbc00000)
  object space 20480K, 98% used [0xd7c00000,0xd8fa40d8,0xd9000000)

So is it ok to have the PSPermGen object space at 98%?

running Java 1.6.02  on a Solaris 10 box.


Mark

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