[Système] Enormes ralentissements du système apparus du jour au lendemain (résolu)

Reconnaissance et configuration du matériel / kernel linux
Spheerys
archer
Messages : 132
Inscription : jeu. 01 déc. 2011, 16:35

[Système] Enormes ralentissements du système apparus du jour au lendemain (résolu)

Message par Spheerys »

Bonjour,

Depuis hier mon système a un soucis de lag énorme.
Hormis les MAJ régulière du système qui se passent généralement très bien, rien de spécial ne s'est passé.
Le symptôme : lancement de libreoffice, firefox et thunderbird prenant environ 50 secondes (une fois lancé, le programme est à peut prêt utilisable)


La mémoire vive est utliisée à 45% (sur 16Go, ça commence à faire beaucoup) sans vraiment de raison.
Bref tout ça ressemble à une fuite mémoire, probablement de Firefox si j'en crois le top suivant (mais je n'en suis pas sûr car même qd il n’est pas lancé, ça rame!) :

Code : Tout sélectionner

top - 11:16:07 up  1:52,  2 users,  load average: 1,83, 1,85, 1,20
Tâches: 268 total,   1 en cours, 266 en veille,   0 arrêté,   1 zombie
%Cpu(s):  7,4 ut,  2,4 sy,  0,0 ni, 89,5 id,  0,1 wa,  0,4 hi,  0,2 si,  0,0 st
MiB Mem :  15891,0 total,   4912,1 libr,   5504,6 util,   5474,3 tamp/cache
MiB Éch :      0,0 total,      0,0 libr,      0,0 util.   8467,7 dispo Mem 

    PID UTIL.     PR  NI    VIRT    RES    SHR S  %CPU  %MEM    TEMPS+ COM.                                                                                              
  33100 hedy      20   0   20,9g 923120 270940 S  32,1   5,7  15:38.31 firefox                                                                                           
   2110 hedy      20   0 1741376 209316 144464 S   7,3   1,3   4:44.53 Xorg                                                                                              
  63005 hedy      20   0 2592460 204724 133824 S   6,6   1,3   0:21.42 Isolated Web Co                                                                                   
   2231 hedy      20   0  800936  81540  49048 S   3,3   0,5   1:34.34 picom                                                                                             
  46386 hedy      20   0 2604376 194056 128228 S   3,3   1,2   0:34.97 Isolated Web Co                                                                                   
  65646 hedy      20   0 1088800 111108  62696 S   3,0   0,7   0:00.85 terminator                                                                                        
  33471 hedy      20   0 2647992 244652 127484 S   1,0   1,5   0:43.08 Isolated Web Co                                                                                   
   2260 hedy      20   0  540604  36232  32572 S   0,7   0,2   0:32.55 polybar                                                                                           
   2261 hedy      20   0 1240652  39936  33804 S   0,7   0,2   0:42.17 polybar                                                                                           
  33398 hedy      20   0 2967648 368620 137280 S   0,7   2,3   0:37.57 Isolated Web Co                                                                                   
  62288 root      20   0       0      0      0 I   0,7   0,0   0:01.75 kworker/5:1-events                                                                                
  65803 hedy      20   0   11392   4568   3528 R   0,7   0,0   0:00.04 top                                                                                               
      1 root      20   0  168276  13836   9892 S   0,3   0,1   0:01.70 systemd                                                                                           
    161 root       0 -20       0      0      0 I   0,3   0,0   0:00.26 kworker/3:1H-events_highpri                                                                       
  33449 hedy      20   0   10,6g 200532 122764 S   0,3   1,2   0:04.94 Isolated Web Co                                                                                   
  41875 hedy      20   0 2056524 802552 262596 S   0,3   4,9   4:58.07 telegram-deskto                                                                                   
  47868 root      20   0       0      0      0 I   0,3   0,0   0:01.27 kworker/u12:1-events_unbound                                                                      
  64424 root      20   0       0      0      0 I   0,3   0,0   0:00.18 kworker/4:2-events                                                                                
      2 root      20   0       0      0      0 S   0,0   0,0   0:00.01 kthreadd                                                                                          
      3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp                                                                                            
      4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp                                                                                        
      5 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 slub_flushwq                                                                                      
      6 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 netns                                                                                             
      8 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 kworker/0:0H-events_highpri                                                                       
     10 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu_wq                          
Avec Glances :

Code : Tout sélectionner

narayan (Arch Linux 64bit / Linux 6.1.27-1-lts) - IP 192.168.0.3/24 Pub 82.65.211.29                                                                                                           Uptime: 1:53:16

Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz - 4.39/4.60GHz                  CPU ↑     8.3%  idle    77.0%  ctx_sw    13K           MEM -   46.6%  active   6.71G           SWAP -   0.0%           LOAD -  6core
CPU  [|||||                                                      8.3%]   user     15.2%  irq      0.5%  inter      4K           total   15.5G  inacti   2.06G           total       0           1 min    1.21
MEM  [||||||||||||||||||||||||||                                46.6%]   system    6.9%  nice     0.0%  sw_int     3K           used    7.23G  buffer    309M           used        0           5 min    1.68
SWAP [                                                           0.0%]   iowait    0.2%  steal    0.0%                          free    8.29G  cached   5.14G           free        0           15 min   1.17

NETWORK                  Rx/s   Tx/s   TASKS 270 (1660 thr), 1 run, 191 slp, 78 oth Threads sorted automatically by CPU consumption
enp2s0                    6Kb    5Kb
lo                         0b     0b   CPU%   MEM%  VIRT  RES       PID USER          TIME+ THR  NI S  R/s W/s  Command ('k' to kill)
                                       >12.0  5.1   20.9G 806M    33100 hedy          15:48 182   0 S    0 0    firefox
DefaultGateway                   2ms    8.7   1.3   1.68G 204M     2110 hedy           4:48 14    0 R    0 0    Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -nore
                                        6.3   0.7   1.05G 117M    65646 hedy           0:03 6     0 S    0 0    python /usr/bin/terminator
DISK I/O                  R/s    W/s    5.3   1.4   1.39G 218M     2208 hedy           0:11 7     0 S    0 0    python /usr/bin/gajim
sda                       10K  2.28M    3.4   0.3   345M  51.8M   65968 hedy           0:01 1     0 R    0 0    python /usr/bin/glances
sda1                        0     4K    2.4   1.3   2.47G 200M    63005 hedy           0:23 24    0 S    0 0    firefox -contentproc -childID 100 -isForBrowser -prefsLen 31245 -prefMapSize 246882 -jsInitLen
sda2                        0      0    2.4   0.5   782M  79.6M    2231 hedy           1:35 8     0 S    0 0    picom --experimental-backends
sda3                      10K  2.28M    1.0   1.5   2.53G 239M    33471 hedy           0:43 23    0 S    0 0    firefox -contentproc -childID 12 -isForBrowser -prefsLen 26107 -prefMapSize 246882 -jsInitLen
sdb                         0      0    0.5   2.3   2.83G 361M    33398 hedy           0:37 23    0 S    0 0    firefox -contentproc -childID 4 -isForBrowser -prefsLen 26107 -prefMapSize 246882 -jsInitLen 2
sdc                         0      0    0.5   1.4   2.63G 228M    33439 hedy           0:07 23    0 S    0 0    firefox -contentproc -childID 9 -isForBrowser -prefsLen 26107 -prefMapSize 246882 -jsInitLen 2
                                        0.5   1.4   18.9G 227M    33731 hedy           1:06 24    0 S    0 0    firefox -contentproc -childID 14 -isForBrowser -prefsLen 40612 -prefMapSize 246882 -jsInitLen
FILE SYS                 Used  Total    0.5   0.3   456M  44.5M    2951 hedy           0:00 5     0 S    0 0    xdg-desktop-portal-gtk
/ (sda1)                35.8G  47.8G    0.5   0.2   1.18G 39.0M    2261 hedy           0:42 16    0 S    0 0    polybar -r bottom
/home (sda3)             172G   398G    0.5   0.2   528M  35.4M    2260 hedy           0:32 4     0 S    0 0    polybar -r top
                                        0.5   0.2   258M  34.7M    2155 hedy           0:02 1     0 S    0 0    i3
SENSORS                                 0.5   0.1   48.3M 17.5M     268 root           0:01 1     0 S    ? ?    systemd-journald
acpitz 1                         27C    0.5   0.0   0     0         121 root           0:06 1   -20 I    ? ?    [kworker/u13:0-i915_flip]
pch_cannonlake 1                 32C    0.5   0.0   0     0       62288 root           0:01 1     0 I    ? ?    [kworker/5:1-events]
Package id 0                     40C    0.5   0.0   0     0       63600 root           0:00 1     0 I    ? ?    [kworker/u12:2-i915]
Core 0                           32C    0.5   0.0   0     0       65262 root           0:00 1     0 I    ? ?    [kworker/u12:3-events_freezable_power_]
Core 1                           30C    0.0   5.0   12.5G 797M    18664 hedy           2:46 141   0 S    0 0    thunderbird
Core 2                           40C    0.0   4.9   1.91G 784M    41875 hedy           4:58 54    0 S    0 0    telegram-desktop --
Core 3                           30C    0.0   2.4   3.06G 374M    34980 hedy           1:31 24    0 S    0 0    firefox -contentproc -childID 19 -isForBrowser -prefsLen 30762 -prefMapSize 246882 -jsInitLen
Core 4                           30C    0.0   2.0   2.91G 314M    33480 hedy           0:07 23    0 S    0 0    firefox -contentproc -childID 13 -isForBrowser -prefsLen 26107 -prefMapSize 246882 -jsInitLen
Core 5                           30C
2023-05-08 11:16:51 CEST

Rencontrez-vous le même genre de soucis depuis quelques jours ?

PS : j'ai aussi lancé un memtest cette nuit au cas où : RAS
Dernière modification par Spheerys le mar. 06 juin 2023, 22:32, modifié 1 fois.
Spheerys
archer
Messages : 132
Inscription : jeu. 01 déc. 2011, 16:35

Re: [Système] Enormes ralentissements du système apparus du jour au lendemain

Message par Spheerys »

J'ai trouvé le coupable : xdg-desktop-portal-gtk
J'ai désinstallé ce package + ses quelques dépendances et tout remarche comme avant !
Il s'agissait en fait d'une régression : https://bbs.archlinux.org/viewtopic.php?id=285590
Répondre