Re: serviceRemoved / serviceAdded problem
Gregg Wonderly <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Dan Creswell wrote: >>And do you think lease renewal can be related to the serviceRemoved / >>serviceAdded problem? If services are apparently ok, could it be the cpu >>load to generate renewal failure? > > I have certainly seen cases where this sort of thing can happen - can be > caused by a bunch of different things: > > (1) Network congestion/load > (2) Load on the client machine > (3) Load on the server machine This is an interesting issue, because the above three things can manifest in a number of ways. In particular, synchronization of various class loading and network access parts of the JERI stack can create real problems. The predominate issue that I'm thinking of is what happens when a machine disappears and a leg of code is synchronized, and accessing the network and blocking everyone else for the entire TCP SYN timeout interval. My recent go rounds with PreferredClassLoader, in my usage of it, are one such case that I'm aware of. In my client environment, I try and use CTRL-BREAK when I notice any unexpected delay in something occuring to try and look around at the threads to see if there is any resource concurrency with synchronization that might be causing something to be slowed by an unrelated event/thread. Gregg Wonderly -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]