Critical behaviour during the last 3 or 4 days

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Critical behaviour during the last 3 or 4 days

Post by jmss »

Hi,

This week I've been observing this issue at least once a day: at a certain point the system load starts increasing (I can see it from my CPU/disk load applet) and everything freezes, screen, mouse, keyboard. I cannot go to terminal in text mode, I cannot login with SSH (login is accepted but never shows shell). At that point the disk is highly active.

The only solution is to power down brute force.

Has anyone noticed a similar behaviour? I usually run the usual applications like Thunderbird, Firefox, Chromium, file manager, terminals.

It may have started happening since I started using Chromium simultaneously with Firefox.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7143
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Critical behaviour during the last 3 or 4 days

Post by mikeflan »

I use Chromium simultaneously with Firefox all the time - continuously - 24/7 for weeks with 16 GB RAM. 8+ FF tabs/windows and 4 Chromium tabs. No problems.

I dont' think this is your problem, but lets eliminate it. Next time you think it is happening, restart Cinnamon (Ctrl-Alt-Esc).
User avatar
all41
Level 19
Level 19
Posts: 9521
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Critical behaviour during the last 3 or 4 days

Post by all41 »

jmss wrote: Wed Jun 16, 2021 7:26 pm Hi,

This week I've been observing this issue at least once a day: at a certain point the system load starts increasing (I can see it from my CPU/disk load applet) and everything freezes, screen, mouse, keyboard. I cannot go to terminal in text mode, I cannot login with SSH (login is accepted but never shows shell). At that point the disk is highly active.

The only solution is to power down brute force.
Do you have flatpaks?--have you added any lately? Try temporarily turning off the flatpak updater in your
Startup Applications (enabled by default).
The only solution is to power down brute force.
This is dangerous--try using the reisub method first--
viewtopic.php?p=1499828#p1499828
Everything in life was difficult before it became easy.
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Re: Critical behaviour during the last 3 or 4 days

Post by jmss »

mikeflan wrote: Wed Jun 16, 2021 9:46 pm I use Chromium simultaneously with Firefox all the time - continuously - 24/7 for weeks with 16 GB RAM. 8+ FF tabs/windows and 4 Chromium tabs. No problems.

I dont' think this is your problem, but lets eliminate it. Next time you think it is happening, restart Cinnamon (Ctrl-Alt-Esc).
Thanks. I will try that.
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Re: Critical behaviour during the last 3 or 4 days

Post by jmss »

Do you have flatpaks?--have you added any lately? Try temporarily turning off the flatpak updater in your
Startup Applications (enabled by default).
I was not 100% aware, but I do:

Code: Select all

$ flatpak list
Name                                                     Application ID                                    Version         Branch        Installation
Freedesktop.org Application Platform version 1.6         org.freedesktop.Platform                          1.6             1.6           system
Freedesktop Platform                                     org.freedesktop.Platform                          18.08.39        18.08         system
Freedesktop Platform                                     org.freedesktop.Platform                          20.08.13        20.08         system
Mesa                                                     org.freedesktop.Platform.GL.default               21.1.1          20.08         system
nvidia-340-107                                           org.freedesktop.Platform.GL.nvidia-340-107                        1.4           system
nvidia-340-108                                           org.freedesktop.Platform.GL.nvidia-340-108                        1.4           system
FFmpeg extension                                         org.freedesktop.Platform.ffmpeg                                   1.6           system
ffmpeg-full                                              org.freedesktop.Platform.ffmpeg-full                              20.08         system
html5-codecs                                             org.freedesktop.Platform.html5-codecs                             18.08         system
openh264                                                 org.freedesktop.Platform.openh264                 2.1.0           2.0           system
Mint-Y Gtk Theme                                         org.gtk.Gtk3theme.Mint-Y                                          3.22          system
KDE Application Platform                                 org.kde.Platform                                                  5.15          system
Telegram Desktop                                         org.telegram.desktop                              2.7.4           stable        system
This is dangerous--try using the reisub method first--
viewtopic.php?p=1499828#p1499828
Thanks. I will try that.
User avatar
Pjotr
Level 24
Level 24
Posts: 20124
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Critical behaviour during the last 3 or 4 days

Post by Pjotr »

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- Make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxpmrz
(if you type: the letter F is a capital letter, and don't omit the space after inxi!)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Re: Critical behaviour during the last 3 or 4 days

Post by jmss »

This issue did not repeat so far.

Here is the output of inxi -Fxpmrz:

Code: Select all

System:    Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Z400 Workstation v: N/A serial: <filter> 
           Mobo: Hewlett-Packard model: 0AE4h v: C serial: <filter> BIOS: Hewlett-Packard v: 786G3 v03.60 date: 02/24/2016 
Memory:    RAM: total: 5.79 GiB used: 2.22 GiB (38.3%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: Quad Core model: Intel Xeon W3540 bits: 64 type: MT MCP arch: Nehalem rev: 5 L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 46931 
           Speed: 1600 MHz min/max: 1596/2927 MHz Core speeds (MHz): 1: 1600 2: 1600 3: 1600 4: 1600 5: 1600 6: 1600 7: 1600 
           8: 1600 
Graphics:  Device-1: NVIDIA G98 [Quadro NVS 295] driver: nouveau v: kernel bus ID: 28:00.0 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: NV98 v: 3.3 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel 82801JI HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-74-generic 
Network:   Device-1: Broadcom and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe vendor: Hewlett-Packard driver: tg3 
           v: 3.137 port: d0c0 bus ID: 01:00.0 
           IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: ASUSTek N10 Nano 802.11n Network Adapter [Realtek RTL8192CU] type: USB driver: rtl8192cu bus ID: 1-5:2 
           IF: wlx107b445b6d5d state: down mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
Drives:    Local Storage: total: 456.46 GiB used: 246.89 GiB (54.1%) 
           ID-1: /dev/sda vendor: Toshiba model: TR200 size: 223.57 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST3250318AS size: 232.89 GiB 
RAID:      Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 bus ID: 00:1f.2 
Partition: ID-1: / size: 27.38 GiB used: 19.38 GiB (70.8%) fs: ext4 dev: /dev/sda2 
           ID-2: /backup size: 229.10 GiB used: 113.59 GiB (49.6%) fs: ext4 dev: /dev/sdb3 
           ID-3: /home size: 182.39 GiB used: 113.53 GiB (62.2%) fs: ext4 dev: /dev/sda3 
           ID-4: swap-1 size: 9.31 GiB used: 404.1 MiB (4.2%) fs: swap dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A gpu: nouveau temp: 76 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list.d/iconnor-zoneminder-1_34-focal.list 
           1: deb http://ppa.launchpad.net/iconnor/zoneminder-1.34/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb https://mega.nz/linux/MEGAsync/xUbuntu_20.04/ ./
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https://ftp.rnl.tecnico.ulisboa.pt/pub/linuxmint-packages ulyssa main upstream import backport
           2: deb http://ftp.rnl.tecnico.ulisboa.pt/pub/ubuntu/archive focal main restricted universe multiverse
           3: deb http://ftp.rnl.tecnico.ulisboa.pt/pub/ubuntu/archive focal-updates main restricted universe multiverse
           4: deb http://ftp.rnl.tecnico.ulisboa.pt/pub/ubuntu/archive focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
Info:      Processes: 291 Uptime: 14h 48m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Re: Critical behaviour during the last 3 or 4 days

Post by jmss »

It happened again. Graphics completely frozen. I was listening to music on Spotify and the audio got broken. High hard disk activity as before.

I tried both Ctrl+Alt+Esc and Ctrl+Alt+SysRq with no effect.

I could login through SSH this time and saw this:

Code: Select all

top - 23:51:59 up 13:52,  2 users,  load average: 4,85, 4,41, 2,35
Tasks: 284 total,   1 running, 283 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2,4 us,  1,6 sy,  0,0 ni, 95,9 id,  0,0 wa,  0,0 hi,  0,1 si,  0,0 st
MiB Mem :   5926,8 total,    194,3 free,   4176,7 used,   1555,9 buff/cache
MiB Swap:   9536,0 total,   9220,8 free,    315,2 used.   1381,7 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                           
   8178 jmss      20   0 1196604  72648  38232 D  76,0   1,2   5:56.63 spotify                                                                                           
   3984 jmss      20   0 3915348 717676 135008 S  31,8  11,8  21:02.49 firefox                                                                                           
   5802 jmss      20   0   13,8g 191408  56972 S   9,7   3,2   6:48.79 spotify                                                                                           
   5734 jmss      20   0 3656944 142956  62568 S   5,7   2,4  10:02.53 spotify                                                                                           
   1776 jmss       9 -11 2195740  19116  16664 S   3,4   0,3   7:54.39 pulseaudio                                                                                        
   6224 jmss      20   0   36,8g 174168  64872 S   1,4   2,9   4:00.39 signal-desktop                                                                                    
   5770 jmss      20   0 1237592  59352  37000 S   1,1   1,0   0:15.79 spotify                                                                                           
  12094 jmss      20   0 2627148 168756 105544 S   0,3   2,8   0:11.26 Web Content                                                                                       
  11961 root      20   0       0      0      0 I   0,3   0,0   0:07.91 kworker/2:0-events                                                                                
   1020 root      20   0  653284  81888  61248 S   0,3   1,3   4:42.41 Xorg                                                                                              
   4086 jmss      20   0 3100964 340728  91744 S   0,2   5,6   3:23.91 Web Content                                                                                       
   4335 jmss      20   0 1188768  53012  29904 S   0,2   0,9   0:24.11 chromium                                                                                          
   4301 jmss      20   0 2658728 195388  64420 S   0,2   3,2   0:39.03 chromium                                                                                          
   4962 jmss      20   0 9063452 246904  79724 S   0,2   4,1   3:40.02 Web Content                                                                                       
   1049 mysql     20   0 2135080 299668   5376 S   0,1   4,9   0:20.52 mysqld                                                                                            
  12406 jmss      20   0 2491116 133896  94428 S   0,1   2,2   0:01.13 Web Content                                                                                       
     10 root      20   0       0      0      0 I   0,1   0,0   0:11.95 rcu_sched                                                                                         
   2179 jmss      20   0 2934028 396440 104832 S   0,1   6,5   8:01.17 thunderbird                                                                                       
   8382 jmss      20   0 2889864 230188 137816 S   0,1   3,8   0:26.76 Web Content                                                                                       
    373 root      19  -1   73084  24592  23172 S   0,1   0,4   0:01.03 systemd-journal                                                                                   
   1317 root      20   0 1371792   7576   5888 S   0,1   0,1   0:11.19 teamviewerd                                                                                       
   1789 jmss      20   0    9280   5540   3484 S   0,1   0,1   0:02.17 dbus-daemon                                                                                       
   2641 jmss      20   0  884036  57044  18448 S   0,1   0,9   0:07.86 megasync                                                                                          
   4222 jmss      20   0 2479632  91300  65736 S   0,1   1,5   0:09.42 Privileged Cont                                                                                   
   9877 root      20   0       0      0      0 I   0,1   0,0   0:11.50 kworker/7:16-events                                                                               
  10230 root      20   0       0      0      0 I   0,1   0,0   0:06.18 kworker/1:0-mm_percpu_wq                                                                          
  11065 root      20   0       0      0      0 I   0,1   0,0   0:08.12 kworker/0:0-events                                                                                
  11090 root      20   0       0      0      0 I   0,1   0,0   0:03.64 kworker/6:2-events                                                                                
  12481 root      20   0       0      0      0 I   0,1   0,0   0:00.38 kworker/3:1-events                                                                                
    734 systemd+  20   0   24284  10088   6832 S   0,0   0,2   0:02.10 systemd-resolve                                                                                   
    782 root      20   0  238660   7164   5980 S   0,0   0,1   0:00.30 accounts-daemon                                                                                   
    814 root      20   0   81892   3580   3240 S   0,0   0,1   0:00.62 irqbalance
    
User avatar
AndyMH
Level 21
Level 21
Posts: 13743
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Critical behaviour during the last 3 or 4 days

Post by AndyMH »

You only have 6GB RAM so are probably using swap a lot. That would explain your symptoms.

You are also running with the nouveau driver, might be better with the nvidia driver.

Code: Select all

Graphics:  Device-1: NVIDIA G98 [Quadro NVS 295] driver: nouveau v: kernel bus ID: 28:00.0 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: NV98 v: 3.3 Mesa 20.2.6 direct render: Yes 
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
Pjotr
Level 24
Level 24
Posts: 20124
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Critical behaviour during the last 3 or 4 days

Post by Pjotr »

I'm with AndyMH about trying the closed-source proprietary Nvidia driver. Launch Driver Manager and let it do its magic.

But I don't think 6 GB RAM as "only" 6 GB. On the contrary: I think it's rather a lot of RAM. :mrgreen:

Apply these safe speed tweaks, notably the disabling of visual effects and the cutting down on the usual suspects, namely (browser) add-ons and such:
https://easylinuxtipsproject.blogspot.c ... -mint.html
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
jmss
Level 1
Level 1
Posts: 13
Joined: Tue Dec 03, 2013 7:20 am

Re: Critical behaviour during the last 3 or 4 days

Post by jmss »

I had switched to the open-source driver because I was observing graphical artefacts when the system resumed from sleep and someone advised me to do it.

Coincidentally, yesterday I got a message from system report mentioning a new closed-source driver version and I decided to try it.

I also think 6 GB of RAM for GNU/Linux is very good. However, some applications are getting heavier everyday...

Let's see.

Thanks.
Locked

Return to “Other topics”