Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Firefox occasionally stalls
Date: Tue, 21 Mar 2017 20:11:25
Message-Id: ee97ffc0-2b2a-fbeb-9cd6-6e1bbe87ed5a@gmail.com
In Reply to: Re: [gentoo-user] Firefox occasionally stalls by Dale
1 On 21/03/2017 21:57, Dale wrote:
2 > Alan McKinnon wrote:
3 >> This post is rather vague, sorry about that in advance.
4 >>
5 >> I've spent much time on this and gotten absolutely nowhere. So I
6 >> conclude all my thoughts and assumptions are wrong and not worth even
7 >> sharing (on account of them being so wrong).
8 >>
9 >> I have firefox like this:
10 >>
11 >> [I] www-client/firefox
12 >> Available versions: 45.7.0^d 45.8.0^d (~)51.0.1^d {bindist
13 >> custom-cflags custom-optimization dbus debug ffmpeg +gmp-autoupdate
14 >> +gstreamer gtk2 hardened hwaccel jack +jemalloc +jemalloc3 +jit neon
15 >> pgo pulseaudio rust selinux +skia startup-notification system-cairo
16 >> system-harfbuzz system-icu system-jpeg system-libevent system-libvpx
17 >> system-sqlite test wifi L10N="ach af an ar as ast az be bg bn-BD bn-IN
18 >> br bs ca cak cs cy da de dsb el en-GB en-ZA eo es-AR es-CL es-ES es-MX
19 >> et eu fa ff fi fr fy ga gd gl gn gu he hi hr hsb hu hy id is it ja ka
20 >> kk km kn ko lij lt lv mai mk ml mr ms nb nl nn or pa pl pt-BR pt-PT rm
21 >> ro ru si sk sl son sq sr sv ta te th tr uk uz vi xh zh-CN zh-TW"}
22 >> Installed versions: 51.0.1^d(21:30:20 21/02/2017)(dbus
23 >> gmp-autoupdate jemalloc pulseaudio skia startup-notification
24 >> system-harfbuzz system-icu system-jpeg system-libevent system-libvpx
25 >> system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug
26 >> -gtk2 -hardened -hwaccel -jack -neon -pgo -rust -selinux -system-cairo
27 >> -test L10N="en-GB en-ZA -ach -af -an -ar -as -ast -az -bg -bn-BD
28 >> -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -eo -es-AR -es-CL
29 >> -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi
30 >> -hr -hsb -hu -hy -id -is -it -ja -ka -kk -km -kn -ko -lij -lt -lv -mai
31 >> -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si
32 >> -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW")
33 >> Homepage: http://www.mozilla.com/firefox
34 >> Description: Firefox Web Browser
35 >>
36 >> with these plugins:
37 >> - adblockplus
38 >> - flashblock
39 >> - foxyproxy standard
40 >> - restart browser
41 >> - user agent switcher
42 >> - youtube all html5
43 >>
44 >> Occasionally, according to no discernable pattern, all my tabs on all
45 >> some/most/all Firefox windows stop responding. Clicking and scrolling
46 >> in the content has no effect. Can't open new tabs, can't close tabs,
47 >> can't switch to existing tabs. Sometimes it affects only one firefox
48 >> window, sometimes all firefox windows.
49 >>
50 >> Imagine if you will that firefox is coded with one global loop that
51 >> gets user actions and responds, then that loop gets stuck somewhere.
52 >> The firefox window will not be affected (controlled by KDE), and
53 >> neither is the X-server but the tabs can all do nothing till the loop
54 >> unsticks. It's an effect like that.
55 >>
56 >> Sometimes it does work after a delay >30s.
57 >> The sysadmin in me says 30s? Hah, check DNS resolver timeouts.
58 >> Checked, found nothing unusual. Proxy looks OK, VPN looks OK, Chrome
59 >> never has this problem so it's firefox specific.
60 >>
61 >> Firefox itself is up, it responds correctly to moving around the
62 >> menus, just can't do some of the actions like open the Addons page
63 >> (that is regular content in a tab).
64 >>
65 >> The issue ALWAYS goes away if I restart firefox, either with the
66 >> restart addon or Alt-F4 and start from KDE menu. I have "load previous
67 >> tabs" set to true so those actions are pretty equivalent.
68 >>
69 >> DE is Plasma 5, and the problem isn't from a recent upgrade, I've been
70 >> battling with this for ages through MANY kde and firefox updates.
71 >>
72 >> My question:
73 >> Where the hell do I start to figure out what's really going on?
74 >> I used up all my sysadmin troubleshooting knowledge and have had to
75 >> revert back to n00b status on this one.
76 >>
77 >
78 > Mine does something like that too. Sometimes mine will pop up and say
79 > script so and so is not responding and then have a option to stop or
80 > continue. What I did that helped some, installed noscript which stops
81 > all the scripts except the ones I allow. So far, that has helped a
82 > lot. You may want to try that and see if it helps you any. If it does,
83 > then it is likely a script hanging up Firefox. If not, uninstall and
84 > look for something else I guess.
85 >
86 > I might add, I've also had this happen on Seamonkey where I have far
87 > fewer tabs open. Usually it is a site that has a Disqus comment
88 > section. Those hang a lot especially if there is a lot of comments.
89 > I've had those type 10, 15 and even 20 seconds behind me and I'm a slow
90 > typer. I'm typing along and when I look up, it can be a whole sentence
91 > behind me but it slowly fills in if I wait.
92 >
93 > Yours may be a browser problem only but for me, I think it is more
94 > websites than anything else. Some just suck.
95 >
96 > Hope that helps. It's not like you haven't ever helped me before. lol
97
98 Yeah, Disqus is a beast and then some. No Disqus tabs here though.
99
100 That's not to say I don't have something else just as beasty going on
101
102 Sometimes I think we internet ninjas shoot ourselves in the foot telling
103 folks to use HTML...
104
105
106 --
107 Alan McKinnon
108 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Firefox occasionally stalls Dale <rdalek1967@×××××.com>