Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 26/05/2026, à 15:22

arnonono

Re : Problème de clavier et de freeze

arnaud@sabart:~$ free -h
               total       utilisé      libre     partagé tamp/cache   disponible
Mem:            15Gi        13Gi       475Mi       976Mi       2,9Gi       2,1Gi
Échange:       2,0Gi       1,3Gi       679Mi
arnaud@sabart:~$ free -h
               total       utilisé      libre     partagé tamp/cache   disponible
Mem:            15Gi       9,5Gi       4,1Gi       684Mi       2,7Gi       5,8Gi
Échange:       2,0Gi       1,3Gi       679Mi
arnaud@sabart:~$ 

Entre les 2 j'ai fermé Firefox.

Hors ligne

#27 Le 26/05/2026, à 18:01

geole

Re : Problème de clavier et de freeze

Avec 15 go de ram , tu ne devrais pas avoir de problème de swap.
N’aurais-tu pas utilisé la ram pour y stocker des fichiers temporaires ?
Que donne

grep -v "#"  /etc/fstab

J’ai l’impression que ton firefox est assez gourmand ( 3,5 Go  ) .

Dernière modification par geole (Le 26/05/2026, à 18:03)


Les écrans de l'installateur 26.04 https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#28 Le 26/05/2026, à 18:04

arnonono

Re : Problème de clavier et de freeze

Je n'ai fait aucune manipulation avec la mémoire...

arnaud@sabart:~/$ grep -v "#"  /etc/fstab
UUID=c6fdcd89-5dd1-4533-81d8-696b5dc51b9d /               ext4    errors=remount-ro 0       1
UUID=7A26-C235  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
arnaud@sabart:~/$ 

au démarrage j'ai déjà presque 3Go d'utilisés je ne sais pas si c'est normal

arnaud@sabart:~$ free -h
               total       utilisé      libre     partagé tamp/cache   disponible
Mem:            15Gi       2,8Gi        10Gi       285Mi       2,4Gi        12Gi
Échange:       2,0Gi          0B       2,0Gi
arnaud@sabart:~$ 

Dernière modification par arnonono (Le 26/05/2026, à 18:08)

Hors ligne

#29 Le 26/05/2026, à 18:22

geole

Re : Problème de clavier et de freeze

Pas surprenant que le démarrge consomme déjà 3 Go....
Je ne sais pas très bien chercher.
Donne ce retour

 top -o %MEM -n 5  

Dernière modification par geole (Le 26/05/2026, à 18:24)


Les écrans de l'installateur 26.04 https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#30 Le 26/05/2026, à 18:53

arnonono

Re : Problème de clavier et de freeze

top - 18:52:54 up 0 min,  1 user,  load average: 2,28, 0,67, 0,23
Tâches: 417 total,   4 en cours, 413 en veille,   0 arrêté,   0 zombie
%Cpu(s): 11,1 ut,  3,1 sy,  0,0 ni, 85,7 id,  0,1 wa,  0,0 hi,  0,0 si,  0,0 st 
MiB Mem :  15715,6 total,   6774,9 libr,   4671,7 util,   5619,5 tamp/cache     
MiB Éch:   2048,0 total,   2048,0 libr,      0,0 util.  11043,9 dispo Mem 

    PID UTIL.     PR  NI    VIRT    RES    SHR S  %CPU  %MEM    TEMPS+ COM.                                                           
   4461 arnaud    20   0 3561380 568668 246020 S  75,1   3,5   0:20.59 firefox                                                        
   4064 arnaud    20   0 3291900 467820 249544 S   0,0   2,9   0:09.76 thunderbird-bin                                                
   2728 arnaud    20   0 7193592 457752 109296 S   2,5   2,8   0:12.98 dropbox                                                        
   2328 arnaud    20   0 4729708 423908 133000 R  32,8   2,6   0:15.19 gnome-shell                                                    
   1926 mysql     20   0 2376380 398712  36956 S   0,5   2,5   0:01.12 mysqld                                                         
   3348 arnaud    20   0 2971228 248884 151392 S  29,4   1,5   0:15.59 nextcloud                                                      
   4945 arnaud    20   0 2801572 245120 109576 S  35,8   1,5   0:06.08 Isolated Web Co                                                
   4821 arnaud    20   0 2831468 234252 103188 S  17,4   1,5   0:03.66 WebExtensions                                                  
   5206 arnaud    20   0   10,6g 201544 144700 R   9,5   1,3   0:02.14 Privileged Cont                                                
   4383 arnaud    20   0 2493476 121520 101716 S   0,0   0,8   0:00.31 Isolated Web Co                                                
   4327 arnaud    20   0 2507036 111828  91496 S   0,0   0,7   0:00.18 WebExtensions                                                  
   2020 arnaud    20   0  737124 110548  68204 S  10,0   0,7   0:03.22 Xorg                                                           
   3019 arnaud    20   0 1340744 105456  83012 S   0,5   0,7   0:00.28 xdg-desktop-por                                            top - 18:53:00 up 0 min,  1 user,  load average: 2,09, 0,66, 0,23
Tâches: 416 total,   2 en cours, 414 en veille,   0 arrêté,   0 zombie
%Cpu(s):  7,6 ut,  2,0 sy,  0,0 ni, 90,4 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st 
MiB Mem :  15715,6 total,   6867,0 libr,   4573,1 util,   5571,1 tamp/cache     
MiB Éch:   2048,0 total,   2048,0 libr,      0,0 util.  11142,5 dispo Mem 

    PID UTIL.     PR  NI    VIRT    RES    SHR S  %CPU  %MEM    TEMPS+ COM.                                                       
   4461 arnaud    20   0 3561320 569508 246020 R  72,2   3,5   0:25.17 firefox                                                    
   4064 arnaud    20   0 3291836 466812 249544 S   0,0   2,9   0:09.76 thunderbird-bin                                            
   2728 arnaud    20   0 7193592 457752 109296 S   0,0   2,8   0:12.99 dropbox                                                    
   2328 arnaud    20   0 4732236 425040 133000 S   7,9   2,6   0:16.54 gnome-shell                                                
   1926 mysql     20   0 2376380 398712  36956 S   1,0   2,5   0:01.17 mysqld                                                     
   4945 arnaud    20   0 2830244 278156 109640 S  32,1   1,7   0:08.11 Isolated Web Co                                            
   3348 arnaud    20   0 2971228 248912 151416 S   1,7   1,5   0:16.27 nextcloud                                                  
   4821 arnaud    20   0 2831468 240988 103188 S  17,5   1,5   0:04.75 WebExtensions                                              
   5206 arnaud    20   0   10,6g 201780 144848 S  10,9   1,3   0:02.72 Privileged Cont                                            
   4383 arnaud    20   0 2493476 121520 101716 S   0,0   0,8   0:00.31 Isolated Web Co                                            
   4327 arnaud    20   0 2507020 111572  91496 S   0,3   0,7   0:00.19 WebExtensions                                              
   2020 arnaud    20   0  737052 110568  68204 S   4,6   0,7   0:03.73 Xorg                                                       
   3019 arnaud    20   0 1340744 105456  83012 S   0,0   0,7   0:00.28 xdg-desktop-por                                            
   2700 arnaud    20   0  734860 104764  58504 S   0,0   0,7   0:04.91 snap-store                                                 
   3125 arnaud    20   0  971376  97240  77760 S   0,0   0,6   0:00.39 snapd-desktop-i                                            
   2368 arnaud    20   0 1029900  94252  75372 S   0,0   0,6   0:00.29 mutter-x11-fram                                            
   3150 arnaud    20   0 3858112  85496  53532 S   0,3   0,5   0:01.11 gjs                                                        
   5175 arnaud    20   0 2603772  81332  64824 S   0,0   0,5   0:00.05 Web Content                                                
   5055 arnaud    20   0 2603772  81204  64736 S   0,0   0,5   0:00.11 Web Content                                                
   5057 arnaud    20   0 2603772  81196  64736 S   0,0   0,5   0:00.11 Web Content                                                
   2529 arnaud    20   0  911752  72240  55156 S   0,0   0,4   0:00.21 evolution-alarm                                            
   4240 arnaud    20   0  851404  61800  48656 S   2,0   0,4   0:00.86 gnome-terminal-                                            
   2501 arnaud    20   0  575488  58604  46588 S   0,0   0,4   0:00.22 kdeconnectd                                                
   1059 root      20   0 2811540  48432  25204 S   0,0   0,3   0:03.03 snapd                                                      
   3227 root      20   0  487280  47472  38808 S   0,0   0,3   0:00.89 fwupd                                                      
   4330 arnaud    20   0  410536  45724  33128 S   0,0   0,3   0:00.06 RDD Process                                                
   4677 arnaud    20   0  622160  45404  32372 S   0,0   0,3   0:00.12 RDD Process                                                
   1836 root      20   0 2465664  44480  30180 S   0,0   0,3   0:00.13 containerd                                                 
   2408 arnaud    20   0  602252  43252  35136 S   0,0   0,3   0:00.16 evolution-sourc                                            
   1049 _mta-sts  20   0 1405068  40456  15840 S   1,3   0,3   0:01.07 mta-sts-daemon                                             
arnaud@sabart:~$ 

Hors ligne

#31 Le 26/05/2026, à 19:50

steph810

Re : Problème de clavier et de freeze

Bonsoir,
Géole a bienpointé le problème.
Actuellement le swap n'est que de 2go un peut light si 16Go de ram
dans le log OOm ont vois:

Total swap = 2097148kB

essayer de l'augmenter, si 16Go de RAM met 8Go de swap:

sudo swapoff /swapfile
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

abandonner firefox snap pour le deb.

cp -r ~/snap/firefox/common/.mozilla ~/ 2>/dev/null

sudo snap remove firefox

sudo install -d -m 0755 /etc/apt/keyrings

wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null

gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); if($0 == "35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3") print "\nThe key fingerprint matches ("$0").\n"; else print "\nVerification failed: the fingerprint ("$0") does not match the expected one.\n"}'

sudo tee /etc/apt/sources.list.d/mozilla.sources > /dev/null << EOF
Types: deb
URIs: https://packages.mozilla.org/apt
Suites: mozilla
Components: main
Signed-By: /etc/apt/keyrings/packages.mozilla.org.asc
EOF 

sudo tee /etc/apt/preferences.d/mozilla > /dev/null << EOF
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000
EOF 

sudo apt-get update
sudo apt-get install firefox 
sudo apt-get install firefox-l10n-fr 

reinstalle ton profil, ouvre firefox et:

about:profiles

normalement ancien profil detecter.

Dernière modification par steph810 (Le 26/05/2026, à 19:51)

En ligne

#32 Le 26/05/2026, à 20:15

geole

Re : Problème de clavier et de freeze

Je ne suis pas du tout certain que remplacer un snap par un deb soit la solution.
Pour ajouter un nouveau fichier de swap,  c’est plutôt

 sudo fallocate -l 8G /swapfile1
sudo chmod 600 /swapfile1
sudo mkswap /swapfile1
sudo swapon /swapfile1

Dernière modification par geole (Le 26/05/2026, à 20:18)


Les écrans de l'installateur 26.04 https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#33 Le 27/05/2026, à 09:27

arnonono

Re : Problème de clavier et de freeze

OK je vais faire des tests avec le nouveau fichier swap.

Hors ligne

#34 Le 27/05/2026, à 20:45

arnonono

Re : Problème de clavier et de freeze

En fermant firefox je gagne 10Go de Ram ! C'est cette appli qui déconne on dirait

arnaud@sabart:~$ free -h
               total       utilisé      libre     partagé tamp/cache   disponible
Mem:            15Gi        14Gi       190Mi       1,3Gi       2,4Gi       977Mi
Échange:       2,0Gi       2,0Gi       1,4Mi
arnaud@sabart:~$ free -h
               total       utilisé      libre     partagé tamp/cache   disponible
Mem:            15Gi       3,9Gi        10Gi       1,0Gi       2,1Gi        11Gi
Échange:       2,0Gi       1,7Gi       290Mi
arnaud@sabart:~$ 

Hors ligne