Browser responds slowly post RIU upgrade

Al B. Fuct

once had a dog named
Since the recent RIU forum sotftwe upgrade, my browser has been running horribly slowly when browsing RIU. It took several seconds to scroll from the top to the bottom of a page. I suspected a hung or looping Javascript, so I opened the Java console and dumped the thread stack.

This is the Java dump log. It looks like it was trying to load something it could not get.

Java Plug-in 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Owner


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Dump thread stack ...
----------------------------------------------------
2008-08-21 08:59:02
Full thread dump Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing):

"TimerQueue" daemon prio=6 tid=0x0889d400 nid=0xa0c in Object.wait() [0x0df0f000..0x0df0fa94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x2099aeb8> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(Unknown Source)
- locked <0x2099aeb8> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Unknown Source)

"ConsoleWriterThread" daemon prio=6 tid=0x0b62dc00 nid=0xb28 in Object.wait() [0x0bd8f000..0x0bd8fb14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x20a46818> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
- locked <0x20a46818> (a java.lang.Object)

"AWT-EventQueue-1" prio=6 tid=0x0b60b800 nid=0x5a8 waiting on condition [0x0bbff000..0x0bbffb94]
java.lang.Thread.State: RUNNABLE
at com.sun.deploy.util.ConsoleHelper.dumpAllStacksImpl(Native Method)
at com.sun.deploy.util.ConsoleHelper.dumpAllStacks(Unknown Source)
at sun.plugin.util.PluginConsoleController.dumpAllStacks(Unknown Source)
at com.sun.deploy.util.ConsoleWindow$2.actionPerformed(Unknown Source)
at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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=6 tid=0x0b60f800 nid=0x9d8 in Object.wait() [0x0b3ff000..0x0b3ffc14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110858> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
- locked <0x21110858> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)

"CacheCleanUpThread" daemon prio=6 tid=0x0b600800 nid=0x828 in Object.wait() [0x0b9ff000..0x0b9ffb14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110880> (a com.sun.deploy.cache.CleanupThread)
at java.lang.Object.wait(Object.java:485)
at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
- locked <0x21110880> (a com.sun.deploy.cache.CleanupThread)

"CacheMemoryCleanUpThread" prio=6 tid=0x088f4000 nid=0xdd8 in Object.wait() [0x0b8ff000..0x0b8ffb94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110978> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x21110978> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)

"traceMsgQueueThread" daemon prio=6 tid=0x088f6000 nid=0x728 in Object.wait() [0x0b5ff000..0x0b5ffc14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110a00> (a java.util.ArrayList)
at java.lang.Object.wait(Object.java:485)
at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
- locked <0x21110a00> (a java.util.ArrayList)
at java.lang.Thread.run(Unknown Source)

"AWT-Windows" daemon prio=6 tid=0x088e9c00 nid=0x2e0 runnable [0x0b4ff000..0x0b4ffc94]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"Java2D Disposer" daemon prio=10 tid=0x088e7c00 nid=0xc1c in Object.wait() [0x0b2ff000..0x0b2ffd94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110af0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x21110af0> (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=6 tid=0x08830400 nid=0xca4 runnable [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x0882b000 nid=0xccc waiting on condition [0x00000000..0x0afff740]
java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x08829c00 nid=0x948 runnable [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x08829000 nid=0x450 runnable [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=8 tid=0x08821400 nid=0xca8 in Object.wait() [0x0acff000..0x0acffc94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110d20> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x21110d20> (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=0x08820400 nid=0x338 in Object.wait() [0x0abff000..0x0abffd14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x21110810> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x21110810> (a java.lang.ref.Reference$Lock)

"main" prio=6 tid=0x06728800 nid=0xf64 runnable [0x00000000..0x0012efd8]
java.lang.Thread.State: RUNNABLE

"VM Thread" prio=10 tid=0x0881f000 nid=0x260 runnable

"VM Periodic Task Thread" prio=10 tid=0x0883a800 nid=0xc00 waiting on condition

"VM Thread" prio=10 tid=0x0881f000 nid=0x260 runnable

"VM Periodic Task Thread" prio=10 tid=0x0883a800 nid=0xc00 waiting on condition

----------------------------------------------------
Done.
After doing the thread dump, the browser response returned to normal.

Any clues, admin? Should I clear the browser cache, perhaps?

Thanky. :)
 

Stoney McFried

Well-Known Member
How do you open the java console and do that AL?Sounds like what I need to do.I have firefox 3.I clear cookies and cache once a week or so.
Since the recent RIU forum sotftwe upgrade, my browser has been running horribly slowly when browsing RIU. It took several seconds to scroll from the top to the bottom of a page. I suspected a hung or looping Javascript, so I opened the Java console and dumped the thread stack.

This is the Java dump log. It looks like it was trying to load something it could not get.



After doing the thread dump, the browser response returned to normal.

Any clues, admin? Should I clear the browser cache, perhaps?

Thanky. :)
 

potroastV2

Well-Known Member
might be a good idea to clean out the cache, we upgraded the software because there was bugs in the old one.... Give it a go and let me know, once we are fully migrated i will pick it apart and see some problems i am sure
 

Al B. Fuct

once had a dog named
How do you open the java console and do that AL?
Go to Tools/Java Console. A box will pop up, hit 'v' and enter.

might be a good idea to clean out the cache, we upgraded the software because there was bugs in the old one.... Give it a go and let me know, once we are fully migrated i will pick it apart and see some problems i am sure
OK, I'll do some sniffin. Will let you know what I know when I know it. ;)

I SHOULD be in the op manicuring at the moment, though.... :D
 

Al B. Fuct

once had a dog named
I only use Firefox. 3.0.1 installed at the moment.

I've dumped the browser cache and all seems OK now.
 
Top