jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McCune, Tim" <tmcc...@yahoo-inc.com>
Subject RE: Remote testing hangs
Date Tue, 03 Oct 2006 20:31:57 GMT
-----Original Message-----
> From: Rajesh Balamohan [mailto:rbalamohan@sonoasystems.com] 
> Couple of things you may want to check.
> 1. Ensure that 127.0.0.1 is not there in /etc/hosts file in both server
> and client.

Umm, sure it is.  I tried commenting that line out, but that hosed my box.
:)  Why wouldn't you want that line in /etc/hosts??

> 2. Ensure that your jmeter-server is running in linux box.

It is running on both the Linux and Windows boxes.

> 3. Ensure that you are able to ping the client box from your server.

Yep.  I can telnet to the RMI port as well, on both boxes.

> What do you mean by freezing?. Does the CPU utilization go high in the
> client? Is the server trying to contact the client?. If you look at the
> logs, you can come to know about this.

Nope, no CPU utilization.  The Jmeter GUI just becomes unresponsive to
anything.  It looks like someone is performing a blocking operation on the
GUI's event thread, which is typically a Bad Thing.

I'm attaching the log file with debug enabled.

> Did you try taking any thread-dump when you said its freezing?. do a "kill
> -QUIT <pid of linux jmeter-server>" to get a threaddump.

Yep, here's the thread dump:

Full thread dump Java HotSpot(TM) Server VM (1.5.0_08-b03 mixed mode):

"GC Daemon" daemon prio=1 tid=0x9b6afb78 nid=0x19e5 in Object.wait()
[0x9c25a000..0x9c25aeb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa564fbb0> (a sun.misc.GC$LatencyLock)
        at sun.misc.GC$Daemon.run(GC.java:100)
        - locked <0xa564fbb0> (a sun.misc.GC$LatencyLock)

"RMI RenewClean-[10.72.17.46:1196]" daemon prio=1 tid=0x9b6af728 nid=0x19e4
in Object.wait() [0x9c0d7000..0x9c0d7e30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa564f7c0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0xa564f7c0> (a java.lang.ref.ReferenceQueue$Lock)
        at
sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.jav
a:501)
        at java.lang.Thread.run(Thread.java:595)

"DestroyJavaVM" prio=1 tid=0x0805cb20 nid=0x19bf waiting on condition
[0x00000000..0xbfffd260]

"TimerQueue" daemon prio=1 tid=0x086b8dd8 nid=0x19d4 in Object.wait()
[0x9beba000..0x9bebb030]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa5650910> (a javax.swing.TimerQueue)
        at javax.swing.TimerQueue.run(TimerQueue.java:233)
        - locked <0xa5650910> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Thread.java:595)

"AWT-EventQueue-0" prio=1 tid=0x084bddf0 nid=0x19d2 runnable
[0x9c03d000..0x9c03df30]
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        - locked <0xa5650070> (a java.net.SocksSocketImpl)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:516)
        at java.net.Socket.connect(Socket.java:466)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
actory.java:22)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
actory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
        at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source)
        at
sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:328)
        at
sun.rmi.transport.DGCClient$EndpointEntry.registerRefs(DGCClient.java:275)
        at sun.rmi.transport.DGCClient.registerRefs(DGCClient.java:112)
        at
sun.rmi.transport.ConnectionInputStream.registerRefs(ConnectionInputStream.j
ava:80)
        at
sun.rmi.transport.StreamRemoteCall.releaseInputStream(StreamRemoteCall.java:
134)
        at
sun.rmi.transport.StreamRemoteCall.done(StreamRemoteCall.java:284)
        at sun.rmi.server.UnicastRef.done(UnicastRef.java:415)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at
org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.jav
a:51)
        at
org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:5
5)
        at
org.apache.jmeter.gui.action.RemoteStart.doRemoteInit(RemoteStart.java:169)
        at
org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:76)
        at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:75
)
        at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:43)
        at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:60)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

"AWT-Shutdown" prio=1 tid=0x086f5370 nid=0x19d1 in Object.wait()
[0x9bfbc000..0x9bfbceb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa56510b0> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
        - locked <0xa56510b0> (a java.lang.Object)
        at java.lang.Thread.run(Thread.java:595)

"AWT-XAWT" daemon prio=1 tid=0x085e01b8 nid=0x19ca runnable
[0x9c2db000..0x9c2dbf30]
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(XToolkit.java:463)
        at sun.awt.X11.XToolkit.run(XToolkit.java:438)
        at java.lang.Thread.run(Thread.java:595)

"Java2D Disposer" daemon prio=1 tid=0x08499980 nid=0x19c9 in Object.wait()
[0x9c364000..0x9c364eb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa56511b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0xa56511b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.java2d.Disposer.run(Disposer.java:107)
        at java.lang.Thread.run(Thread.java:595)

"Low Memory Detector" daemon prio=1 tid=0x080f7060 nid=0x19c7 runnable
[0x00000000..0x00000000]

"CompilerThread1" daemon prio=1 tid=0x080f5b90 nid=0x19c6 waiting on
condition [0x00000000..0x9cf55358]

"CompilerThread0" daemon prio=1 tid=0x080f4ae8 nid=0x19c5 waiting on
condition [0x00000000..0x9cfd62d8]

"AdapterThread" daemon prio=1 tid=0x080f3960 nid=0x19c4 waiting on condition
[0x00000000..0x00000000]

"Signal Dispatcher" daemon prio=1 tid=0x080f2b30 nid=0x19c3 runnable
[0x00000000..0x00000000]

"Finalizer" daemon prio=1 tid=0x080e8280 nid=0x19c2 in Object.wait()
[0x9d359000..0x9d359f30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa56517b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0xa56517b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x080e7d20 nid=0x19c1 in Object.wait()
[0x9d3da000..0x9d3daeb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0xa5650890> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0xa5650890> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=1 tid=0x080e57f0 nid=0x19c0 runnable

"VM Periodic Task Thread" prio=1 tid=0x080f8548 nid=0x19c8 waiting on
condition

It looks like the connect is just blocked, but it's not apparent why.  Like
I said, I can telnet to the RMI port on the remote machine with no problem.



Mime
View raw message