ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | proactive List | May 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: FW: [Fwd: Re: [Fwd: Re: [Fwd: [proactive] P2P question]]]


Hi Lee,
indeed the stack trace does not mention blocked objects(except the main), do you run it in a single jvm? Indeed when I ran it in a single jvm, I had few hundred of peers, one thread for each, and it appeared on the trace. If you are running on several jvms, it is normal that you don't get peers state, use the local descriptor, the one that use the jvm running the main to deploy your peers. Anyway I will try to take time to run again the application, and to show you the trace I get
Regards
Lee Rong wrote:



------------------------------------------------------------------------

Subject:
RE: FW: [Fwd: Re: [Fwd: Re: [Fwd: [proactive] P2P question]]]
From:
"Lee Rong" <lr98@xxxxxxxxxx>
Date:
Mon, 23 May 2005 22:50:25 +1000
To:
"'Romain Quilici'" <Romain.Quilici@xxxxxxxxxxxxxxx>, "'Proactive'" <proactive@xxxxxxxxxxxxx>

To:
"'Romain Quilici'" <Romain.Quilici@xxxxxxxxxxxxxxx>, "'Proactive'" <proactive@xxxxxxxxxxxxx>

Return-Path:
<lr98@xxxxxxxxxx>
Received:
from sophia.inria.fr (sophia.inria.fr [138.96.64.20]) by sea.inria.fr (8.12.11/8.12.5) with ESMTP id j4NCokm9013943 for <rquilici@xxxxxxxxxxxx>; Mon, 23 May 2005 14:50:46 +0200
Received:
from localhost (localhost [127.0.0.1]) by sophia.inria.fr (8.12.11/8.12.9) with ESMTP id j4NCoj1t005257 for <romain.quilici@[127.0.0.1]>; Mon, 23 May 2005 14:50:45 +0200
Received:
from beru.its.uow.edu.au (beru.its.uow.edu.au [130.130.68.31]) by sophia.inria.fr (8.12.11/8.12.9) with ESMTP id j4NCoeHN005210 for <Romain.Quilici@xxxxxxxxxxxxxxx>; Mon, 23 May 2005 14:50:41 +0200
Received:
from csm-server-nat-ip.its.uow.edu.au ([130.130.68.220] helo=febris.its.uow.edu.au) by beru.its.uow.edu.au with esmtp (Exim 4.43) id 1DaCOF-00042i-Br; Mon, 23 May 2005 22:50:39 +1000
Received:
from whisperiq42nda (bass.elec.uow.edu.au [130.130.88.119]) by febris.its.uow.edu.au (MOS 3.5.6-GR) with ESMTP id BET34326; Mon, 23 May 2005 22:50:34 +1000 (EST)
Message-ID:
<200505231250.BET34326@xxxxxxxxxxxxxxxxxxxxx>
MIME-Version:
1.0
Content-Type:
text/plain; charset="us-ascii"
Content-Transfer-Encoding:
7bit
X-Mailer:
Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE:
Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index:
AcVfh7C45agsg7pcQF6h2lTyCfcK2QADXEAg
In-Reply-To:
<4291B841.7000103@xxxxxxxxxxxxxxx>
X-Greylist:
IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-1.6 (sophia.inria.fr [138.96.64.20]); Mon, 23 May 2005 14:50:42 +0200 (MEST)
X-Virus-Scanned:
by amavisd-new at sophia.inria.fr
X-Spam-Checker-Version:
SpamAssassin 3.0.3 (2005-04-27) on sea.inria.fr
X-Spam-Status:
No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.3


Romain,
Please ignore about the Ctrl-Del-\ problem as I managed to get it working
by holding the keys a bit longer. :) However, it displays similar output as
Eclipse. So I was wandering if you use that output to identify deadlocks? If
so, how can I use it? All I can see is that it blocks at
Stub_NormalPeer.sendResourceRequestToSuperPeerTraditional.

Thanks,

Lee (P.S. The thead dump is low)

Full thread dump Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode):

"Thread for AC" prio=1 tid=0x08305980 nid=0xe8f in Object.wait()
[bb9ff000..bb9ff8cc]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x451cbd48> (a
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue)
       at java.lang.Object.wait(Object.java:429)
       at
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue.waitForAC(
FuturePool.java:496)
       - locked <0x451cbd48> (a
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue)
       at
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue.run(Future
Pool.java:454)

"P2PSimulationRecords on //Maestro.elec.uow.edu.au/Node-1433720250" prio=1
tid=0x08305608 nid=0xe8e in Object.wait() [bbbff000..bbbff8cc]
       at java.lang.Object.wait(Native Method)
       at java.lang.Object.wait(Object.java:429)
       at
org.objectweb.proactive.core.body.request.BlockingRequestQueueImpl.barrierBl
ockingRemove(BlockingRequestQueueImpl.java:298)
       at
org.objectweb.proactive.core.body.request.BlockingRequestQueueImpl.blockingR
emoveOldest(BlockingRequestQueueImpl.java:152)
       - locked <0x451cbde8> (a
org.objectweb.proactive.core.body.request.BlockingRequestQueueImpl)
       at
org.objectweb.proactive.core.body.ActiveBody$FIFORunActive.runActivity(Activ
eBody.java:241)
       at
org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:145)
       at java.lang.Thread.run(Thread.java:534)

"Thread for AC" prio=1 tid=0x082fef40 nid=0xe8d in Object.wait()
[bbdff000..bbdff8cc]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x451b9748> (a
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue)
       at java.lang.Object.wait(Object.java:429)
       at
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue.waitForAC(
FuturePool.java:496)
       - locked <0x451b9748> (a
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue)
       at
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue.run(Future
Pool.java:454)

"P2PSimulationCommonAccessObjects on
//Maestro.elec.uow.edu.au/Node-1433720250" prio=1 tid=0x082feca8 nid=0xe8c
in Object.wait() [bbfff000..bbfff8cc]
       at java.lang.Object.wait(Native Method)
       at java.lang.Object.wait(Object.java:429)
       at
org.objectweb.proactive.core.body.request.BlockingRequestQueueImpl.barrierBl
ockingRemove(BlockingRequestQueueImpl.java:298)
       at
org.objectweb.proactive.core.body.request.BlockingRequestQueueImpl.blockingR
emoveOldest(BlockingRequestQueueImpl.java:152)
       - locked <0x451b97e8> (a
org.objectweb.proactive.core.body.request.BlockingRequestQueueImpl)
       at
org.objectweb.proactive.core.body.ActiveBody$FIFORunActive.runActivity(Activ
eBody.java:241)
       at
org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:145)
       at java.lang.Thread.run(Thread.java:534)

"RMI RenewClean-[130.130.88.188:35344]" daemon prio=1 tid=0x082ec938
nid=0xe84 in Object.wait() [bc5ff000..bc5ff8cc]
       at java.lang.Object.wait(Native Method)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
       - locked <0x44ddd318> (a java.lang.ref.ReferenceQueue$Lock)
       at
sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.jav
a:500)
       at java.lang.Thread.run(Thread.java:534)

"ERR -> /home/lr98/j2sdk1.4." prio=1 tid=0x082e8268 nid=0xe6e runnable
[bcbff000..bcbff8cc]
       at java.io.FileInputStream.readBytes(Native Method)
       at java.io.FileInputStream.read(FileInputStream.java:194)
       at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:408)
       at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:450)
       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
       - locked <0x44dd5470> (a java.io.InputStreamReader)
       at java.io.InputStreamReader.read(InputStreamReader.java:167)
       at java.io.BufferedReader.fill(BufferedReader.java:136)
       at java.io.BufferedReader.readLine(BufferedReader.java:299)
       - locked <0x44dd5470> (a java.io.InputStreamReader)
       at java.io.BufferedReader.readLine(BufferedReader.java:362)
       at
org.objectweb.proactive.core.process.AbstractExternalProcess$ProcessInputHan
dler.run(AbstractExternalProcess.java:399)
       at java.lang.Thread.run(Thread.java:534)

"IN -> /home/lr98/j2sdk1.4." prio=1 tid=0x082e7900 nid=0xe6d runnable
[bcdff000..bcdff8cc]
       at java.io.FileInputStream.readBytes(Native Method)
       at java.io.FileInputStream.read(FileInputStream.java:194)
       at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
       - locked <0x44dd7548> (a java.io.BufferedInputStream)
       at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:408)
       at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:450)
       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
       - locked <0x44ddb5a0> (a java.io.InputStreamReader)
       at java.io.InputStreamReader.read(InputStreamReader.java:167)
       at java.io.BufferedReader.fill(BufferedReader.java:136)
       at java.io.BufferedReader.readLine(BufferedReader.java:299)
       - locked <0x44ddb5a0> (a java.io.InputStreamReader)
       at java.io.BufferedReader.readLine(BufferedReader.java:362)
       at
org.objectweb.proactive.core.process.AbstractExternalProcess$ProcessInputHan
dler.run(AbstractExternalProcess.java:399)
       at java.lang.Thread.run(Thread.java:534)

"process reaper" daemon prio=1 tid=0x082e7218 nid=0xe6b runnable
[bcfff000..bcfff8cc]
       at java.lang.UNIXProcess.waitForProcessExit(Native Method)
       at java.lang.UNIXProcess.access$1500(UNIXProcess.java:20)
       at java.lang.UNIXProcess$2.run(UNIXProcess.java:127)

"Thread for AC" prio=1 tid=0x082e0160 nid=0xe6a in Object.wait()
[bd1ff000..bd1ff8cc]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x44dc44d8> (a
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue)
       at java.lang.Object.wait(Object.java:429)
       at
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue.waitForAC(
FuturePool.java:496)
       - locked <0x44dc44d8> (a
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue)
       at
org.objectweb.proactive.core.body.future.FuturePool$ActiveACQueue.run(Future
Pool.java:454)

"RMI LeaseChecker" daemon prio=1 tid=0x08298578 nid=0xe67 waiting on
condition [bd7ff000..bd7ff8cc]
       at java.lang.Thread.sleep(Native Method)
       at sun.rmi.transport.DGCImpl$LeaseChecker.run(DGCImpl.java:307)
       at java.lang.Thread.run(Thread.java:534)

"RMI RenewClean-[130.130.88.188:35336]" daemon prio=1 tid=0x082b38f0
nid=0xe65 in Object.wait() [bdbff000..bdbff8cc]
       at java.lang.Object.wait(Native Method)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
       - locked <0x44d8a390> (a java.lang.ref.ReferenceQueue$Lock)
       at
sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.jav
a:500)
       at java.lang.Thread.run(Thread.java:534)

"GC Daemon" daemon prio=1 tid=0x08295380 nid=0xe63 in Object.wait()
[bdfff000..bdfff8cc]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x44d69168> (a sun.misc.GC$LatencyLock)
       at sun.misc.GC$Daemon.run(GC.java:100)
       - locked <0x44d69168> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=1 tid=0x08295200 nid=0xe62 in Object.wait()
[be1ff000..be1ff8cc]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x44ceed88> (a java.lang.ref.ReferenceQueue$Lock)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
       - locked <0x44ceed88> (a java.lang.ref.ReferenceQueue$Lock)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
       at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:330)
       at java.lang.Thread.run(Thread.java:534)

"RMI TCP Accept-0" daemon prio=1 tid=0x0829d708 nid=0xe61 runnable
[be3ff000..be3ff8cc]
       at java.net.PlainSocketImpl.socketAccept(Native Method)
       at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
       - locked <0x44d68f58> (a java.net.PlainSocketImpl)
       at java.net.ServerSocket.implAccept(ServerSocket.java:448)
       at java.net.ServerSocket.accept(ServerSocket.java:419)
       at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
       at java.lang.Thread.run(Thread.java:534)

"RMI TCP Accept-1099" daemon prio=1 tid=0x08177630 nid=0xe60 runnable
[be5ff000..be5ff8cc]
       at java.net.PlainSocketImpl.socketAccept(Native Method)
       at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
       - locked <0x44ced320> (a java.net.PlainSocketImpl)
       at java.net.ServerSocket.implAccept(ServerSocket.java:448)
       at java.net.ServerSocket.accept(ServerSocket.java:419)
       at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
       at java.lang.Thread.run(Thread.java:534)

"Thread-1" daemon prio=1 tid=0x08177230 nid=0xe5f in Object.wait()
[be7ff000..be7ff8cc]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x44ced3f8> (a java.util.TaskQueue)
       at java.lang.Object.wait(Object.java:429)
       at java.util.TimerThread.mainLoop(Timer.java:403)
       - locked <0x44ced3f8> (a java.util.TaskQueue)
       at java.util.TimerThread.run(Timer.java:382)

"ClassServer-130.130.88.188:2010" prio=1 tid=0x0816dcd0 nid=0xe5e runnable
[be9ff000..be9ff8cc]
       at java.net.PlainSocketImpl.socketAccept(Native Method)
       at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
       - locked <0x44ced460> (a java.net.PlainSocketImpl)
       at java.net.ServerSocket.implAccept(ServerSocket.java:448)
       at java.net.ServerSocket.accept(ServerSocket.java:419)
       at
org.objectweb.proactive.core.rmi.ClassServer.run(ClassServer.java:187)
       at java.lang.Thread.run(Thread.java:534)

"Signal Dispatcher" daemon prio=1 tid=0x080980e0 nid=0xe5a waiting on
condition [0..0]

"Finalizer" daemon prio=1 tid=0x08093928 nid=0xe58 in Object.wait()
[bf3ff000..bf3ff8cc]
       at java.lang.Object.wait(Native Method)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
       - locked <0x44cb8d88> (a java.lang.ref.ReferenceQueue$Lock)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
       at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x08092db0 nid=0xe57 in Object.wait()
[bf5ff000..bf5ff8cc]
       at java.lang.Object.wait(Native Method)
       at java.lang.Object.wait(Object.java:429)
       at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
       - locked <0x44cb8df0> (a java.lang.ref.Reference$Lock)

"main" prio=1 tid=0x0805af68 nid=0xe54 in Object.wait() [bfffd000..bfffd7b8]
       at java.lang.Object.wait(Native Method)
       at
org.objectweb.proactive.core.body.future.FutureProxy.waitFor(FutureProxy.jav
a:369)
       - locked <0x452c99f0> (a
org.objectweb.proactive.core.body.future.FutureProxy)
       at
org.objectweb.proactive.core.body.future.FutureProxy.waitFor(FutureProxy.jav
a:328)
       - locked <0x452c99f0> (a
org.objectweb.proactive.core.body.future.FutureProxy)
       at
org.objectweb.proactive.core.body.future.FutureProxy.getRaisedException(Futu
reProxy.java:245)
       - locked <0x452c99f0> (a
org.objectweb.proactive.core.body.future.FutureProxy)
       at
org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.reifyAsSynchronous
(AbstractBodyProxy.java:314)
       at
org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.reify(AbstractBody
Proxy.java:130)
       at
pa.stub.pr.p_media.p2p.simulation.Stub_NormalPeer.sendResourceRequestToSuper
PeerTraditional(<generated>)
       - locked <0x452c9578> (a
pa.stub.pr.p_media.p2p.simulation.Stub_NormalPeer)
       at
pr.p_media.p2p.simulation.P2PSimulator.startSimulation(P2PSimulator.java:346
)
       at pr.p_media.p2p.simulation.P2PSimulator.main(P2PSimulator.java:63)

"VM Thread" prio=1 tid=0x0808fc08 nid=0xe56 runnable
"VM Periodic Task Thread" prio=1 tid=0x0809a808 nid=0xe5c waiting on
condition "Suspend Checker Thread" prio=1 tid=0x08097740 nid=0xe59 runnable


--
Romain Quilici
Software Engineer
OASIS Team - INRIA Sophia-Antipolis
04 92 38 71 65
Romain.Quilici@xxxxxxxxxxxxxxx
http://www.inria.fr/oasis/Romain.Quilici/




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.