High CPU on Linux even when in the background, possibly due to frequent polling
Categories
(Core :: Performance, defect, P3)
Tracking
()
Performance Impact | low |
People
(Reporter: aravind, Unassigned)
References
Details
(Keywords: perf:resource-use, Whiteboard: [needs profile][Power:P3] QA-not-reproducible)
Attachments
(7 files)
Reporter | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
Reporter | ||
Comment 4•15 years ago
|
||
Comment 6•15 years ago
|
||
Comment 7•15 years ago
|
||
Comment 8•15 years ago
|
||
Reporter | ||
Comment 9•15 years ago
|
||
Comment 10•13 years ago
|
||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
Comment 13•11 years ago
|
||
Updated•11 years ago
|
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Comment 18•11 years ago
|
||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Comment 25•11 years ago
|
||
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
Updated•11 years ago
|
Comment 28•11 years ago
|
||
Comment 29•11 years ago
|
||
Comment 30•11 years ago
|
||
Comment 32•11 years ago
|
||
Comment 33•11 years ago
|
||
Comment 34•11 years ago
|
||
Comment 35•11 years ago
|
||
Comment 36•11 years ago
|
||
Updated•11 years ago
|
Comment 37•11 years ago
|
||
Comment 38•11 years ago
|
||
Comment 39•11 years ago
|
||
Comment 40•11 years ago
|
||
Comment 41•11 years ago
|
||
Comment 42•11 years ago
|
||
Comment 43•11 years ago
|
||
Comment 44•11 years ago
|
||
Comment 45•11 years ago
|
||
Comment 46•11 years ago
|
||
Comment 47•11 years ago
|
||
Comment 48•11 years ago
|
||
Comment 49•11 years ago
|
||
Comment 50•11 years ago
|
||
Comment 51•11 years ago
|
||
Comment 52•11 years ago
|
||
Comment 53•11 years ago
|
||
Comment 54•11 years ago
|
||
Comment 55•11 years ago
|
||
Comment 56•11 years ago
|
||
Comment 57•11 years ago
|
||
Comment 58•11 years ago
|
||
Comment 60•11 years ago
|
||
Updated•11 years ago
|
Comment 61•11 years ago
|
||
Comment 62•11 years ago
|
||
Comment 63•11 years ago
|
||
Comment 66•11 years ago
|
||
Comment 67•10 years ago
|
||
Comment 68•10 years ago
|
||
Comment 69•10 years ago
|
||
Comment 70•10 years ago
|
||
Comment 71•10 years ago
|
||
Comment 72•10 years ago
|
||
Comment 73•10 years ago
|
||
Comment 74•10 years ago
|
||
Comment 75•10 years ago
|
||
Comment 76•10 years ago
|
||
Comment 77•10 years ago
|
||
Comment 78•10 years ago
|
||
Comment 79•10 years ago
|
||
Comment 80•10 years ago
|
||
Comment 81•10 years ago
|
||
Comment 82•10 years ago
|
||
Comment 83•10 years ago
|
||
Comment 84•10 years ago
|
||
Comment 85•10 years ago
|
||
Comment 86•10 years ago
|
||
Comment 87•10 years ago
|
||
Comment 88•10 years ago
|
||
Comment 89•10 years ago
|
||
Comment 90•10 years ago
|
||
Comment 91•10 years ago
|
||
Comment 92•10 years ago
|
||
Comment 93•10 years ago
|
||
Comment 94•10 years ago
•
|
||
Comment 95•10 years ago
|
||
Comment 96•10 years ago
|
||
Comment 97•10 years ago
|
||
Comment 98•10 years ago
|
||
Comment 100•9 years ago
|
||
Comment 101•9 years ago
|
||
Comment 102•9 years ago
|
||
Comment 103•9 years ago
|
||
Comment 104•9 years ago
|
||
Comment 105•9 years ago
|
||
Updated•9 years ago
|
Comment 106•9 years ago
|
||
Updated•9 years ago
|
Comment 107•9 years ago
|
||
Comment 108•9 years ago
|
||
Comment 109•9 years ago
|
||
Comment 110•9 years ago
|
||
Comment 111•9 years ago
|
||
Comment 112•9 years ago
|
||
Comment 113•9 years ago
|
||
Comment 114•9 years ago
|
||
Comment 115•9 years ago
|
||
Comment 116•9 years ago
|
||
Comment 117•9 years ago
|
||
Comment 118•9 years ago
|
||
Comment 119•9 years ago
|
||
Comment 120•9 years ago
|
||
Comment 121•9 years ago
|
||
Comment 122•9 years ago
|
||
Comment 123•9 years ago
|
||
Comment 124•9 years ago
|
||
Comment 125•9 years ago
|
||
Comment 126•9 years ago
|
||
Comment 127•9 years ago
|
||
Comment 128•9 years ago
|
||
Comment 129•9 years ago
|
||
Comment 130•9 years ago
|
||
Comment 131•8 years ago
|
||
Comment 132•8 years ago
|
||
Comment 133•8 years ago
|
||
Comment 134•8 years ago
|
||
Comment 135•8 years ago
|
||
Comment 136•8 years ago
|
||
Comment hidden (typo) |
Comment hidden (typo) |
Comment hidden (typo) |
Comment 140•7 years ago
|
||
Comment 141•7 years ago
•
|
||
Comment 142•5 years ago
|
||
FWIW, I'm also hitting this on FF 73, on Arch Linux, kernel 4.19.99. Sad to see it's difficult to trigger this and the bug is several years old.
- Once the CPU spike is triggered, restarting Firefox is the only solution for it.
- Once the spike triggered, it doesn't matter if FF is focused or behind other windows.
strace
is full ofpoll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=27, events=POLLIN}, {fd=47, events=POLLIN}], 5, 0) = 0 (Timeout)
- fd 4 information
/proc/556611/fd/4 -> socket:[6430396]
firefox 556611 mmoya 4u unix 0x00000000ec6fb205 0t0 6430396 type=STREAM ->INO=6434294 1131,Xorg,46u
FWIW, there is a profile here.
Comment 143•5 years ago
|
||
Hitting this on RHEL6.10 2.6.32-754.el6.i686
Firefox 52.8.0
window manager is mwm
This is also reproducible on Firefox 60.1.0
Reproduction steps:
- xserver is started when a local script is called - calling /usr/bin/X :0 -> /usr/bin/Xorg ( symlinked)
- xserver comes up fine - no high cpu usage
- terminal is open and firefox is started - sometimes the event loop starts here. But usually the user has to select any file menu from firefox.
Also noticed that this does NOT seem to occur when:
a. xserver is started via xinit from tty
b. same window environment
c. firefox is started from xterm
The problem does not appear.
d. Kill the X server
e. leave the user logged in on ttry
f. repeat steps 1 - 3 - no problem.
g. kill the X server
h. log the user out
i. repeat steps 1 - 3 problem re-appears. Xorg goes to 100% CPU with endless
6978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 723740278}) = 0
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 723740278}) = 0
16978 [00412424] select(512, [1 3 4 5 6 7 9 15 16 17 18 19 22 23 35 36 37 38 39 40 41 42], NULL, NULL, {118, 500000}) = 1 (in [7], left {118, 499997})
16978 [00412424] time(NULL) = 1582123300
calls.
strace -s 255 -f -i -p $(pidof X) -o strace_output.txt
partial output - you can see where it starts repeating below as soon as firefox loads:
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 721740278}) = 0
16978 [00412424] rt_sigprocmask(SIG_BLOCK, [IO], [], 8) = 0
16978 [00412424] rt_sigprocmask(SIG_BLOCK, [ALRM CHLD TSTP TTIN TTOU VTALRM WINCH], [IO], 8) = 0
16978 [00412424] gettimeofday({1582123300, 615413}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615445}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615476}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615507}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615538}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615573}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615604}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615641}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615672}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615703}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615734}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615764}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615795}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615826}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615857}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615888}, NULL) = 0
16978 [00412424] gettimeofday({1582123300, 615919}, NULL) = 0
16978 [00412424] select(36, NULL, [35], NULL, {20, 0}) = 1 (out [35], left {19, 999999})
16978 [00412424] write(35, "\0\0\0\1\0H\0007\0\0\20\0\0\0\7\220\257\v\377\330\377\340\0\20JFIF\0\1\1\0\0\1\0\1\0\0\377\333\0C\0\3\2\2\2\2\2\3\2\2\2\3\3\3\3\4\6\4\4\4\4\4\10\6\6\5\6\t\10\n\n\t\10\t\t\n\f\17\f\n\v\16\v\t\t\r\21\r\16\17\20\20\21\20\n\f\22\23\22\20\23\17\20\20\20\377\333\0C\1\3\3\3\4\3\4\10\4\4\10\20\v\t\v\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\20\377\300\0\21\10\0\20\0
\3\1\21\0\2\21\1\3\21\1\377\304\0\37\0\0\1\5\1\1\1\1\1\1\0\0\0\0\0\0\0\0\1\2\3\4\5\6\7\10\t\n\v\377\304\0\265\20\0\2\1\3\3\2\4\3\5\5\4\4\0\0\1}\1\2\3\0\4"..., 1474) = 1474
16978 [00412424] rt_sigprocmask(SIG_SETMASK, [IO], NULL, 8) = 0
16978 [00412424] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 721740278}) = 0
16978 [00412424] select(512, [1 3 4 5 6 7 9 15 16 17 18 19 22 23 35 36 37 38 39 40 41 42], NULL, NULL, {118, 502000}) = 1 (in [7], left {118, 501995})
16978 [00412424] time(NULL) = 1582123300
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00412424] select(512, [1 3 4 5 6 7 9 15 16 17 18 19 22 23 35 36 37 38 39 40 41 42], NULL, NULL, {118, 501000}) = 2 (in [7 35], left {118, 500997})
16978 [00412424] select(36, [35], NULL, NULL, {0, 0}) = 1 (in [35], left {0, 0})
16978 [00412424] read(35, "\3\1\0\0\0\0\6@", 8) = 8
16978 [00412424] select(36, [35], NULL, NULL, {20, 0}) = 1 (in [35], left {19, 999999})
16978 [00412424] read(35, "\4\260", 8) = 2
16978 [00412424] select(36, [35], NULL, NULL, {0, 0}) = 0 (Timeout)
16978 [00412424] time(NULL) = 1582123300
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00412424] select(512, [1 3 4 5 6 7 9 15 16 17 18 19 22 23 35 36 37 38 39 40 41 42], NULL, NULL, {118, 501000}) = 1 (in [7], left {118, 500996})
16978 [00412424] time(NULL) = 1582123300
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00412424] select(512, [1 3 4 5 6 7 9 15 16 17 18 19 22 23 35 36 37 38 39 40 41 42], NULL, NULL, {118, 501000}) = 1 (in [7], left {118, 500997})
16978 [00412424] time(NULL) = 1582123300
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00fb6dc1] clock_gettime(CLOCK_MONOTONIC_COARSE, {8990, 722740278}) = 0
16978 [00412424] select(512, [1 3 4 5 6 7 9 15 16 17 18 19 22 23 35 36 37 38 39 40 41 42], NULL, NULL, {118, 501000}) = 1 (in [7], left {118, 500997})
16978 [00412424] time(NULL) = 1582123300
Comment 144•3 years ago
|
||
Any of these related? https://mzl.la/3iF8A77
Comment 146•3 years ago
|
||
Hello Wayne! I have tried to reproduce the issue with firefox 96.0a1(2021-11-23) with Ubuntu 20. Is this issue still valid and if yes are there any simpler steps to reproduce the issue?
Comment 147•3 years ago
|
||
(In reply to Negritas Sergiu from comment #146)
... Is this issue still valid and if yes are there any simpler steps to reproduce the issue?
Reporters, we need your help on these questions. TIA (I don't have ability to reproduce)
Comment 148•3 years ago
|
||
I see this same behavior (using Firefox 94 on Debian), but I can't tell you what steps are necessary to reproduce this.
Is there anything I can do here to help with this? (strace, anything else?)
Comment 149•3 years ago
|
||
I could confirm some years back, and I can confirm now.
FF eats about 7% cpu, Thunderbird about 3%.
Comment 150•3 years ago
|
||
(In reply to Adam from comment #149)
I could confirm some years back, and I can confirm now.
FF eats about 7% cpu, Thunderbird about 3%.
I forgot to state my system. sorry for the noise. I'm on a laptop with kubuntu 21.10 and an Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz.
Comment 151•3 years ago
|
||
I can reproduce the bug on Sway, Wayland Firefox 99.0.1-archlinux. The CPU gets pegged at 25% while browser window is inactive (e.g. while only terminal window is in focus), and it stops when firefox gets focused again.
Workaround of setting layout.frame_rate to 60 solves the problem.
I am very confused though, according to bug 1687909 this should already work? This does not make sense.
Comment 152•3 years ago
|
||
Redirect needinfos that are pending on inactive users to the triage owner.
:nika, since the bug has high severity and recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 154•2 years ago
|
||
I have tested again with layout.frame_rate reset to -1 and could not reproduce anymore on 102.0.1-archlinux. So it looks like it was at some point fixed from my perspective.
Comment 155•2 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Comment 156•2 years ago
|
||
Comment 157•2 years ago
|
||
(In reply to Niklas Hambüchen from comment #141)
OK, some update (thanks Wayne Mery for pinging me):
I am now on Thunderbird 52.2.1 as is in Ubuntu 16.04 and things look a bit
better.Large CPU spikes once per minute are either one or much shorter now so that
they are less visible.
I suspect that has to do with the sessionrestore topic, which was discussed
also here for Firefox: bug 1304389
Regarding sessionrestore, if you are referring to Thunderbird, Thunderbird does not use session recording in the same way as Firefox. The file is only written at shutdown. In other words, in Thunderbird there is no "continuous" load due to sessionrestore.
Comment 158•2 years ago
|
||
Still seeing this on Ubuntu 22:10 with "Firefox 108.0.2 (64-bit)" downloaded from Mozilla.
layout.frame_rate is -1
about:processes (shift-escape) shows that the busy process (839812 in what follows) is the original firefox process, not one labelled with a tab or window.
from 'lsof':
firefox-b 839812 werdna 12u unix 0x0000000000000000 0t0 1508109 type=STREAM (CONNECTED)
'strace -ttt -T -p 839812 ' gives about 700 lines per second; here is a small section:
1673695086.008511 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000024>
1673695086.008642 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000025>
1673695086.008759 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000023>
1673695086.008873 poll([{fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=23, events=POLLIN}, {fd=67, events=POLLIN}, {fd=68, events=POLLIN}], 5, -1) = 1 ([{fd=12, revents=POLLIN}]) <0.014310>
1673695086.023339 recvmsg(12, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\16\0$\214`\0\300\1\0\0>\0\0\0\0\0\0\0\0\0\0\0\00\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64 <0.000087>
1673695086.023662 futex(0x7f4cf75ea018, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000118>
1673695086.023968 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000070>
1673695086.024201 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000025>
1673695086.024326 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000023>
1673695086.024443 poll([{fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=23, events=POLLIN}, {fd=67, events=POLLIN}, {fd=68, events=POLLIN}], 5, -1) = 1 ([{fd=12, revents=POLLIN}]) <0.000399>
1673695086.024995 recvmsg(12, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\16\0'\214U\0\300\1\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64 <0.000037>
1673695086.025182 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000024>
1673695086.025319 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000023>
1673695086.025434 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000023>
1673695086.025545 poll([{fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=23, events=POLLIN}, {fd=67, events=POLLIN}, {fd=68, events=POLLIN}], 5, -1) = 1 ([{fd=12, revents=POLLIN}]) <0.014318>
1673695086.040086 recvmsg(12, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\16\0*\214\344\0\300\1\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64 <0.000129>
1673695086.040487 futex(0x7f4cf75ea018, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000068>
1673695086.040682 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000068>
1673695086.040934 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000068>
1673695086.041125 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000028>
1673695086.041247 poll([{fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=23, events=POLLIN}, {fd=67, events=POLLIN}, {fd=68, events=POLLIN}], 5, 1) = 1 ([{fd=12, revents=POLLIN}]) <0.000161>
1673695086.041531 recvmsg(12, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\16\0-\214\214\0\300\1\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 64 <0.000030>
1673695086.041691 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000024>
1673695086.041829 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000024>
1673695086.041943 recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) <0.000023>
1673695086.042055 poll([{fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=23, events=POLLIN}, {fd=67, events=POLLIN}, {fd=68, events=POLLIN}], 5, -1) = 1 ([{fd=12, revents=POLLIN}]) <0.012466>
Someone mentioned D-Bus. I am using X11 with twm, so it is unlikely that d-bus requests will give useful results on this login.
Comment 159•2 years ago
|
||
Should have added that, although I cannot reproduce it in another profile, this happens constantly in my active profile (with many windows and tabs) so if there is anything I can do to help debug I do have an instance.
I have just spotted something interesting:
ps xfww | grep -i fire[f]ox | head -5
839812 ? SNl 10777:01 /home/werdna/firefox-new/firefox/firefox-bin
839813 ? Z 0:00 _ [firefox-bin] <defunct>
839862 ? Sl 0:00 _ /home/werdna/firefox-new/firefox/firefox-bin -contentproc -parentBuildID 20230104165113 -prefsLen 39785 -prefMapSize 260716 -appDir /home/werdna/firefox-new/firefox/browser {650645c0-b418-43bd-9484-fd2bc2ffdf58} 839812 true socket
839918 ? Sl 6:38 _ /home/werdna/firefox-new/firefox/firefox-bin -contentproc -childID 1 -isForBrowser -prefsLen 40338 -prefMapSize 260716 -jsInitLen 246772 -parentBuildID 20230104165113 -appDir /home/werdna/firefox-new/firefox/browser {e66c7b4d-da57-46f8-81c5-ed957049c956} 839812 true tab
839952 ? Sl 0:14 _ /home/werdna/firefox-new/firefox/firefox-bin -contentproc -childID 2 -isForBrowser -prefsLen 41118 -prefMapSize 260716 -jsInitLen 246772 -parentBuildID 20230104165113 -appDir /home/werdna/firefox-new/firefox/browser {75ba4778-f471-4ca7-94bd-baf75d883402} 839812 true tab
The pid immediately after the initial fireox process belongs to firefox and is defunct. Could that be relevant ?
Comment 160•1 year ago
|
||
Following up from https://bugzilla.mozilla.org/show_bug.cgi?id=508427#c158
Firefox 117.0 (64bit) built by Mozilla, Ubuntu 23.04 (Lunar), kernel 6.2.0-32-generic
same profile as comment 158.
47 firefox processes running, about:processes shows main firefox process in 2%-20%
range when idle; a great improvement on before.
However 'strace -ttt -T -p <pid>' still shows about 1600 lines/sec.
I see no defunct firefox processes.
I will keep on eye on this.
If someone has done something to firefox that has reduced the problem, thank you.
I guess the most useful thing for me would be suggestions on how to bisect my profile
and thus see if I can find a particular cause.
Comment 161•1 year ago
|
||
I have same problem with resource unavailable. In my problem, only the first time that i boot my computer, it takes about 3-5 minutes to connect to internet, throwing a lot of errors for resource unavailable while chromium in same computer or firefox-esr are open them, instantly eg. youtube.com.
See my bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1868609
Comment 162•1 year ago
|
||
It is everytime of booting reproducable.
If i can do something to debug, please tell me.
firefox --safe-mode same problem.
rr debuger nothing useful.
I think that there is also some "deficiency" n linux debugging tools too. They cannot capture very efficiently web browsers problems.
I think they must be enriched.
Comment 163•11 months ago
|
||
(In reply to Andrew Aitchison from comment #159)
Should have added that, although I cannot reproduce it in another profile, this happens constantly in my active profile (with many windows and tabs) so if there is anything I can do to help debug I do have an instance.
I have just spotted something interesting:
ps xfww | grep -i fire[f]ox | head -5
839812 ? SNl 10777:01 /home/werdna/firefox-new/firefox/firefox-bin
839813 ? Z 0:00 _ [firefox-bin] <defunct>
839862 ? Sl 0:00 _ /home/werdna/firefox-new/firefox/firefox-bin -contentproc -parentBuildID 20230104165113 -prefsLen 39785 -prefMapSize 260716 -appDir /home/werdna/firefox-new/firefox/browser {650645c0-b418-43bd-9484-fd2bc2ffdf58} 839812 true socket
839918 ? Sl 6:38 _ /home/werdna/firefox-new/firefox/firefox-bin -contentproc -childID 1 -isForBrowser -prefsLen 40338 -prefMapSize 260716 -jsInitLen 246772 -parentBuildID 20230104165113 -appDir /home/werdna/firefox-new/firefox/browser {e66c7b4d-da57-46f8-81c5-ed957049c956} 839812 true tab
839952 ? Sl 0:14 _ /home/werdna/firefox-new/firefox/firefox-bin -contentproc -childID 2 -isForBrowser -prefsLen 41118 -prefMapSize 260716 -jsInitLen 246772 -parentBuildID 20230104165113 -appDir /home/werdna/firefox-new/firefox/browser {75ba4778-f471-4ca7-94bd-baf75d883402} 839812 true tabThe pid immediately after the initial fireox process belongs to firefox and is defunct. Could that be relevant ?
Hey Andrew, if the bug still happens for you, can you please file a separate bug in Core::Performance (direct link)?
It would be good if you can provide the information asked in the template too (especially a Firefox Profiler profile as well as data from about:support). Thanks!
Comment 164•11 months ago
•
|
||
I'm gonna close this old bug because it contains obsolete and conflicting information. If you find a performance issue in Firefox, please file a new bug in Core::Performance and we'll get to it more easily.
Thanks!
Description
•