spendchart / banksync

SpendChart Banksync er en applikasjon for å hente kontoutskrifter fra din nettbank og laste de opp til SpendChart.no.
https://www.spendchart.no
10 stars 3 forks source link

Somewhat the client can hang and take 100% CPU while syncing #2

Open lacostej opened 13 years ago

lacostej commented 13 years ago

I have 2 accounts. Last sync was a few month ago. I synced both today, and the sync agent synced the first one properly, then hanged while starting the second one:

Syncing 9722xxxxxxx from period: August 2010 2011-01-13 22:17:54 Full thread dump Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode):

"Image Animator 3" daemon prio=10 tid=0x00007f53202a0800 nid=0x4620 sleeping[0x00007f5327f5a000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at sun.awt.image.GifFrame.dispose(GifImageDecoder.java:653) at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:441) at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:195) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)

"JS executor for com.gargoylesoftware.htmlunit.WebClient@1e1ebbf6" daemon prio=10 tid=0x00007f5330249000 nid=0x461f sleeping[0x00007f5335c0e000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptExecutor.run(JavaScriptExecutor.java:168) at java.lang.Thread.run(Thread.java:662)

"TimerQueue" daemon prio=10 tid=0x00000000431c9800 nid=0x461c in Object.wait() [0x00007f5329ae9000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"AWT-EventQueue-0" prio=10 tid=0x00007f53311ea800 nid=0x461b waiting on condition [0x00007f5329be9000] java.lang.Thread.State: RUNNABLE at javax.swing.BufferStrategyPaintManager.fetchRoot(BufferStrategyPaintManager.java:558) at javax.swing.BufferStrategyPaintManager.prepare(BufferStrategyPaintManager.java:493) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:264) at javax.swing.RepaintManager.paint(RepaintManager.java:1224) at javax.swing.JComponent._paintImmediately(JComponent.java:5072) at javax.swing.JComponent.paintImmediately(JComponent.java:4882) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:785) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:713) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:693) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:125) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

"AWT-Shutdown" prio=10 tid=0x00007f53321be800 nid=0x461a in Object.wait() [0x00007f532f523000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"AWT-XAWT" daemon prio=10 tid=0x00007f53328b8000 nid=0x4618 runnable [0x00007f532f624000] java.lang.Thread.State: RUNNABLE at sun.awt.X11.XToolkit.waitForEvents(Native Method) at sun.awt.X11.XToolkit.run(XToolkit.java:579) at sun.awt.X11.XToolkit.run(XToolkit.java:543) at java.lang.Thread.run(Thread.java:662)

"Java2D Disposer" daemon prio=10 tid=0x00007f533148e000 nid=0x4617 in Object.wait() [0x00007f533414c000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"Timer-0" daemon prio=10 tid=0x00000000425fe000 nid=0x4616 in Object.wait() [0x00007f5335305000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"ForkJoinScheduler" prio=10 tid=0x00007f5330e15000 nid=0x4615 in Object.wait() [0x00007f5335406000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"ForkJoinPool-1-worker-7" daemon prio=10 tid=0x00007f5331156800 nid=0x4614 waiting on condition [0x00007f5335507000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-6" daemon prio=10 tid=0x00007f5332d10000 nid=0x4613 waiting on condition [0x00007f5335608000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-5" daemon prio=10 tid=0x00007f5331097800 nid=0x4612 waiting on condition [0x00007f5335709000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-4" daemon prio=10 tid=0x00007f5331ec2000 nid=0x4611 waiting on condition [0x00007f533580a000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-3" daemon prio=10 tid=0x00007f53312f8800 nid=0x4610 waiting on condition [0x00007f533590b000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-2" daemon prio=10 tid=0x00007f533105f800 nid=0x460f waiting on condition [0x00007f5335a0c000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-1" daemon prio=10 tid=0x00007f533252e800 nid=0x460e waiting on condition [0x00007f5335b0d000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"ForkJoinPool-1-worker-0" daemon prio=10 tid=0x00007f5330b92800 nid=0x460d waiting on condition [0x00007f5335e23000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method)

"Low Memory Detector" daemon prio=10 tid=0x00007f5330001000 nid=0x45eb runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=10 tid=0x0000000041b70800 nid=0x45ea waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x0000000041b6d800 nid=0x45e9 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x0000000041b6b000 nid=0x45e8 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x0000000041b4c000 nid=0x45e7 in Object.wait() [0x00007f5336d6b000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"Reference Handler" daemon prio=10 tid=0x0000000041b44800 nid=0x45e6 in Object.wait() [0x00007f5336e6c000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"main" prio=10 tid=0x0000000041abb800 nid=0x45e0 in Object.wait() [0x00007f533bb09000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method)

"VM Thread" prio=10 tid=0x0000000041b40800 nid=0x45e5 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x0000000041ace800 nid=0x45e1 runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x0000000041ad0800 nid=0x45e2 runnable

"GC task thread#2 (ParallelGC)" prio=10 tid=0x0000000041ad2800 nid=0x45e3 runnable

"GC task thread#3 (ParallelGC)" prio=10 tid=0x0000000041ad4800 nid=0x45e4 runnable

"VM Periodic Task Thread" prio=10 tid=0x00007f533000c000 nid=0x45ec waiting on condition

JNI global references: 2088

Heap PSYoungGen total 87296K, used 476K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000) eden space 87232K, 0% used [0x00000000faab0000,0x00000000fab27178,0x00000000fffe0000) from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000) to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000) PSOldGen total 174784K, used 9790K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000) object space 174784K, 5% used [0x00000000f0000000,0x00000000f098f880,0x00000000faab0000) PSPermGen total 83968K, used 83967K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000) object space 83968K, 99% used [0x00000000eae00000,0x00000000effffd60,0x00000000f0000000)

tbje commented 13 years ago

Ser ut som et deadlock problem. Er det reproduserbart? Skjer det samme også utenfor sbt?

lacostej commented 13 years ago

Happened once. Not yet able to run outside sbt (have to tune parameters). Will report more info next time. Will try to debug.