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:15:25
Message-Id: 788c05c2-5ed1-272c-bb5b-6cb56a47c679@gmail.com
In Reply to: Re: [gentoo-user] Firefox occasionally stalls by "J. Roeleveld"
1 On 21/03/2017 22:04, J. Roeleveld wrote:
2 > On March 21, 2017 8:35:36 PM GMT+01:00, Alan McKinnon <alan.mckinnon@×××××.com> 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
16 >> pulseaudio rust selinux +skia startup-notification system-cairo
17 >> system-harfbuzz system-icu system-jpeg system-libevent system-libvpx
18 >> system-sqlite test wifi L10N="ach af an ar as ast az be bg bn-BD bn-IN
19 >> br bs ca cak cs cy da de dsb el en-GB en-ZA eo es-AR es-CL es-ES es-MX
20 >> et eu fa ff fi fr fy ga gd gl gn gu he hi hr hsb hu hy id is it ja ka
21 >> kk
22 >> km kn ko lij lt lv mai mk ml mr ms nb nl nn or pa pl pt-BR pt-PT rm ro
23 >> ru si sk sl son sq sr sv ta te th tr uk uz vi xh zh-CN zh-TW"}
24 >> Installed versions: 51.0.1^d(21:30:20 21/02/2017)(dbus
25 >> gmp-autoupdate jemalloc pulseaudio skia startup-notification
26 >> system-harfbuzz system-icu system-jpeg system-libevent system-libvpx
27 >> system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug
28 >> -gtk2 -hardened -hwaccel -jack -neon -pgo -rust -selinux -system-cairo
29 >> -test L10N="en-GB en-ZA -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN
30 >>
31 >> -br -bs -ca -cak -cs -cy -da -de -dsb -el -eo -es-AR -es-CL -es-ES
32 >> -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb
33 >>
34 >> -hu -hy -id -is -it -ja -ka -kk -km -kn -ko -lij -lt -lv -mai -mk -ml
35 >> -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl
36 >> -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW")
37 >> Homepage: http://www.mozilla.com/firefox
38 >> Description: Firefox Web Browser
39 >>
40 >> with these plugins:
41 >> - adblockplus
42 >> - flashblock
43 >> - foxyproxy standard
44 >> - restart browser
45 >> - user agent switcher
46 >> - youtube all html5
47 >>
48 >> Occasionally, according to no discernable pattern, all my tabs on all
49 >> some/most/all Firefox windows stop responding. Clicking and scrolling
50 >> in
51 >> the content has no effect. Can't open new tabs, can't close tabs, can't
52 >>
53 >> switch to existing tabs. Sometimes it affects only one firefox window,
54 >> sometimes all firefox windows.
55 >>
56 >> Imagine if you will that firefox is coded with one global loop that
57 >> gets
58 >> user actions and responds, then that loop gets stuck somewhere. The
59 >> firefox window will not be affected (controlled by KDE), and neither is
60 >>
61 >> the X-server but the tabs can all do nothing till the loop unsticks.
62 >> It's an effect like that.
63 >>
64 >> Sometimes it does work after a delay >30s.
65 >> The sysadmin in me says 30s? Hah, check DNS resolver timeouts. Checked,
66 >>
67 >> found nothing unusual. Proxy looks OK, VPN looks OK, Chrome never has
68 >> this problem so it's firefox specific.
69 >>
70 >> Firefox itself is up, it responds correctly to moving around the menus,
71 >>
72 >> just can't do some of the actions like open the Addons page (that is
73 >> regular content in a tab).
74 >>
75 >> The issue ALWAYS goes away if I restart firefox, either with the
76 >> restart
77 >> addon or Alt-F4 and start from KDE menu. I have "load previous tabs"
78 >> set
79 >> to true so those actions are pretty equivalent.
80 >>
81 >> DE is Plasma 5, and the problem isn't from a recent upgrade, I've been
82 >> battling with this for ages through MANY kde and firefox updates.
83 >>
84 >> My question:
85 >> Where the hell do I start to figure out what's really going on?
86 >> I used up all my sysadmin troubleshooting knowledge and have had to
87 >> revert back to n00b status on this one.
88 >
89 > I see this with some websites that do some weird stuff.
90 > CPU for at least one core then also goes to 100÷.
91 > 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.
92
93 Good idea. For posterity so's I don;t forget:
94
95 - gentoo home page
96 - one or more readthedocs sites (especially docs.ansible.com)
97 - 1 or more jira pages (work stuff)
98 - 1 or more confluence pages (work stuff)
99 - a local gitlab site
100 - 1 or more python html apps for, errr, usenets stuffs
101 - 1 or more python apps running in flask (work stuff)
102
103 --
104 Alan McKinnon
105 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: Firefox occasionally stalls Kai Krakow <hurikhan77@×××××.com>
Re: [gentoo-user] Firefox occasionally stalls "J. Roeleveld" <joost@××××××××.org>