any advice to fix firefox being excruciatingly slooooooooow?

Tom London selinux at gmail.com
Sun Mar 30 15:06:46 UTC 2014


On Sun, Mar 30, 2014 at 6:15 AM, Ed Greshko <ed.greshko at greshko.com> wrote:

> On 03/30/14 21:09, Robert P. J. Day wrote:
> >   sorry for being unclear, yes, they're firefox, just two other
> > invocations.
>
> Oh, OK....
>
> So, you've established that other browsers don't have the problem.  Yes?
>
> Have you considered creating a new user and trying that way?
>
>
>
OK. Just to set the testing environment, I'm running:

 [root at tlondon ~]# rpm -q firefox xulrunner
firefox-28.0-3.fc21.x86_64
package xulrunner is not installed
[root at tlondon ~]#

and

[root at tlondon ~]# uname -r
3.14.0-0.rc8.git1.1.fc21.x86_64
[root at tlondon ~]#

So a "debug" kernel, -28 firefox and no xulrunner.

I noticed journal spew for 3 shared objects:

Mar 30 07:44:26 tlondon.localhost.org firefox.desktop[2704]:
/usr/lib64/firefox/plugin-container: error while loading shared libraries:
libxul.so: cannot open shared object file: No such file or directory

Mar 30 07:47:12 tlondon.localhost.org firefox.desktop[2704]:
/usr/lib64/firefox/plugin-container: error while loading shared libraries:
libmozalloc.so: cannot open shared object file: No such file or directory

Mar 30 07:49:12 tlondon.localhost.org firefox.desktop[2858]:
/usr/lib64/firefox/plugin-container: error while loading shared libraries:
libmozjs.so: cannot open shared object file: No such file or directory

On my system, versions of these files all reside in /usr/lib64/firefox/.

So, guessing somehow the dynamic load path was not set quite right
(especially after removing xulrunner?), I manually created symbolic links
for these in /usr/lib64:

[root at tlondon lib64]# ln -s /usr/lib64/firefox/libxul.so
/usr/lib64/libxul.so
[root at tlondon lib64]#
[root at tlondon lib64]# ln -s /usr/lib64/firefox/libmozalloc.so
/usr/lib64/libmozalloc.so
[root at tlondon lib64]#
[root at tlondon lib64]# ln -s /usr/lib64/firefox/libmozjs.so
/usr/lib64/libmozjs.so
[root at tlondon lib64]#

[root at tlondon ~]# ls -lt /usr/lib64 | head -4
total 926628
lrwxrwxrwx.  1 root root       30 Mar 30 07:51 libmozjs.so ->
/usr/lib64/firefox/libmozjs.so
lrwxrwxrwx.  1 root root       33 Mar 30 07:49 libmozalloc.so ->
/usr/lib64/firefox/libmozalloc.so
lrwxrwxrwx.  1 root root       28 Mar 30 07:46 libxul.so ->
/usr/lib64/firefox/libxul.so
[root at tlondon ~]#

I no longer see the journal spew and firefox no longer seems to freeze on
pages with flash plugins (?).

YMMW...

tom
-- 
Tom London
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/test/attachments/20140330/124fd6cc/attachment.html>


More information about the test mailing list