commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Warren Crossing <war...@opencloud.com>
Subject [Launcher] Eating my cpu
Date Mon, 10 Oct 2005 03:43:07 GMT
My Cpu level suddenly shot up to 99% "wow that's a lot of work for a 
AMD Athlon(tm) 64 Processor 3500+ (actually a 2.2Ghz).

Then I checked top like this

top

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 

28862 warren    25   0  431m 218m  48m R 81.4 21.6  34:22.14 
/opt/j2sdk1.4.2_08/jre/bin/java -Xdebug -

Then using Nicks outstanding knowledge of python
python

 >>> "%x" % 28862
'70be'


Then I hit CTRL-\ for SIG QUIT  and get this...

Thread 0 is eating all the CPU, but why? If know one knows I will check 
the code site?

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

"Thread-6" prio=1 tid=0x082592d0 nid=0x70b1 runnable [be1ff000..be1ff8cc]
         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 <0x44c93d10> (a java.io.BufferedInputStream)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at 
org.apache.commons.launcher.StreamConnector.run(StreamConnector.java:74)

"Thread-5" prio=1 tid=0x08259080 nid=0x70af runnable [be5ff000..be5ff8cc]
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:177)
         at 
org.apache.commons.launcher.StreamConnector.run(StreamConnector.java:74)

"Thread-4" prio=1 tid=0x08258e90 nid=0x70ae runnable [be7ff000..be7ff8cc]
         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 <0x447c1dd0> (a java.io.BufferedInputStream)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at 
org.apache.commons.launcher.StreamConnector.run(StreamConnector.java:74)

"process reaper" daemon prio=1 tid=0x082583b8 nid=0x70aa runnable 
[be9ff000..be9ff8cc]
         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)

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

"Finalizer" daemon prio=1 tid=0x080932f0 nid=0x7096 in Object.wait() 
[bf3ff000..bf3ff8cc]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x44c921c8> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x44c921c8> (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=0x08092778 nid=0x7095 in 
Object.wait() [bf5ff000..bf5ff8cc]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x44c92230> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Object.java:429)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
         - locked <0x44c92230> (a java.lang.ref.Reference$Lock)

"main" prio=1 tid=0x0805b9a0 nid=0x7092 in Object.wait() 
[bfffb000..bfffc718]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x447bb8c8> (a java.lang.UNIXProcess)
         at java.lang.Object.wait(Object.java:429)
         at java.lang.UNIXProcess.waitFor(UNIXProcess.java:160)
         - locked <0x447bb8c8> (a java.lang.UNIXProcess)
         at 
org.apache.commons.launcher.LaunchTask.execute(LaunchTask.java:664)
         at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at org.apache.commons.launcher.Launcher.start(Launcher.java:370)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at LauncherBootstrap.main(LauncherBootstrap.java:142)

"VM Thread" prio=1 tid=0x0808f5f0 nid=0x7094 runnable

"VM Periodic Task Thread" prio=1 tid=0x080aab20 nid=0x709a waiting on 
condition
"Suspend Checker Thread" prio=1 tid=0x080a7a40 nid=0x7097 runnable


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message