question

Gerald M. avatar image
Gerald M. asked ·

How to react on RMI - Waits

Hi,

I don't know how i should cope with RMI-Waits.

Before I took it as read that RMI-Wait time is exactly the same as the sum of all operations within the called Method on the callee server. But as you can see in attached screenshot it is not like that.

What is the next step to find out where the time is lost and why this wait is that long?

thx,

Gerald

agentjavaserversensor
rmi.png (168.7 KiB)
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Andreas G. avatar image
Andreas G. answered ·

I assume the wait happens from the initial thread that makes all these RMI calls. The wait in this case could be a "wait until these background threads" are done. In the PurePath dashlet you can make the "Thread" column visible. this shows you which threads are actually executing these RMI calls and also which thread is waiting. I would also click on "show all nodes" in the PurePath tree as you will see a deeper stack trace that leads to the wait. I am pretty sure it is a way your main thread is waiting for all other threads to complete

andi

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Let me know if this helped. Also - feel free to Share a PurePath with me - happy to take a closer look at this: http://bit.ly/sharepurepath

0 Likes 0 · ·