powered by Jive Software

Spark-2.5.7 eating cpu

Hi all,

Just installed Spark-2.5.7 for linux and it is simply eating my CPU. I’m running Spark-2.5.7 in a Pentium IV 2.8 with 1GB of RAM. Spark takes 6% of my memory (which I believe is normal) and 25%-50% all the time. Comparing with version 2.5.6 here it is what I see using the top command:

Spark-2.5.6

PID

USERPR

NI

VIRT

RES

SHR

S

%CPU

%MEM

TIME+

COMMAND

1193

user_1

25

0

311m

66m

20m

1.3

6.7

1:33.63

java

Spark-2.5.7

PID

USERPR

NI

VIRT

RES

SHR

S

%CPU

%MEM

TIME+

COMMAND

1618

user_1

17

0

234m

60m

14m

26.3

6.0

4:25.08

java

Any ideas?

thx,

sergio

Hi Sergio,

it may help to identify the thread which is causing the high CPU. Take a look at JVM Settings and Debugging, Debugging to identify the thread or try directly to set Xms and Xmx to a higher value (default should be 64 MB) as described in Spark Memory Settings.

LG

hi LG,

did what you said and found the thread that (probably) is causing the high CPU usage. That thing is … now what? I did try to use

-Xms64m

-Xmx64m (INSTALL4J_ADD_VM_PARAMS) but nothing happened. Any thoughts ?

sergio

!http://www.answers.com/main/images/close.gif!

!http://www.answers.com/main/images/answers-logo.gif![ Options >>|http://www.answers.com]

| |

Hi Sergio,

I guess that you have now a stack trace and the PID of the process, so you should be able to post the stack trace of the thread which is causing the high CPU usage. If you want to change the default parameters you may want to set them to 96m in Spark.vmoptions (but this helps only if Spark is using more CPU because of garbage collections).

LG

Hi LG,

I did limit the amount of memory using Spark.vmoptions but with no luck. Spark stills has a high cpu usage. Also, I did try to use another JVM (OS native) but the behavior is pretty much the same. I don’t know what else can be done.

thx,

Sergio

Hi Sergio,

did you take a thread dump of Spark and could you please post the thread which is using the CPU?

LG

LG, I was trying to do that but I confess I didn’t fully understand how to do it. I did follow the documents you said but I get is the PID of the possible thread. After that I don’t know how to get the trace to post here.

Hi,

On linux a “kill -3 spark-pid” could be fine, but as I do not run Spark on Linux I have no idea if this really works and where the dump will be written, maybe to stderr.log or nohup.out or to /dev/null - you may want to look for it.

If you don’t fine one use http://www.adaptj.com/root/main/stacktrace - the link is also in the document.

LG

Hi LG,

I believe it is what you are looking for I hope this can help us.

-xxx-

2007-09-28 08:17:43

Full thread dump Java HotSpot™ Client VM (1.6.0_02-b05 mixed mode):

“StackTrace Remote Thread” prio=10 tid=0x08dea400 nid=0x4a09 runnable http://0x00000000…0xac6e10d0

java.lang.Thread.State: RUNNABLE

“pool-spark4” daemon prio=10 tid=0x09124000 nid=0x4a00 waiting on condition http://0xad06a000…0xad06b1d0

java.lang.Thread.State: TIMED_WAITING (parking)

at sun.misc.Unsafe.park(Native Method)

  • parking to wait for <0xae645f80> (a java.util.concurrent.SynchronousQueue$TransferStack)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)

at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source)

at java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)

at java.util.concurrent.SynchronousQueue.poll(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Timer-15” prio=10 tid=0x08a8cc00 nid=0x493f in Object.wait() http://0xacb17000…0xacb171d0

java.lang.Thread.State: TIMED_WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0xaf234d28> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“pool-spark1” daemon prio=10 tid=0x08fcc000 nid=0x4926 waiting on condition http://0xad1ff000…0xad200150

java.lang.Thread.State: WAITING (parking)

at sun.misc.Unsafe.park(Native Method)

  • parking to wait for <0xae6c61f8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

at java.util.concurrent.locks.LockSupport.park(Unknown Source)

at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unk nown Source)

at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)

at org.jivesoftware.sparkimpl.profile.VCardManager$2.run(VCardManager.java:168)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Timer-0” prio=10 tid=0x08f47800 nid=0x4925 in Object.wait() http://0xad250000…0xad250ed0

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0xae6629b8> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“timer-spark” daemon prio=10 tid=0x08f68000 nid=0x4924 in Object.wait() http://0xac824000…0xac824e50

java.lang.Thread.State: TIMED_WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0xae6310c8> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“Smack Listener Processor (0)” daemon prio=10 tid=0x08aab800 nid=0x4921 waiting on condition http://0xac917000…0xac9180d0

java.lang.Thread.State: WAITING (parking)

at sun.misc.Unsafe.park(Native Method)

  • parking to wait for <0xae52bec0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

at java.util.concurrent.locks.LockSupport.park(Unknown Source)

at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unk nown Source)

at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Smack Keep Alive (0)” daemon prio=10 tid=0x08aa7c00 nid=0x4920 waiting on condition http://0xac968000…0xac969050

java.lang.Thread.State: TIMED_WAITING (sleeping)

at java.lang.Thread.sleep(Native Method)

at org.jivesoftware.smack.PacketWriter$KeepAliveTask.run(PacketWriter.java:451)

at java.lang.Thread.run(Unknown Source)

“Smack Packet Reader (0)” daemon prio=10 tid=0x089bd400 nid=0x491f runnable http://0xac9c3000…0xac9c41d0

java.lang.Thread.State: RUNNABLE

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

  • locked <0xae5b3d88> (a java.lang.Object)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

  • locked <0xae5b3d90> (a com.sun.net.ssl.internal.ssl.AppInputStream)

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

  • locked <0xae5d6068> (a java.io.InputStreamReader)

at java.io.InputStreamReader.read(Unknown Source)

at java.io.BufferedReader.fill(Unknown Source)

at java.io.BufferedReader.read1(Unknown Source)

at java.io.BufferedReader.read(Unknown Source)

  • locked <0xae5d6068> (a java.io.InputStreamReader)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)

at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:368)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)

“Smack Packet Writer (0)” daemon prio=10 tid=0x08acb800 nid=0x491e in Object.wait() http://0xaca14000…0xaca15150

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at org.jivesoftware.smack.PacketWriter.nextPacket(PacketWriter.java:239)

  • locked <0xae524478> (a java.util.concurrent.ArrayBlockingQueue)

at org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:255)

at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:87)

“TimerQueue” daemon prio=10 tid=0x08e65400 nid=0x491b in Object.wait() http://0xacab6000…0xacab6fd0

java.lang.Thread.State: TIMED_WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at javax.swing.TimerQueue.run(Unknown Source)

  • locked <0xae50cdc0> (a javax.swing.TimerQueue)

at java.lang.Thread.run(Unknown Source)

“DestroyJavaVM” prio=10 tid=0x0899a000 nid=0x490a waiting on condition http://0x00000000…0xb7f9d120

java.lang.Thread.State: RUNNABLE

“AWT-EventQueue-0” prio=10 tid=0x08d27000 nid=0x4919 in Object.wait() http://0xad39e000…0xad39f0d0

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at java.awt.EventQueue.getNextEvent(Unknown Source)

  • locked <0xae3a7370> (a java.awt.EventQueue)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

“AWT-Shutdown” prio=10 tid=0x08d20000 nid=0x4918 in Object.wait() http://0xad3ef000…0xad3f0050

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at sun.awt.AWTAutoShutdown.run(Unknown Source)

  • locked <0xae38acd8> (a java.lang.Object)

at java.lang.Thread.run(Unknown Source)

“AWT-XAWT” daemon prio=10 tid=0x08d15400 nid=0x4917 runnable http://0xad441000…0xad4411d0

java.lang.Thread.State: RUNNABLE

at sun.awt.X11.XToolkit.waitForEvents(Native Method)

at sun.awt.X11.XToolkit.run(Unknown Source)

at sun.awt.X11.XToolkit.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Java2D Disposer” daemon prio=10 tid=0x08ce7400 nid=0x4916 in Object.wait() http://0xad779000…0xad77a150

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

  • locked <0xae3b8890> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

at sun.java2d.Disposer.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Low Memory Detector” daemon prio=10 tid=0x089fe400 nid=0x4910 runnable http://0x00000000…0x00000000

java.lang.Thread.State: RUNNABLE

“CompilerThread0” daemon prio=10 tid=0x089fcc00 nid=0x490f waiting on condition http://0x00000000…0xad8de9e8

java.lang.Thread.State: RUNNABLE

“Signal Dispatcher” daemon prio=10 tid=0x089fb800 nid=0x490e runnable http://0x00000000…0x00000000

java.lang.Thread.State: RUNNABLE

“Finalizer” daemon prio=10 tid=0x089ea000 nid=0x490d in Object.wait() http://0xadb80000…0xadb81050

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

  • locked <0xae381728> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

“Reference Handler” daemon prio=10 tid=0x089e9000 nid=0x490c in Object.wait() http://0xadbd2000…0xadbd21d0

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

  • locked <0xae3817b8> (a java.lang.ref.Reference$Lock)

“VM Thread” prio=10 tid=0x089e4400 nid=0x490b runnable

“VM Periodic Task Thread” prio=10 tid=0x089ffc00 nid=0x4911 waiting on condition

attach 18713

GNU gdb Red Hat Linux (6.3.0.0-1.122rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type “show copying” to see the conditions.

There is absolutely no warranty for GDB. Type “show warranty” for details.

This GDB was configured as “i386-redhat-linux-gnu”.

(gdb) (gdb) Attaching to process 18713

info sharedlibrary dyld

warning: The current VSYSCALL page code requires an existing execuitable.

Use “add-symbol-file-from-memory” to load the VSYSCALL page by hand

Reading symbols from /usr/local/Spark-2.5.7/jre/bin/java…(no debugging symbols found)…done.

Using host libthread_db library “/lib/libthread_db.so.1”.

Reading symbols from /lib/libpthread.so.0…(no debugging symbols found)…done.

Loaded symbols for /lib/libpthread.so.0

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/jli/libjli.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/bin/…/lib/i386/jli/libjli.so

Reading symbols from /lib/libdl.so.2…(no debugging symbols found)…done.

Loaded symbols for /lib/libdl.so.2

Reading symbols from /lib/libc.so.6…

(no debugging symbols found)…done.

Loaded symbols for /lib/libc.so.6

Reading symbols from /lib/ld-linux.so.2…(no debugging symbols found)…done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so…

call (void *)dlopen("/home/s_pereira/.java/deployment/cache/javaws/http/Dwww.adaptj.com/P8 0/DMroot/DMwebstart/DMstacktrace/DMapp/RNlinuxproc.jar/libdump.so", 1)

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so

Reading symbols from /lib/libm.so.6…(no debugging symbols found)…done.

Loaded symbols for /lib/libm.so.6

Reading symbols from /lib/librt.so.1…

(no debugging symbols found)…done.

Loaded symbols for /lib/librt.so.1

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/native_threads/libhpi.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/native_threads/libhpi.so

Reading symbols from /lib/libnsl.so.1…

(no debugging symbols found)…done.

Loaded symbols for /lib/libnsl.so.1

Reading symbols from /lib/libnss_files.so.2…(no debugging symbols found)…done.

Loaded symbols for /lib/libnss_files.so.2

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libverify.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libverify.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libjava.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libjava.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libzip.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libzip.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libawt.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libawt.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libmlib_image.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libmlib_image.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/xawt/libmawt.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/xawt/libmawt.so

Reading symbols from /usr/lib/libXext.so.6…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXext.so.6

Reading symbols from /usr/lib/libX11.so.6…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libX11.so.6

Reading symbols from /usr/lib/libXtst.so.6…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXtst.so.6

Reading symbols from /usr/lib/libXi.so.6…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXi.so.6

Reading symbols from /usr/lib/libXau.so.6…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXau.so.6

Reading symbols from /usr/lib/libXdmcp.so.6…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXdmcp.so.6

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libfontmanager.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libfontmanager.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libnet.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libnet.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libnio.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libnio.so

Reading symbols from /usr/lib/libXcursor.so.1…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXcursor.so.1

Reading symbols from /usr/lib/libXrender.so.1…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXrender.so.1

Reading symbols from /usr/lib/libXfixes.so.3…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXfixes.so.3

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libcmm.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libcmm.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libdcpr.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libdcpr.so

Reading symbols from /home/s_pereira/.Spark/plugins/idlelinux/lib/libLinuxIdle.so…done.

Loaded symbols for /home/s_pereira/.Spark/plugins/idlelinux/lib/libLinuxIdle.so

Reading symbols from /usr/lib/libXss.so.1…done.

Loaded symbols for /usr/lib/libXss.so.1

Reading symbols from /usr/lib/libstdc++.so.6…done.

Loaded symbols for /usr/lib/libstdc++.so.6

Reading symbols from /lib/libgcc_s.so.1…done.

Loaded symbols for /lib/libgcc_s.so.1

0xb7fbf402 in ??

()

(gdb) From To Syms Read Shared Object Library

0x00467510 0x0046fdb4 Yes /lib/libpthread.so.0

0xb7fa0e50 0xb7fa6000 Yes /usr/local/Spark-2.5.7/jre/bin/…/lib/i386/jli/libjli.so

0x00d4dc40 0x00d4eb14 Yes /lib/libdl.so.2

0x001165f0 0x002039a8 Yes /lib/libc.so.6

0x00499820 0x004ae1df Yes /lib/ld-linux.so.2

0x060b7500 0x063e0760 Yes /usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so

0x00d29360 0x00d43dc4 Yes /lib/libm.so.6

0x0079fcb0 0x007a3a74 Yes /lib/librt.so.1

0xb7fb7260 0xb7fbadf0 Yes /usr/local/Spark-2.5.7/jre/lib/i386/native_threads/libhpi.so

0x07fc7450 0x07fd37e4 Yes /lib/libnsl.so.1

0xb7fabb20 0xb7fb1fd4 Yes /lib/libnss_files.so.2

0xb7f3b0e0 0xb7f41e50 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libverify.so

0xb7f1e830 0xb7f33fa0 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libjava.so

0xb7f04c10 0xb7f0f870 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libzip.so

0xad609c70 0xad66be90 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libawt.so

0xad52cb10 0xad5e5c20 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libmlib_image.so

0xad4f6930 0xad523770 Yes /usr/local/Spark-2.5.7/jre/lib/i386/xawt/libmawt.so

0x00db8730 0x00dc23f4 Yes /usr/lib/libXext.so.6

0x0024ac30 0x002d83d4 Yes /usr/lib/libX11.so.6

0x00b22080 0x00b24cf4 Yes /usr/lib/libXtst.so.6

0x068952c0 0x0689a264 Yes /usr/lib/libXi.so.6

0x00d68b20 0x00d697d4 Yes /usr/lib/libXau.so.6

0x00d6df90 0x00d6fbb4 Yes /usr/lib/libXdmcp.so.6

0xad463d80 0xad4c4780 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libfontmanager.so

0xad44d2a0 0xad45b770 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libnet.so

0xad444a00 0xad447e50 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libnio.so

0x06883360 0x06888524 Yes /usr/lib/libXcursor.so.1

0x00df2490 0x00df7b54 Yes /usr/lib/libXrender.so.1

0x0688df60 0x06890114 Yes /usr/lib/libXfixes.so.3

0xacb19aa0 0xacb6a7e0 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libcmm.so

0xad29cee0 0xad2ae910 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libdcpr.so

0xacb90674 0xacb9088c Yes /home/s_pereira/.Spark/plugins/idlelinux/lib/libLinuxIdle.so

0x00b30a40 0x00b31744 Yes /usr/lib/libXss.so.1

0x02ef2e60 0x02f70dd4 Yes /usr/lib/libstdc++.so.6

0x02ea77e0 0x02eaef94 Yes /lib/libgcc_s.so.1

(gdb)

$1 = (void *) 0x8b44900

call (void *)dlsym($1, “inject_start”)

(gdb) $2 = (void *) 0xacb8c8f0

call ($2)("/usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so", “/tmp/stacktrace55054data”, 513)

(gdb) $3 = 0

detach

(gdb) Detaching from program: /usr/local/Spark-2.5.7/jre/bin/java, process 18713

quit

-xxx-

Hi Sergio,

without the thread ID (TID) it’s not clear which of the threads is consuming your CPU. For me it looks quite normal, so you may want to post a thread dump and the output of `ps -T -p spark-pid -o pid,tid,pri,time | grep -v '00:00:00’´.

LG

Same here: Spark uses 45-90% of my 1GHz PPC G4 Powerbook (2GB RAM) and partially makes my computer unusable.

PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE

510 JavaApplic 57.7% 63:30.12 28 >>> 730 199M+ 18.4M 179M+ 533M

If somebody can tell my how i can create a thread dump in OSX, I can provide one.

Ok LG … here we go again …

ps -T -p 15456 -o pid,tid,pri,time | grep -v ‘00:00:00’

PID TID PRI TIME

15456 15458 24 00:00:09

15456 15462 24 00:00:01

15456 15466 24 00:00:01

15456 15468 24 00:01:46

the strace :

-xxx-

2007-10-05 10:10:14

Full thread dump Java HotSpot™ Client VM (1.6.0_02-b05 mixed mode, sharing):

“StackTrace Remote Thread” prio=10 tid=0x085b2400 nid=0x3d91 runnable http://0x00000000…0xb43ae0d0

java.lang.Thread.State: RUNNABLE

“pool-spark4” daemon prio=10 tid=0x08a15800 nid=0x3d06 waiting on condition http://0xb5109000…0xb5109fd0

java.lang.Thread.State: TIMED_WAITING (parking)

at sun.misc.Unsafe.park(Native Method)

  • parking to wait for <0x8c9b3568> (a java.util.concurrent.SynchronousQueue$TransferStack)

at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)

at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source)

at java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)

at java.util.concurrent.SynchronousQueue.poll(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Timer-13” prio=10 tid=0x0893f400 nid=0x3c91 in Object.wait() http://0xb499c000…0xb499ce50

java.lang.Thread.State: TIMED_WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0x8d5ebb58> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“Timer-12” prio=10 tid=0x089e6400 nid=0x3c8d in Object.wait() http://0xb4d8e000…0xb4d8f050

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

  • waiting on <0x8d53c050> (a java.util.TaskQueue)

at java.lang.Object.wait(Object.java:485)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0x8d53c050> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“pool-spark1” daemon prio=10 tid=0x08a14800 nid=0x3c7a waiting on condition http://0xb515a000…0xb515b1d0

java.lang.Thread.State: WAITING (parking)

at sun.misc.Unsafe.park(Native Method)

  • parking to wait for <0x8ca4b148> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

at java.util.concurrent.locks.LockSupport.park(Unknown Source)

at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unk nown Source)

at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)

at org.jivesoftware.sparkimpl.profile.VCardManager$2.run(VCardManager.java:168)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Timer-0” prio=10 tid=0x08970400 nid=0x3c79 in Object.wait() http://0xb51ab000…0xb51abe50

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0x8c9eab08> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“timer-spark” daemon prio=10 tid=0x0894cc00 nid=0x3c78 in Object.wait() http://0xb470a000…0xb470aed0

java.lang.Thread.State: TIMED_WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.util.TimerThread.mainLoop(Unknown Source)

  • locked <0x8c9b9568> (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)

“Smack Listener Processor (0)” daemon prio=10 tid=0x085c1400 nid=0x3c74 waiting on condition http://0xb484e000…0xb484f0d0

java.lang.Thread.State: WAITING (parking)

at sun.misc.Unsafe.park(Native Method)

  • parking to wait for <0x8c8b3380> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

at java.util.concurrent.locks.LockSupport.park(Unknown Source)

at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unk nown Source)

at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Smack Keep Alive (0)” daemon prio=10 tid=0x085aa800 nid=0x3c73 waiting on condition http://0xb48a0000…0xb48a0150

java.lang.Thread.State: TIMED_WAITING (sleeping)

at java.lang.Thread.sleep(Native Method)

at org.jivesoftware.smack.PacketWriter$KeepAliveTask.run(PacketWriter.java:451)

at java.lang.Thread.run(Unknown Source)

“Smack Packet Reader (0)” daemon prio=10 tid=0x084a6000 nid=0x3c72 runnable http://0xb48fa000…0xb48fb1d0

java.lang.Thread.State: RUNNABLE

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)

at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

  • locked <0x8c937688> (a java.lang.Object)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)

  • locked <0x8c9376b8> (a com.sun.net.ssl.internal.ssl.AppInputStream)

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)

at sun.nio.cs.StreamDecoder.implRead(Unknown Source)

at sun.nio.cs.StreamDecoder.read(Unknown Source)

  • locked <0x8c93fbb0> (a java.io.InputStreamReader)

at java.io.InputStreamReader.read(Unknown Source)

at java.io.BufferedReader.fill(Unknown Source)

at java.io.BufferedReader.read1(Unknown Source)

at java.io.BufferedReader.read(Unknown Source)

  • locked <0x8c93fbb0> (a java.io.InputStreamReader)

at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)

at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)

at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)

at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:368)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76)

“Smack Packet Writer (0)” daemon prio=10 tid=0x086d3800 nid=0x3c71 in Object.wait() http://0xb494b000…0xb494be50

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at org.jivesoftware.smack.PacketWriter.nextPacket(PacketWriter.java:239)

  • locked <0x8c8ac7f0> (a java.util.concurrent.ArrayBlockingQueue)

at org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:255)

at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:87)

“DestroyJavaVM” prio=10 tid=0x08429000 nid=0x3c61 waiting on condition http://0x00000000…0xb7f0e120

java.lang.Thread.State: RUNNABLE

“TimerQueue” daemon prio=10 tid=0x0888b800 nid=0x3c6e in Object.wait() http://0xb49ed000…0xb49edfd0

java.lang.Thread.State: TIMED_WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at javax.swing.TimerQueue.run(Unknown Source)

  • locked <0x8c8965d0> (a javax.swing.TimerQueue)

at java.lang.Thread.run(Unknown Source)

“AWT-EventQueue-0” prio=10 tid=0x08758c00 nid=0x3c6c runnable http://0xb52f9000…0xb52fa0d0

java.lang.Thread.State: RUNNABLE

at java.lang.Class.getComponentType(Native Method)

at java.util.Arrays.copyOf(Unknown Source)

at java.util.Arrays.copyOf(Unknown Source)

at java.awt.Container.getComponents_NoClientCode(Unknown Source)

  • locked <0x8c747458> (a java.awt.Component$AWTTreeLock)

at java.awt.Container.getComponents(Unknown Source)

at java.awt.GridBagLayout.preInitMaximumArraySizes(Unknown Source)

at java.awt.GridBagLayout.GetLayoutInfo(Unknown Source)

  • locked <0x8c747458> (a java.awt.Component$AWTTreeLock)

at java.awt.GridBagLayout.getLayoutInfo(Unknown Source)

at java.awt.GridBagLayout.preferredLayoutSize(Unknown Source)

at java.awt.Container.preferredSize(Unknown Source)

  • locked <0x8c747458> (a java.awt.Component$AWTTreeLock)

at java.awt.Container.getPreferredSize(Unknown Source)

at javax.swing.JComponent.getPreferredSize(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)

at javax.swing.JComponent.getPreferredSize(Unknown Source)

at org.jivesoftware.spark.component.VerticalFlowLayout.layoutContainer(VerticalFlo wLayout.java:244)

at java.awt.Container.layout(Unknown Source)

at java.awt.Container.doLayout(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validateTree(Unknown Source)

at java.awt.Container.validate(Unknown Source)

  • locked <0x8c747458> (a java.awt.Component$AWTTreeLock)

at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)

at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

“AWT-Shutdown” prio=10 tid=0x08754800 nid=0x3c6b in Object.wait() http://0xb534a000…0xb534b150

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at sun.awt.AWTAutoShutdown.run(Unknown Source)

  • locked <0x8c70f980> (a java.lang.Object)

at java.lang.Thread.run(Unknown Source)

“AWT-XAWT” daemon prio=10 tid=0x0874f400 nid=0x3c6a runnable http://0xb539c000…0xb539c1d0

java.lang.Thread.State: RUNNABLE

at sun.awt.X11.XToolkit.waitForEvents(Native Method)

at sun.awt.X11.XToolkit.run(Unknown Source)

at sun.awt.X11.XToolkit.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Java2D Disposer” daemon prio=10 tid=0x08738000 nid=0x3c69 in Object.wait() http://0xb5408000…0xb5408e50

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

  • locked <0x8c740230> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

at sun.java2d.Disposer.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

“Low Memory Detector” daemon prio=10 tid=0x0845d000 nid=0x3c67 runnable http://0x00000000…0x00000000

java.lang.Thread.State: RUNNABLE

“CompilerThread0” daemon prio=10 tid=0x0845b800 nid=0x3c66 waiting on condition http://0x00000000…0xb59e8a68

java.lang.Thread.State: RUNNABLE

“Signal Dispatcher” daemon prio=10 tid=0x0845a400 nid=0x3c65 runnable http://0x00000000…0x00000000

java.lang.Thread.State: RUNNABLE

“Finalizer” daemon prio=10 tid=0x08452000 nid=0x3c64 in Object.wait() http://0xb5c8a000…0xb5c8b0d0

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

  • locked <0x8c700cf8> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

“Reference Handler” daemon prio=10 tid=0x08451000 nid=0x3c63 in Object.wait() http://0xb5cdc000…0xb5cdc150

java.lang.Thread.State: WAITING (on object monitor)

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Object.java:485)

at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

  • locked <0x8c700d88> (a java.lang.ref.Reference$Lock)

“VM Thread” prio=10 tid=0x08447800 nid=0x3c62 runnable

“VM Periodic Task Thread” prio=10 tid=0x0845ec00 nid=0x3c68 waiting on condition

attach 15468

GNU gdb Red Hat Linux (6.3.0.0-1.122rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type “show copying” to see the conditions.

There is absolutely no warranty for GDB. Type “show warranty” for details.

This GDB was configured as “i386-redhat-linux-gnu”.

(gdb) (gdb) Attaching to process 15468

info sharedlibrary dyld

warning: The current VSYSCALL page code requires an existing execuitable.

Use “add-symbol-file-from-memory” to load the VSYSCALL page by hand

Reading symbols from /usr/local/Spark-2.5.7/jre/bin/java…(no debugging symbols found)…done.

Using host libthread_db library “/lib/libthread_db.so.1”.

Reading symbols from /lib/libpthread.so.0…(no debugging symbols found)…done.

Loaded symbols for /lib/libpthread.so.0

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/jli/libjli.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/bin/…/lib/i386/jli/libjli.so

Reading symbols from /lib/libdl.so.2…(no debugging symbols found)…done.

Loaded symbols for /lib/libdl.so.2

Reading symbols from /lib/libc.so.6…

(no debugging symbols found)…done.

Loaded symbols for /lib/libc.so.6

Reading symbols from /lib/ld-linux.so.2…(no debugging symbols found)…done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so…

call (void *)dlopen("/home/s_pereira/.java/deployment/cache/javaws/http/Dwww.adaptj.com/P8 0/DMroot/DMwebstart/DMstacktrace/DMapp/RNlinuxproc.jar/libdump.so", 1)

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so

Reading symbols from /lib/libm.so.6…(no debugging symbols found)…done.

Loaded symbols for /lib/libm.so.6

Reading symbols from /lib/librt.so.1…

(no debugging symbols found)…done.

Loaded symbols for /lib/librt.so.1

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/native_threads/libhpi.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/native_threads/libhpi.so

Reading symbols from /lib/libnsl.so.1…

(no debugging symbols found)…done.

Loaded symbols for /lib/libnsl.so.1

Reading symbols from /lib/libnss_files.so.2…(no debugging symbols found)…done.

Loaded symbols for /lib/libnss_files.so.2

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libverify.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libverify.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libjava.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libjava.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libzip.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libzip.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libawt.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libawt.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libmlib_image.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libmlib_image.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/xawt/libmawt.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/xawt/libmawt.so

Reading symbols from /usr/lib/libXext.so.6…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXext.so.6

Reading symbols from /usr/lib/libX11.so.6…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libX11.so.6

Reading symbols from /usr/lib/libXtst.so.6…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXtst.so.6

Reading symbols from /usr/lib/libXi.so.6…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXi.so.6

Reading symbols from /usr/lib/libXau.so.6…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXau.so.6

Reading symbols from /usr/lib/libXdmcp.so.6…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXdmcp.so.6

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libfontmanager.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libfontmanager.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libnet.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libnet.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libnio.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libnio.so

Reading symbols from /usr/lib/libXcursor.so.1…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXcursor.so.1

Reading symbols from /usr/lib/libXrender.so.1…

(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXrender.so.1

Reading symbols from /usr/lib/libXfixes.so.3…(no debugging symbols found)…done.

Loaded symbols for /usr/lib/libXfixes.so.3

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libcmm.so…

(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libcmm.so

Reading symbols from /usr/local/Spark-2.5.7/jre/lib/i386/libdcpr.so…(no debugging symbols found)…done.

Loaded symbols for /usr/local/Spark-2.5.7/jre/lib/i386/libdcpr.so

Reading symbols from /home/s_pereira/.Spark/plugins/idlelinux/lib/libLinuxIdle.so…done.

Loaded symbols for /home/s_pereira/.Spark/plugins/idlelinux/lib/libLinuxIdle.so

Reading symbols from /usr/lib/libXss.so.1…done.

Loaded symbols for /usr/lib/libXss.so.1

Reading symbols from /usr/lib/libstdc++.so.6…done.

Loaded symbols for /usr/lib/libstdc++.so.6

Reading symbols from /lib/libgcc_s.so.1…done.

Loaded symbols for /lib/libgcc_s.so.1

0xb7f30402 in ??

()

(gdb) From To Syms Read Shared Object Library

0x00467510 0x0046fdb4 Yes /lib/libpthread.so.0

0xb7f11e50 0xb7f17000 Yes /usr/local/Spark-2.5.7/jre/bin/…/lib/i386/jli/libjli.so

0x00d4dc40 0x00d4eb14 Yes /lib/libdl.so.2

0x001165f0 0x002039a8 Yes /lib/libc.so.6

0x00499820 0x004ae1df Yes /lib/ld-linux.so.2

0x060b7500 0x063e0760 Yes /usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so

0x00d29360 0x00d43dc4 Yes /lib/libm.so.6

0x0079fcb0 0x007a3a74 Yes /lib/librt.so.1

0xb7f28260 0xb7f2bdf0 Yes /usr/local/Spark-2.5.7/jre/lib/i386/native_threads/libhpi.so

0x07fc7450 0x07fd37e4 Yes /lib/libnsl.so.1

0xb7f1cb20 0xb7f22fd4 Yes /lib/libnss_files.so.2

0xb7eac0e0 0xb7eb2e50 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libverify.so

0xb7e8f830 0xb7ea4fa0 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libjava.so

0xb7e75c10 0xb7e80870 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libzip.so

0xb55b5c70 0xb5617e90 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libawt.so

0xb54d8b10 0xb5591c20 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libmlib_image.so

0xb54a2930 0xb54cf770 Yes /usr/local/Spark-2.5.7/jre/lib/i386/xawt/libmawt.so

0x00db8730 0x00dc23f4 Yes /usr/lib/libXext.so.6

0x0024ac30 0x002d83d4 Yes /usr/lib/libX11.so.6

0x00b22080 0x00b24cf4 Yes /usr/lib/libXtst.so.6

0x068952c0 0x0689a264 Yes /usr/lib/libXi.so.6

0x00d68b20 0x00d697d4 Yes /usr/lib/libXau.so.6

0x00d6df90 0x00d6fbb4 Yes /usr/lib/libXdmcp.so.6

0xb540fd80 0xb5470780 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libfontmanager.so

0xb53a82a0 0xb53b6770 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libnet.so

0xb539fa00 0xb53a2e50 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libnio.so

0x06883360 0x06888524 Yes /usr/lib/libXcursor.so.1

0x00df2490 0x00df7b54 Yes /usr/lib/libXrender.so.1

0x0688df60 0x06890114 Yes /usr/lib/libXfixes.so.3

0xb4a50aa0 0xb4aa17e0 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libcmm.so

0xb51f7ee0 0xb5209910 Yes /usr/local/Spark-2.5.7/jre/lib/i386/libdcpr.so

0xb4b8d674 0xb4b8d88c Yes /home/s_pereira/.Spark/plugins/idlelinux/lib/libLinuxIdle.so

0x00b30a40 0x00b31744 Yes /usr/lib/libXss.so.1

0x02ef2e60 0x02f70dd4 Yes /usr/lib/libstdc++.so.6

0x02ea77e0 0x02eaef94 Yes /lib/libgcc_s.so.1

(gdb)

$1 = (void *) 0x85b3e48

call (void *)dlsym($1, “inject_start”)

(gdb) $2 = (void *) 0xb4add8f0

call ($2)("/usr/local/Spark-2.5.7/jre/lib/i386/client/libjvm.so", “/tmp/stacktrace5324data”, 513)

(gdb) $3 = 0

detach

(gdb) Detaching from program: /usr/local/Spark-2.5.7/jre/bin/java, process 15468

quit

-xxx

hope this helps …

thx,

sergio

Hi,

This was reported by our OSX users as well and seemed to be link to some constant I/O taking place. I went ahead and fixed this issue in the upcoming 2.5.8 beta 1 release.

C heers,

Derek

wasn’t 2.5.8b meant to be released yesterday?

cmer