Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow Firefox - again...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 190
Location: Kraków, Poland

PostPosted: Sun Mar 15, 2009 8:15 am    Post subject: Slow Firefox - again... Reply with quote

Hi!
My Firefox is very slow to start and what is really strange it is even slower when closing
I red many posts here. I disabled ipv6 support in about:config. This doesn't help. Accodrding to some posts here i emerge strace and I did
Code:
$strace -o firefox-strace_1 firefox

The output is a huge surprise to me.
There are many, no really, MANY notes about trying to read/acces files that are not found. I really don't know what is going on, becouse I am not doing many experiments on my box. I am regular user. And yet - so many errors here like I would mess a lot with my system.
Could you please have a look at the output of strace and maybe you will have any idea of what is going on with my system, how to solve and repair it and how to prevent it from happend again?
The output is so huge so I show here only a part of it. Full output is here (WARNING: 5Mb file.)

Code:

open("/lib/tls/i686/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xbf9fdd9c) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbf9fdd9c)     = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xbf9fdd9c)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbf9fdd9c)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xbf9fdd9c)    = -1 ENOENT (No such file or directory)
open("/lib/i686/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbf9fdd9c)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xbf9fdd9c)         = -1 ENOENT (No such file or directory)
open("/lib/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/usr/lib/tls/i686/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbf9fdd9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbf9fdd9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0xbf9fdd9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbf9fdd9c)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xbf9fdd9c) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libgnomeui-2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbf9fdd9c)     = -1 ENOENT (No such file or directory)

open("/usr/share/locale/pl_PL.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/pl_PL/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/pl.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/maniek/.local/share//mime/mime.cache", 0xbf9fcd00) = -1 ENOENT (No such file or directory)
stat64("/home/maniek/.local/share//mime/globs", 0xbf9fcd00) = -1 ENOENT (No such file or directory)
stat64("/home/maniek/.local/share//mime/magic", 0xbf9fcd00) = -1 ENOENT (No such file or directory)
stat64("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=91584, ...}) = 0
stat64("/home/maniek/.local/share//mime/mime.cache", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/home/maniek/.local/share//mime/globs2", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/home/maniek/.local/share//mime/globs", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/home/maniek/.local/share//mime/magic", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
open("/home/maniek/.local/share//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/maniek/.local/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/maniek/.local/share//mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/maniek/.local/share//mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

stat64("/usr/kde/3.5/share/mime/globs", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/usr/kde/3.5/share/mime/magic", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
open("/usr/kde/3.5/share/mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/kde/3.5/share/mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/kde/3.5/share/mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/kde/3.5/share/mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/mime.cache", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/globs2", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/globs", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/mime/magic", 0xbf9fcd3c) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share/mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/gtk-2.0/gdk-pixbuf.loaders", O_RDONLY|O_LARGEFILE) = 15
fstat64(15, {st_mode=S_IFREG|0644, st_size=3383, ...}) = 0
open("/usr/lib/mozilla-firefox/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/tls/i686/sse2/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/tls/i686/sse2", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/tls/i686/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/tls/i686", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/tls/sse2/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/tls/sse2", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/tls/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/tls", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/i686/sse2/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/i686/sse2", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/i686/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/i686", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/sse2/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9/sse2", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xulrunner-1.9", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/nspr/tls/i686/sse2/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/nspr/tls/i686/sse2", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/nspr/tls/i686/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/nspr/tls/i686", 0xbf9fafb0) = -1 ENOENT (No such file or directory)
open("/usr/lib/nspr/tls/sse2/libplds4.so.7", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/nspr/tls/sse2", 0xbf9fafb0) = -1 ENOENT (No such file or directory)

open("/usr/share/cursors/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/xorg-x11/default/cursors/fleur", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/xorg-x11/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/default/cursors/fleur", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/default/cursors/fleur", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)

_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Mon Mar 16, 2009 6:13 pm    Post subject: Reply with quote

Have you tried rebuilding firefox?

Or a revdep-rebuild?
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 190
Location: Kraków, Poland

PostPosted: Mon Mar 16, 2009 8:28 pm    Post subject: Reply with quote

I always do revdep-rebuild after updates. Firefox is also up-to-date, so it is rebuilded (becouse compiled). Or do you mean something else?
Today I recompiled some stuff just to make sure they are up-to-date and are compiled with the latest tools I have. This doesn't change anything. What bothers me the most are the calls to things in "libgnomeui" which is strange becouse firefox is compiled with "-gnome" flag and calls to some xulrunner libraries that aparently should be on my system but they are not. I don't know why.
Removing Yoono extension helped a little, but still - the performance of firefox is much below what is should be (starting Firefox = 35 sec. Closing = 11sec at Core 2 Duo E6600 with 1GB RAM and with hdd's filled at 50%. hdparm shows good results.)
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 190
Location: Kraków, Poland

PostPosted: Thu Mar 19, 2009 6:30 am    Post subject: Reply with quote

More info.
When I try to reemerge firefox i get lots of this:

Code:
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-after-active.gif (packages-static, 314).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-after-hover.gif (packages-static, 315).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-after.gif (packages-static, 316).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-before-active.gif (packages-static, 317).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-before-hover.gif (packages-static, 318).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-before.gif (packages-static, 319).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-column-active.gif (packages-static, 320).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-row.gif (packages-static, 325).
Warning: package error or possible missing or unnecessary file: bin/res/arrowd.gif (packages-static, 326).
Warning: package error or possible missing or unnecessary file: bin/res/grabber.gif (packages-static, 327).
Warning: package error or possible missing or unnecessary file: bin/res/viewsource.css (packages-static, 328).
Warning: package error or possible missing or unnecessary file: bin/res/mathml.css (packages-static, 329).
Warning: package error or possible missing or unnecessary file: bin/res/arrow.gif (packages-static, 330).
Warning: package error or possible missing or unnecessary file: bin/res/loading-image.gif (packages-static, 331).
Warning: package error or possible missing or unnecessary file: bin/res/broken-image.gif (packages-static, 332).
Warning: package error or possible missing or unnecessary file: bin/res/unixcharset.properties (packages-static, 336).

And more the same Warnings, but with different filenames. (cut for visibility)
Installation is finished without stop-errors. But it looks preaty scary. Anyone had this problem too? I don't even know what is the expected location of these files.
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum