|
|
|
|||||
|
I recently upgrade Ice from 3.0.1 to 3.1.1 .
And I found some error never show before in java client log. It said java is waiting while createIndirectProxy and no timeout. This is not often happend, but it eats threadpool of java one by one. I found this in INSTALL file of IceJava: Quote:
Last edited by sinofool : 12-17-2006 at 11:56 PM. |
|
|||||
|
This is resin said:
Quote:
JDK version is jdk-1.5.0_09-b03. Ice-3.1.1-java5 I am using ReplicatedGroup with this mod: Patch of IceGrid replica-group type None This problem often appears when load heavy. |
|
||||||
|
For some reasons the locate request to the locator hangs. It could be because the server to locate hangs on activation for example. Could this be the case here?
If not, you should try to reproduce the problem with more tracing. You could try with the following traces:
Please post the traces here and I'll take a look at them! Btw, could you also make sure that you have this patch applied? Cheers, Benoit. |
|
|||||
|
Yes, I applied the locator patch. I found the bug first.
I cannot reproduce the case at this time. It mainly happend while "server stop" in admin console. Is it related to the mod? Patch of IceGrid replica-group type None I changed the code of AdapterCache to make a hot backup for every service. |
|
|||||
|
I will try to reproduce it.
Thanks! |
|
|||||
|
I have reproduced the problem
I experienced the problem again.
The java thread pool dump indicate the thread is waiting on line 137# Outgoing.java. These is the code: Code:
if(timedOut)
{
//
// Must be called outside the synchronization of
// this object
//
_connection.exception(new Ice.TimeoutException());
//
// We must wait until the exception set above has
// propagated to this Outgoing object.
//
synchronized(this)
{
while(_state == StateInProgress)
{
try
{
wait();
}
catch(InterruptedException ex)
{
}
}
}
}
_connection.exception is an synchronized function, and the following synchronized(this) is also a bottle neck. Does this a performance problem or an bug while dealing heavy load? |
|
|||||
|
The stack trace is the same with pervious posted in #3.
I cannot restart icegridnode to add trace parameters at this time. Java stack trace is not enough to indicate the problem? I am trying to get a chance to add trace options and restart icegridnode. Thanks |
|
||||||
|
Hi,
It would be better to post the stack traces of all the threads as there might be other threads involved with the issue. The stack trace you posted indicates that the outgoing call is waiting for the exception to be propagated back. As you noticed, it's not being propagated back in a timely manner. This might be because the thread pool is busy doing something else (assuming you're using the thread pool concurrency model), that's why it would be helpful to see the other thread stack traces. Could you also please confirm which concurrency model you're using (thread pool or thread per connection)? Cheers, Benoit. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IceV3.11 java client and vc7.0Server : java.lang.NullPointerException? | zhoubin | Help Center | 2 | 11-24-2006 04:03 AM |
| Ice Registry blocking on restart | Steffen | Help Center | 14 | 03-31-2006 10:17 AM |
| Registry and Querying | moatas | Help Center | 8 | 10-25-2004 06:31 PM |
| Problem with IcePack.Registry | boxban | Help Center | 0 | 10-15-2004 06:31 AM |
| icepack registry problems | wolfram | Help Center | 4 | 09-01-2004 09:45 AM |