• Re: Firefox lockups with kernel 6.12.6

    From George at Clug@21:1/5 to All on Sat Dec 28 11:40:01 2024
    On Saturday, 28-12-2024 at 12:34 John Hasler wrote:
    As an interim solution consider installing the "New Tab Suspender v2" extension:

    John,

    I installed the "New Tab Suspender v2" Add-on but how do you 1) configure the timer and the Tab count, 2) know if it is actually working or not?

    George



    A very lightweight tab suspender to suspend inactive tabs that reduces
    an overall memory usage of firefox, uses a firefox native discard api
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to George on Sat Dec 28 15:00:01 2024
    George writes:
    I installed the "New Tab Suspender v2" Add-on but how do you 1) configure
    the timer and the Tab count, 2) know if it is actually working or not?

    It doesn't seem to be configureable. You can tell it's working when long-unused tabs reload when you click them. There are several other
    tab unloaders such as Auto Tab Discard.

    You can also go to about:config, search for "memory", and adjust things
    like "browser.cache.memory.capacity" and
    "browser.tabs.unloadOnLowMemory".
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank McCormick@21:1/5 to All on Fri Dec 27 22:20:01 2024
    I am running Trixie full updated.
    I have been having lockups quite often running Firefox under the latest
    kernel.
    The lockups are complete, even REISUB doesn't work - the computer is completely unresponsive.
    I have gone back to the previous kernel and things run smoothly.

    This is inxi -F

    System: Host: franklin Kernel: 6.11.10-amd64 arch: x86_64 bits: 64
    Desktop: IceWM v: 3.2.3.2
    Distro: Debian GNU/Linux trixie/sid Machine: Type: Desktop System:
    LENOVO product: 5536E2F v: ThinkCentre M90p serial: <superuser
    required> Mobo: LENOVO model: N/A serial: <superuser required> BIOS:
    LENOVO v: 5JKT47AUS date: 07/13/2010
    CPU: Info: dual core model: Intel Core i5 660 bits: 64 type: MT MCP
    cache: L2: 512 KiB Speed (MHz): avg: 1197 min/max: 1197/3326
    cores: 1: 1197 2: 1197 3: 1197 4: 1197 Graphics: Device-1: Intel
    Core Processor Integrated Graphics driver: i915 v: kernel Display: x11 server: X.Org v: 21.1.15 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1920x1080~60Hz API: EGL
    v: 1.5 drivers: crocus,swrast platforms: gbm,x11,surfaceless,device
    API: OpenGL v: 4.5 compat-v: 2.1 vendor: intel mesa v: 24.2.8-1
    renderer: Mesa Intel HD Graphics (ILK) Audio: Device-1: Intel 5
    Series/3400 Series High Definition Audio driver: snd_hda_intel
    API: ALSA v: k6.11.10-amd64 status: kernel-api Server-1: PipeWire v:
    1.2.7 status: active Network: Device-1: Intel 82578DM Gigabit Network
    driver: e1000e IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 44:87:fc:d8:3b:53 Drives: Local Storage: total: 912.89 GiB used: 62.23
    GiB (6.8%)
    ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
    ID-2: /dev/sdb vendor: Seagate model: ST3500418AS size: 465.76 GiB
    type: USB Partition:
    ID-1: / size: 228.61 GiB used: 8.65 GiB (3.8%) fs: ext4 dev: /dev/sda1
    Swap: Alert: No swap data was found.
    Sensors: System Temperatures: cpu: 59.0 C mobo: N/A Fan Speeds
    (rpm): N/A Info:
    Memory: total: 8 GiB note: est. available: 7.44 GiB used: 1.13 GiB
    (15.2%) Processes: 177
    Uptime: 33m
    Shell: Bash
    inxi: 3.3.36


    I am at a loss to debug this. Has anyone else reported problems with
    6.12.6 ?


    --
    Frank McCormick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Fri Dec 27 22:50:01 2024
    On 27 Dec 2024 16:08 -0500, from debianlist@videotron.ca (Frank McCormick):
    I am running Trixie full updated.
    I have been having lockups quite often running Firefox under the latest kernel.
    The lockups are complete, even REISUB doesn't work - the computer is completely unresponsive.
    I have gone back to the previous kernel and things run smoothly.

    The first thing I would do, since the issue you're encountering seems
    readily reproducible, is to reproduce the issue while connected to the
    system over SSH. Does the SSH session also freeze when this happens?

    You can force it to be apparent whether it does by running something
    through it which outputs text continuously, and just seeing if the
    flow of text stops. Examples:

    $ while true; do find /usr/bin -print; done

    $ while true; date +%s.%N; done

    This will tell you whether it's something which impacts your local
    session only, or something which impacts the whole system. (It's not
    too hard to imagine X issues causing everything at the console to
    become nonresponsive while the overall system is still working fine,
    for example.)

    Since you can make the problem appear or disappear on the same system
    by switching kernel versions, I would file a bug report in the Debian
    bug tracker against the kernel package at the problematic version, and
    indicate that it's a regression compared to whatever kernel version
    does not exhibit the problem. Whether it's some kind of kernel crash
    or simply a GUI session freeze would likely be very relevant
    information then.

    --
    Michael Kjörling
    🔗 https://michael.kjorling.se

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From George at Clug@21:1/5 to All on Sat Dec 28 01:50:01 2024
    On Saturday, 28-12-2024 at 08:08 Frank McCormick wrote:

    I am running Trixie full updated.
    I have been having lockups quite often running Firefox under the latest kernel.

    My wife has been experiencing Firefox lockups on Debian Bookworm (KDE Plasma when using either Wayland or X11, we tested the issue on both).

    Please read my below comments and let me know if there is any similarity, or if you have been able to detect any pattern about how the issue occurs.

    (lockup - Total non response from the PC, not even pressing the power button for three seconds initiates a shutdown)

    The lock ups were so annoying she have given up using Firefox, and now uses Chromium.

    The lockup usually occured when a web page changes, for example when new ad is being automatically displayed, or opening a new page in a tab. Opening a page can be to a page that can be opened without causing an issue, but this instance of "opening"
    causes the PC to freeze.

    The lockup can occur when she was not using the web page, but noticed the a web page changing a displayed ad.

    However even Chromium occasionally locks up (every two or three weeks).

    She does have many, many tabs open at a time. If she keeps tabs down to less than 10, the issue is less frequent (I think, hard to confirm).

    I have wondered if the issue has to do with web pages. I think some ads (which show randomly, based on the ad display systems) are badly coded, and cause some kind of memory/process leak.

    Another thought was a fault in the coding of the web browser?

    After a reboot, the Ext4 partition has to be repaired, automatically by the login process. My concern is if this happens too frequently, data on the disk drive may become unrepairable, requiring a reinstallation of the OS.

    I like the idea put forward of having a ssh connection open. But I would need to start the ssh session from another PC every day we start her PC, just waiting for the one time it locks up.

    Each time the PC is locked up, my wife asks me to come and look at it (if I am home at the time), and one time I was delayed coming, by the time I came, the PC started responding normally. This has only happened the once, and since then I have tried
    waiting for a while but her PC never started working again by itself.

    It is challenging to fault find as there is never a time that web browsers are not loaded, even when she is playing games. And the issue occurs very infrequently.

    I have also experienced the issue of lockups on my PC (Bookworm and XFCE), but so infrequently, as in once or twice a year. I usually have less that 10 pages loaded at a time, and most of my web pages have static ads that are not automatically updated.
    I usually close off web pages once having read and saved any information I was looking for. I might play games for a short time once or twice a week? So very different usage.

    I do have a Debian Trixie KDE Plasma PC I occasionally use, and again I would normally use Firefox but have not experienced lock ups on it. I might keep it running for a number of days to see what happens? But that is a lot of power wasted just waiting
    for an issue and because I would not be actively using it, it is likely not to lock up.

    Hardware types could be a contributor, but there would be so many different hardware combinations. Like snowflakes, no two PCs are the same (lol).

    George.





    The lockups are complete, even REISUB doesn't work - the computer is completely unresponsive.
    I have gone back to the previous kernel and things run smoothly.

    This is inxi -F

    System: Host: franklin Kernel: 6.11.10-amd64 arch: x86_64 bits: 64 Desktop: IceWM v: 3.2.3.2
    Distro: Debian GNU/Linux trixie/sid Machine: Type: Desktop System:
    LENOVO product: 5536E2F v: ThinkCentre M90p serial: <superuser
    required> Mobo: LENOVO model: N/A serial: <superuser required> BIOS: LENOVO v: 5JKT47AUS date: 07/13/2010
    CPU: Info: dual core model: Intel Core i5 660 bits: 64 type: MT MCP
    cache: L2: 512 KiB Speed (MHz): avg: 1197 min/max: 1197/3326
    cores: 1: 1197 2: 1197 3: 1197 4: 1197 Graphics: Device-1: Intel
    Core Processor Integrated Graphics driver: i915 v: kernel Display: x11 server: X.Org v: 21.1.15 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1920x1080~60Hz API: EGL
    v: 1.5 drivers: crocus,swrast platforms: gbm,x11,surfaceless,device
    API: OpenGL v: 4.5 compat-v: 2.1 vendor: intel mesa v: 24.2.8-1
    renderer: Mesa Intel HD Graphics (ILK) Audio: Device-1: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel
    API: ALSA v: k6.11.10-amd64 status: kernel-api Server-1: PipeWire v:
    1.2.7 status: active Network: Device-1: Intel 82578DM Gigabit Network driver: e1000e IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 44:87:fc:d8:3b:53 Drives: Local Storage: total: 912.89 GiB used: 62.23
    GiB (6.8%)
    ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
    ID-2: /dev/sdb vendor: Seagate model: ST3500418AS size: 465.76 GiB
    type: USB Partition:
    ID-1: / size: 228.61 GiB used: 8.65 GiB (3.8%) fs: ext4 dev: /dev/sda1
    Swap: Alert: No swap data was found.
    Sensors: System Temperatures: cpu: 59.0 C mobo: N/A Fan Speeds
    (rpm): N/A Info:
    Memory: total: 8 GiB note: est. available: 7.44 GiB used: 1.13 GiB
    (15.2%) Processes: 177
    Uptime: 33m
    Shell: Bash
    inxi: 3.3.36


    I am at a loss to debug this. Has anyone else reported problems with
    6.12.6 ?


    --
    Frank McCormick



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Hasler@21:1/5 to All on Sat Dec 28 02:40:01 2024
    As an interim solution consider installing the "New Tab Suspender v2" extension:

    A very lightweight tab suspender to suspend inactive tabs that reduces
    an overall memory usage of firefox, uses a firefox native discard api
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From George at Clug@21:1/5 to All on Sat Dec 28 03:00:01 2024
    On Saturday, 28-12-2024 at 12:34 John Hasler wrote:
    As an interim solution consider installing the "New Tab Suspender v2" extension:

    Thanks John, I will give that a try. Sounds worthwhile even if the lockups were not happening.

    George.



    A very lightweight tab suspender to suspend inactive tabs that reduces
    an overall memory usage of firefox, uses a firefox native discard api
    --
    John Hasler
    john@sugarbit.com
    Elmwood, WI USA



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank McCormick@21:1/5 to John Hasler on Sat Dec 28 04:30:01 2024
    On 12/27/24 8:34 PM, John Hasler wrote:
    As an interim solution consider installing the "New Tab Suspender v2" extension:

    A very lightweight tab suspender to suspend inactive tabs that reduces
    an overall memory usage of firefox, uses a firefox native discard api


    I don't think that will help in my situation. The lockups happen
    soon after
    boot and now I know it's not only Firefox, but Thunderbird and tonight
    it happened in a text editor as I was writing up a bug report


    --
    Frank McCormick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank McCormick@21:1/5 to George at Clug on Sat Dec 28 04:30:01 2024
    On 12/27/24 7:41 PM, George at Clug wrote:


    On Saturday, 28-12-2024 at 08:08 Frank McCormick wrote:

    I am running Trixie full updated.
    I have been having lockups quite often running Firefox under the latest
    kernel.

    My wife has been experiencing Firefox lockups on Debian Bookworm (KDE Plasma when using either Wayland or X11, we tested the issue on both).

    Please read my below comments and let me know if there is any similarity, or if you have been able to detect any pattern about how the issue occurs.

    (lockup - Total non response from the PC, not even pressing the power button for three seconds initiates a shutdown)

    Sounds like my machine - even alt-sysreq reisub is helpless .


    The lock ups were so annoying she have given up using Firefox, and now uses Chromium.

    The lockup usually occured when a web page changes, for example when new ad is being automatically displayed, or opening a new page in a tab. Opening a page can be to a page that can be opened without causing an issue, but this instance of "opening"
    causes the PC to freeze.

    The lockup can occur when she was not using the web page, but noticed the a web page changing a displayed ad.


    I have since realized that it's not only Firefox its locking up - I
    was in the middle of writing up a bug report when the machine locked tight.
    And now I've seen it happening in Thunderbird. It seems entirely random
    but usually happens quite soon after boot.


    After a reboot, the Ext4 partition has to be repaired, automatically by the login process. My concern is if this happens too frequently, data on the disk drive may become unrepairable, requiring a reinstallation of the OS.

    Yes I am faced with that also.


    I like the idea put forward of having a ssh connection open. But I would need to start the ssh session from another PC every day we start her PC, just waiting for the one time it locks up.


    My problem with SSH is I don't have another machine to use and try.


    --
    Frank McCormick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Frank McCormick@21:1/5 to Jeffrey Walton on Sat Dec 28 05:20:02 2024
    On 12/27/24 11:10 PM, Jeffrey Walton wrote:
    On Fri, Dec 27, 2024 at 6:42 PM Frank McCormick <debianlist@videotron.ca> wrote:


    I am running Trixie full updated.
    I have been having lockups quite often running Firefox under the latest
    kernel.
    The lockups are complete, even REISUB doesn't work - the computer is
    completely unresponsive.
    I have gone back to the previous kernel and things run smoothly.


    I don't have anything useful to add. But this piqued my interest since
    Linux oversubscribes memory and many programs don't deal with ENOMEM
    well:

    Swap: Alert: No swap data was found.

    Does adding a 1 GB swap file and low swappiness, like `vm.swappiness =
    2`, alleviate the problem?


    I doubt it. I haven't run a swap file in many years and this system
    works fine
    under the previous kernel. So it's not a memory problem. A google
    search will
    turn up dozens of other reports on kernel 6.12.6....most of them problems
    on laptops after suspending, but mixed in are a couple of computer
    lockups like
    the one I'm experiencing.
    Jeff

    --
    Frank McCormick

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)