firefox high cpu
Srikanth Konjarla
srikanth.konjarla at gmail.com
Fri May 2 04:47:55 UTC 2008
All,
For some time i am experiencing the high cpu rate on Firefox (2.0.0.14,
Fedora 8) with some sites (sites with flash are always high on cpu and
crash sometimes). I have done the following to find out what is going on
when firefox is high on cpu.
# ps -p 27727 -mlfFL
F S UID PID PPID LWP C NLWP PRI NI ADDR SZ WCHAN RSS PSR
STIME TTY TIME CMD
0 - srikanth 27727 27722 - 5 13 - - - 99974 - 132048 -
15:43 ? 00:19:31 /usr/lib/firefox-2.0.0.14/firefox-bin
0 S srikanth - - 27727 4 - 80 0 - - - - 1
15:43 - 00:14:41 -
1 S srikanth - - 27728 0 - 80 0 - - - - 0
15:43 - 00:00:00 -
1 S srikanth - - 27729 0 - 80 0 - - - - 0
15:43 - 00:00:08 -
1 S srikanth - - 27731 0 - 80 0 - - - - 0
15:43 - 00:00:00 -
1 S srikanth - - 27732 0 - 80 0 - - - - 0
15:43 - 00:00:00 -
1 S srikanth - - 27733 0 - 80 0 - - - - 0
15:43 - 00:00:00 -
1 S srikanth - - 27827 0 - 80 0 - - - - 0
15:43 - 00:00:00 -
1 S srikanth - - 5540 0 - 80 0 - - - - 0
19:40 - 00:00:00 -
1 S srikanth - - 15572 68 - 80 0 - - - - 1
21:37 - 00:04:02 -
1 S srikanth - - 15573 0 - 80 0 - - - - 0
21:37 - 00:00:00 -
1 S srikanth - - 15574 0 - 80 0 - - - - 0
21:37 - 00:00:00 -
1 S srikanth - - 15702 0 - 80 0 - - - - 1
21:39 - 00:00:00 -
1 S srikanth - - 15775 0 - 80 0 - - - - 1
21:41 - 00:00:00 -
As per the above output the thread with LWP 15572 has the following from
pstack output.
Thread 7 (Thread 164613008 (LWP 15572)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x00be95d5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2 0x08196ff8 in __cxa_pure_virtual ()
#3 0x08291438 in __cxa_pure_virtual ()
#4 0x0819734d in __cxa_pure_virtual ()
#5 0x00be550b in start_thread () from /lib/libpthread.so.0
#6 0x00b26b2e in clone () from /lib/libc.so.6
It appears that "pthread_cond_wait@@GLIBC_2.3.2 ()" could be the cause
for high percentage of CPU but don't know how to go further with this.
Any help would be appreciated.
Thanks
Srikanth
More information about the users
mailing list