Re: Renew Clean

Peter Jones <[email protected]> Fri, 17 Nov 2006 18:18:37 -0500
Newsgroups gmane.comp.java.sun.rmi
Message-ID <20061117231837.GC15652@east>
> Sorry, I don't have the Java source loaded right now so I was hoping
> someone could tell me what property will cause RenewClean threads to
> be destroyed more quickly.
>
> I process thousands of agents, but I do them in batches of 50,
> unfortunately, the RenewClean threads stick around longer than I
> would like. I'm assuming there must be some timeout or ttl property
> around for these somewhere.

You may want to review:

        http://archives.java.sun.com/cgi-bin/wa?A2=ind0506&L=rmi-users&P=963
        http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5053529

Each "RenewClean" thread persists as long as there are one or more
live remote references to the associated endpoint (host, port, and
client socket factory by Object.equals) that are believed to be
locally reachable in the VM.

-- Peter

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