Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Firefox occasionally stalls
Date: Tue, 21 Mar 2017 20:04:44
Message-Id: 8837FA63-3F44-4600-BB8B-9F7FF8217E09@antarean.org
In Reply to: [gentoo-user] Firefox occasionally stalls by Alan McKinnon
1 On March 21, 2017 8:35:36 PM GMT+01:00, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 >This post is rather vague, sorry about that in advance.
3 >
4 >I've spent much time on this and gotten absolutely nowhere. So I
5 >conclude all my thoughts and assumptions are wrong and not worth even
6 >sharing (on account of them being so wrong).
7 >
8 >I have firefox like this:
9 >
10 >[I] www-client/firefox
11 > Available versions: 45.7.0^d 45.8.0^d (~)51.0.1^d {bindist
12 >custom-cflags custom-optimization dbus debug ffmpeg +gmp-autoupdate
13 >+gstreamer gtk2 hardened hwaccel jack +jemalloc +jemalloc3 +jit neon
14 >pgo
15 >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
21 >km kn ko lij lt lv mai mk ml mr ms nb nl nn or pa pl pt-BR pt-PT rm ro
22 >ru si sk sl son sq sr sv ta te th tr uk uz vi xh zh-CN zh-TW"}
23 > Installed versions: 51.0.1^d(21:30:20 21/02/2017)(dbus
24 >gmp-autoupdate jemalloc pulseaudio skia startup-notification
25 >system-harfbuzz system-icu system-jpeg system-libevent system-libvpx
26 >system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug
27 >-gtk2 -hardened -hwaccel -jack -neon -pgo -rust -selinux -system-cairo
28 >-test L10N="en-GB en-ZA -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN
29 >
30 >-br -bs -ca -cak -cs -cy -da -de -dsb -el -eo -es-AR -es-CL -es-ES
31 >-es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb
32 >
33 >-hu -hy -id -is -it -ja -ka -kk -km -kn -ko -lij -lt -lv -mai -mk -ml
34 >-mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl
35 >-son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW")
36 > Homepage: http://www.mozilla.com/firefox
37 > Description: Firefox Web Browser
38 >
39 >with these plugins:
40 >- adblockplus
41 >- flashblock
42 >- foxyproxy standard
43 >- restart browser
44 >- user agent switcher
45 >- youtube all html5
46 >
47 >Occasionally, according to no discernable pattern, all my tabs on all
48 >some/most/all Firefox windows stop responding. Clicking and scrolling
49 >in
50 >the content has no effect. Can't open new tabs, can't close tabs, can't
51 >
52 >switch to existing tabs. Sometimes it affects only one firefox window,
53 >sometimes all firefox windows.
54 >
55 >Imagine if you will that firefox is coded with one global loop that
56 >gets
57 >user actions and responds, then that loop gets stuck somewhere. The
58 >firefox window will not be affected (controlled by KDE), and neither is
59 >
60 >the X-server but the tabs can all do nothing till the loop unsticks.
61 >It's an effect like that.
62 >
63 >Sometimes it does work after a delay >30s.
64 >The sysadmin in me says 30s? Hah, check DNS resolver timeouts. Checked,
65 >
66 >found nothing unusual. Proxy looks OK, VPN looks OK, Chrome never has
67 >this problem so it's firefox specific.
68 >
69 >Firefox itself is up, it responds correctly to moving around the menus,
70 >
71 >just can't do some of the actions like open the Addons page (that is
72 >regular content in a tab).
73 >
74 >The issue ALWAYS goes away if I restart firefox, either with the
75 >restart
76 >addon or Alt-F4 and start from KDE menu. I have "load previous tabs"
77 >set
78 >to true so those actions are pretty equivalent.
79 >
80 >DE is Plasma 5, and the problem isn't from a recent upgrade, I've been
81 >battling with this for ages through MANY kde and firefox updates.
82 >
83 >My question:
84 >Where the hell do I start to figure out what's really going on?
85 >I used up all my sysadmin troubleshooting knowledge and have had to
86 >revert back to n00b status on this one.
87
88 I see this with some websites that do some weird stuff.
89 CPU for at least one core then also goes to 100÷.
90 Make a list of websites open in tabs when it happens to see if there are common ones that are always there when you have the issue.
91
92 --
93 Joost
94 --
95 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Firefox occasionally stalls Alan McKinnon <alan.mckinnon@×××××.com>