Fuite mémoire dans le kernel

Bonjour
J’ai un problème avec mon PC parfois il plant car la mémoire vive est saturé mais rien dans top n’utilise beaucoup de mémoire en revanche dans slabtop kmalloc-1024 peut utiliser toute la mémoire.

J’ai déjà mis les driver Nvidia à jour en pensant que ça pouvais provenir de la mais le problème persiste avez vous une idée comment trouvé d’ou vient le problème?

En général quand le pc est dans cette état j’arrive à taper quelque commande avant un plantage définitif. Et si je surveille l’utilisation mémoire dans slabtop après quelque heur je ne vois rien de bizarre je pense donc que la fuite mémoire apparaît d’un coup.

Alors pourquoi répètes tu que c’est une fuite mémoire ?

C’est quoi “cet état là” ?
Quelle différence avec le plantage définitif ?

Pour mois le kernel qui utilise 16G de ram je ne vois pas d’autre explication qu’une fuite mémoire mais elle ne semble pas commencer immédiatement seulement après un certain temps ou événement.

Cette état la j’ai en effet pas été très précis :sweat_smile:
La saturation de la mémoire fait que mes application se font killer je me retrouve avec un PC qui rame avec le bureau tout noir et juste une ou 2 application qui tourne ou bien il kill carrément le serveur X et je suis dans sddm

Après plus rien ne répond même pas CTRL +F1

Ca peut aussi être une mémoire foireuse, c’est pas forcément coté logiciel que ça plante.
Faudrait faire un memtest, déjà.
Et sinon, si ça vient du noyau, il suffit d’en changer, non ?

Et sinon, c’est à ce moment là qu’il faudrait passer en console faire un top et auditer la mémoire.

Bonjour,

On ne sait pas de quoi est rempli la mémoire… Par exemple, sur la capture suivante, la mémoire est occupée par du cache disque. Elle semble pleine, mais si je lance un programme, le noyau lui fait une place en libérant ce qui est occupé par le cache…
memoireFull

Personnellement, si j’avais un problème mémoire, je commencerais par tester mes barrettes.

Euh … perso, 2.5 Go occupés sur 32, c’est pas ce que j’appelle “mémoire remplie”. Le problème doit être ailleurs.

Et le “cache disque”, c’est quoi pour toi ? (je ne suis pas sûr, mais j’ai l’impression que tu fais un mauvais usage d’éléments de vocabulaire)

Évidemment, si j’oublie d’activer le détail de la mémoire…
Capture%20d%E2%80%99%C3%A9cran_2019-07-02_11-08-02

Comme on peut le voir dans l’encadré orange, pratiquement toute la mémoire est utilisée en cache. Alors, par contre j’ai résumé un peu vite en disant que cela concernait que le disque. Le noyau s’en sert pour accélérer à peu prêt tout ce qu’il peut (fichiers ouverts, connexion réseau, etc).

Le cache, ce n’est pas une fuite de mémoire et c’est hyper-volatile, c’est pour ça que ce n’est pas compté comme ‘used’. Ca se vide à la moindre demande de mémoire.

Je persiste à croire que ton problème n’est pas celui que tu crois.

Le memtest suggéré par mattotop, tu l’as fait ? Il en ressort que tu n’as pas de défaillance matérielle ?

salut
une simple commande free donne l’utilisation de la mémoire

free -mht
              total        used        free      shared  buff/cache   available
Mem:          3,6Gi       1,6Gi       308Mi        91Mi       1,7Gi       1,6Gi
Swap:         7,7Gi        10Mi       7,7Gi
Total:         11Gi       1,6Gi       8,0Gi

Je connais bien le cache disque le problème ne vient pas de la
j’ai réussi à faire un top et un free vous pouvez constater que les programme n’utilise que très peut de mémoire pourtant la mémoire disponible est de 150MB

top

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0 170016  2920 ?        Ss   Jun21   0:06 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Jun21   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        I<   Jun21   0:00 [rcu_gp]
root         4  0.0  0.0      0     0 ?        I<   Jun21   0:00 [rcu_par_gp]
root         6  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/0:0H-kblockd]
root         8  0.0  0.0      0     0 ?        I<   Jun21   0:00 [mm_percpu_wq]
root         9  0.0  0.0      0     0 ?        S    Jun21   0:58 [ksoftirqd/0]
root        10  0.3  0.0      0     0 ?        I    Jun21  24:20 [rcu_sched]
root        11  0.0  0.0      0     0 ?        I    Jun21   0:00 [rcu_bh]
root        12  0.0  0.0      0     0 ?        S    Jun21   0:31 [migration/0]
root        14  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/0]
root        15  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/1]
root        16  0.0  0.0      0     0 ?        S    Jun21   0:29 [migration/1]
root        17  0.0  0.0      0     0 ?        S    Jun21   0:43 [ksoftirqd/1]
root        19  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/1:0H-kblockd]
root        20  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/2]
root        21  0.0  0.0      0     0 ?        S    Jun21   0:30 [migration/2]
root        22  0.0  0.0      0     0 ?        S    Jun21   0:41 [ksoftirqd/2]
root        24  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/2:0H-kblockd]
root        25  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/3]
root        26  0.0  0.0      0     0 ?        S    Jun21   0:28 [migration/3]
root        27  0.0  0.0      0     0 ?        S    Jun21   0:42 [ksoftirqd/3]
root        29  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/3:0H-kblockd]
root        30  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/4]
root        31  0.0  0.0      0     0 ?        S    Jun21   0:31 [migration/4]
root        32  0.0  0.0      0     0 ?        S    Jun21   0:37 [ksoftirqd/4]
root        34  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/4:0H-kblockd]
root        35  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/5]
root        36  0.0  0.0      0     0 ?        S    Jun21   0:30 [migration/5]
root        37  0.0  0.0      0     0 ?        S    Jun21   0:36 [ksoftirqd/5]
root        39  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/5:0H-kblockd]
root        40  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/6]
root        41  0.0  0.0      0     0 ?        S    Jun21   0:31 [migration/6]
root        42  0.0  0.0      0     0 ?        S    Jun21   0:34 [ksoftirqd/6]
root        44  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/6:0H-kblockd]
root        45  0.0  0.0      0     0 ?        S    Jun21   0:00 [cpuhp/7]
root        46  0.0  0.0      0     0 ?        S    Jun21   0:29 [migration/7]
root        47  0.0  0.0      0     0 ?        S    Jun21   0:33 [ksoftirqd/7]
root        49  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kworker/7:0H-kblockd]
root        50  0.0  0.0      0     0 ?        S    Jun21   0:00 [kdevtmpfs]
root        51  0.0  0.0      0     0 ?        I<   Jun21   0:00 [netns]
root        52  0.0  0.0      0     0 ?        S    Jun21   0:00 [kauditd]
root        54  0.0  0.0      0     0 ?        S    Jun21   0:00 [khungtaskd]
root        55  0.0  0.0      0     0 ?        S    Jun21   0:03 [oom_reaper]
root        56  0.0  0.0      0     0 ?        I<   Jun21   0:00 [writeback]
root        57  0.0  0.0      0     0 ?        S    Jun21   0:28 [kcompactd0]
root        58  0.0  0.0      0     0 ?        SN   Jun21   0:00 [ksmd]
root        59  0.0  0.0      0     0 ?        SN   Jun21   0:30 [khugepaged]
root        60  0.0  0.0      0     0 ?        I<   Jun21   0:00 [crypto]
root        61  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kintegrityd]
root        62  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kblockd]
root        65  0.0  0.0      0     0 ?        I<   Jun21   0:00 [edac-poller]
root        67  0.0  0.0      0     0 ?        I<   Jun21   0:00 [devfreq_wq]
root        68  0.0  0.0      0     0 ?        S    Jun21   0:00 [watchdogd]
root        70  2.1  0.0      0     0 ?        R    Jun21 148:02 [kswapd0]
root        90  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kthrotld]
root        91  0.0  0.0      0     0 ?        S    Jun21   0:00 [irq/123-pcie-dp]
root        92  0.0  0.0      0     0 ?        S    Jun21   0:00 [irq/124-pcie-dp]
root        93  0.0  0.0      0     0 ?        I<   Jun21   0:00 [ipv6_addrconf]
root       102  0.0  0.0      0     0 ?        I<   Jun21   0:00 [kstrp]
root       162  0.0  0.0      0     0 ?        I<   Jun21   0:00 [acpi_thermal_pm]
root       174  0.0  0.0      0     0 ?        I<   Jun21   0:00 [nvme-wq]
root       175  0.0  0.0      0     0 ?        I<   Jun21   0:00 [nvme-reset-wq]
root       176  0.0  0.0      0     0 ?        I<   Jun21   0:00 [nvme-delete-wq]
root       201  0.0  0.0      0     0 ?        I<   Jun21   0:00 [ata_sff]
root       252  0.0  0.0      0     0 ?        S    Jun21   0:00 [scsi_eh_0]
root       253  0.0  0.0      0     0 ?        I<   Jun21   0:00 [scsi_tmf_0]
root       254  0.0  0.0      0     0 ?        S    Jun21   0:00 [scsi_eh_1]
root       255  0.0  0.0      0     0 ?        I<   Jun21   0:00 [scsi_tmf_1]
root       256  0.0  0.0      0     0 ?        S    Jun21   0:00 [scsi_eh_2]
root       257  0.0  0.0      0     0 ?        I<   Jun21   0:00 [scsi_tmf_2]
root       258  0.0  0.0      0     0 ?        S    Jun21   0:00 [scsi_eh_3]
root       259  0.0  0.0      0     0 ?        I<   Jun21   0:00 [scsi_tmf_3]
root       268  0.0  0.0      0     0 ?        S    Jun21   0:00 [i915/signal:0]
root       269  0.0  0.0      0     0 ?        S    Jun21   0:00 [i915/signal:1]
root       270  0.0  0.0      0     0 ?        S    Jun21   0:00 [i915/signal:2]
root       271  0.0  0.0      0     0 ?        S    Jun21   0:00 [i915/signal:6]
root       272  0.0  0.0      0     0 ?        I<   Jun21   0:29 [kworker/3:1H-kblockd]
root       274  0.0  0.0      0     0 ?        I<   Jun21   0:23 [kworker/1:1H-kblockd]
root       275  0.0  0.0      0     0 ?        I<   Jun21   0:25 [kworker/5:1H-kblockd]
root       276  0.0  0.0      0     0 ?        I<   Jun21   0:23 [kworker/7:1H-kblockd]
root       280  0.0  0.0      0     0 ?        I<   Jun21   0:27 [kworker/4:1H-kblockd]
root       282  0.0  0.0      0     0 ?        S    Jun21   0:00 [scsi_eh_4]
root       283  0.0  0.0      0     0 ?        I<   Jun21   0:00 [scsi_tmf_4]
root       284  0.0  0.0      0     0 ?        S    Jun21   0:40 [usb-storage]
root       317  0.0  0.0      0     0 ?        I<   Jun21   0:23 [kworker/2:1H-kblockd]
root       334  0.0  0.0      0     0 ?        S    Jun21   0:10 [jbd2/nvme0n1p2-]
root       335  0.0  0.0      0     0 ?        I<   Jun21   0:00 [ext4-rsv-conver]
root       342  0.0  0.0      0     0 ?        I    10:43   0:00 [kworker/4:2-events]
root       385  0.0  0.2  79268 33644 ?        Ss   Jun21   0:17 /lib/systemd/systemd-journald
root       395  0.0  0.0  23312  1608 ?        Ss   Jun21   0:01 /lib/systemd/systemd-udevd
root       458  0.0  0.0      0     0 ?        S    Jun21   0:00 [irq/138-mei_me]
root       558  0.0  0.0      0     0 ?        S    Jun21   0:00 [nvidia-modeset]
root       574  0.0  0.0      0     0 ?        I<   Jun21   0:24 [kworker/6:1H-kblockd]
root       600  0.0  0.0      0     0 ?        I<   Jun21   0:27 [kworker/0:1H-kblockd]
root       608  0.0  0.0      0     0 ?        S    Jun21   0:14 [jbd2/sdb1-8]
root       609  0.0  0.0      0     0 ?        I<   Jun21   0:00 [ext4-rsv-conver]
systemd+   664  0.0  0.0  95232   964 ?        Ssl  Jun21   0:01 /lib/systemd/systemd-timesyncd
root       668  0.0  0.0   8084  3124 ?        Ss   Jun21   4:45 /usr/sbin/haveged --Foreground --verbose=1 -w 1024
root       696  0.0  0.0 226024  2468 ?        Ssl  Jun21   0:01 /usr/sbin/rsyslogd -n -iNONE
rtkit      699  0.0  0.0 152844   276 ?        SNsl Jun21   0:04 /usr/lib/rtkit/rtkit-daemon
root       700  0.0  0.0 399404  3468 ?        Ssl  Jun21   2:55 /usr/lib/udisks2/udisksd
root       702  0.0  0.0  14768  1880 ?        Ss   Jun21   0:00 /usr/lib/bluetooth/bluetoothd
root       704  0.0  0.0 318464  1660 ?        Ssl  Jun21   0:00 /usr/sbin/ModemManager --filter-policy=strict
message+   708  0.0  0.0  11040  2308 ?        Ss   Jun21   3:24 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root       710  0.0  0.0 407300  3572 ?        Ssl  Jun21   0:40 /usr/sbin/NetworkManager --no-daemon
root       711  0.0  0.0  19768   656 ?        Ss   Jun21   0:02 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
root       713  0.0  0.0  19796  1156 ?        Ss   Jun21   0:02 /lib/systemd/systemd-logind
root       714  0.0  0.0  82236   448 ?        Ssl  Jun21   0:54 /usr/sbin/irqbalance --foreground
root       715  0.0  0.0   8700   292 ?        Ss   Jun21   0:00 /usr/sbin/cron -f
root       718  0.0  0.0  31532  1032 ?        SNs  Jun21   0:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
root       722  0.0  0.0 239344  1584 ?        Ssl  Jun21   0:00 /usr/lib/accountsservice/accounts-daemon
root       741  0.0  0.0  14340   532 ?        Ss   Jun21   0:17 /usr/bin/vmware-usbarbitrator
root       766  0.0  0.0 241644  3664 ?        Ssl  Jun21   0:40 /usr/lib/policykit-1/polkitd --no-debug
mongodb    767  0.5  0.2 301248 36464 ?        Ssl  Jun21  39:05 /usr/bin/mongod --unixSocketPrefix=/run/mongodb --config /etc/mongodb.conf
nobody     785  0.0  0.0   2740   156 ?        Ss   Jun21   0:01 /usr/bin/gdomap -I /var/run/gdomap.pid -p -j /var/run/gdomap
root       791  0.0  0.0  15952   912 ?        Ss   Jun21   0:00 /usr/sbin/sshd -D
colord     792  0.0  0.0 250352  4508 ?        Ssl  Jun21   0:00 /usr/lib/colord/colord
root       793  0.0  0.0   5808   140 tty1     Ss+  Jun21   0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root       864  0.0  0.0 110568  7740 ?        Ssl  Jun21   0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
root       868  0.0  0.0 138304  1352 ?        Ssl  Jun21   0:00 /usr/bin/sddm
root       902  0.0  0.0   9492  1284 ?        S    Jun21   0:00 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/dhclient-eno1.pid -lf /var/lib/NetworkManager/dhclient-d72a9b6c-56d5-4829-b3b4-81a27512bc42-eno1.lease -cf /var/lib/NetworkManager/dhclient-eno1.conf eno1
root       917  0.3  0.3 2181708 54456 ?       Ssl  Jun21  23:22 /usr/sbin/dockerd -H fd://
avahi     1264  0.0  0.0   8876   932 ?        Ss   Jun21   0:43 avahi-daemon: running [Simon.local]
avahi     1270  0.0  0.0   8352   356 ?        S    Jun21   0:00 avahi-daemon: chroot helper
Debian-+  1286  0.0  0.0  22308   888 ?        Ss   Jun21   0:00 /usr/sbin/exim4 -bd -q30m
root      1297  0.0  0.0 155592   976 ?        Ssl  Jun21   0:00 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse
root      1324  0.2  0.1 2354928 20092 ?       Ssl  Jun21  20:23 docker-containerd --config /var/run/docker/containerd/containerd.toml --log-level info
root      1326  0.0  0.0   2904   184 ?        Ss   Jun21   0:00 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0
root      1545  0.0  0.0   2876   180 ?        Ss   Jun21   0:00 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1
root      1554  0.0  0.0   8944  5624 ?        Ss   Jun21   0:00 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
root      1557  0.0  0.0   3756   376 ?        S    Jun21   0:02 /usr/bin/vmnet-natd -s 6 -m /etc/vmware/vmnet8/nat.mac -c /etc/vmware/vmnet8/nat/nat.conf
root      1559  0.0  0.0   2876   180 ?        Ss   Jun21   0:00 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
root      1568  0.0  0.0   8944  5624 ?        Ss   Jun21   0:00 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
root      1584  0.0  0.0   4772   464 ?        Ss   Jun21   0:17 /usr/sbin/vmware-authdlauncher
simon     1591  0.0  0.0  21764  1956 ?        Ss   Jun21   0:00 /lib/systemd/systemd --user
simon     1592  0.0  0.0  23836  2812 ?        S    Jun21   0:00 (sd-pam)
simon     1621  0.0  0.0  10720  2116 ?        Ss   Jun21   0:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
simon     1697  0.0  0.0 159208   552 ?        Sl   Jun21   0:00 /usr/lib/dconf/dconf-service
root      1713  0.0  0.0 258808  2096 ?        Ssl  Jun21   0:15 /usr/lib/upower/upowerd
simon     1822  0.0  0.0 312640  2760 ?        Sl   Jun21   0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher --launch-immediately
simon     1825  0.0  0.0 237604   460 ?        Sl   Jun21   0:00 /usr/lib/geoclue-2.0/demos/agent
simon     1848  0.0  0.0   9296   720 ?        S    Jun21   0:01 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
root      2129  0.0  0.0      0     0 ?        S<   Jun21   0:00 [krfcommd]
simon     3012  0.0  0.0   9108   688 ?        Ss   Jun21   0:00 SCREEN
simon     3013  0.0  0.0   8080  1536 pts/3    Ss   Jun21   0:00 /bin/bash
root      3063  0.0  0.0  12684   532 pts/3    S    Jun21   0:00 sudo su
root      3064  0.0  0.0  10020   476 pts/3    S    Jun21   0:00 su
root      3065  0.0  0.0   8112  1524 pts/3    S    Jun21   0:00 bash
root      3139  0.1  0.0      0     0 ?        I    10:39   0:01 [kworker/u16:0-events_unbound]
root      3154  0.1  0.0      0     0 ?        I    08:30   0:11 [kworker/0:2-mm_percpu_wq]
root      3581  0.0  0.0      0     0 ?        I    10:06   0:00 [kworker/0:0-events]
root      3682  0.0  0.0      0     0 ?        I    10:06   0:00 [kworker/7:1]
root      3750  0.1  0.0      0     0 ?        I    10:41   0:00 [kworker/2:0-events]
root      3815  0.0  0.0  59708  1196 ?        S    10:49   0:00 /usr/lib/x86_64-linux-gnu/sddm/sddm-helper --socket /tmp/sddm-auth7b6f950a-bf46-41c0-9837-2d2c7d4cb05e --id 3 --start /usr/bin/startkde --user simon
root      3846  0.0  0.0   8112  1540 pts/3    S+   Jun21   0:22 bash
root      3969  3.4  0.0      0     0 ?        I<   10:06   1:34 [kworker/u17:2-hci1]
root      3971  0.5  0.0      0     0 ?        I    10:46   0:01 [kworker/u16:1-events_unbound]
simon     4165  0.0  0.0 304824  4632 ?        Sl   10:49   0:00 /usr/bin/kwalletd5 --pam-login 7 3
simon     4171  0.0  0.0   2388   116 ?        S    10:49   0:00 /bin/sh /usr/bin/startkde
simon     4229  0.0  0.0  17980   584 ?        S    Jun21   0:00 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
root      4405  0.0  0.0      0     0 ?        I    07:36   0:00 [kworker/3:1-cgroup_destroy]
root      4792  0.0  0.0      0     0 ?        I    10:48   0:00 [kworker/4:1-events]
simon     4833  0.0  0.0   5856   484 ?        Ss   10:49   0:00 /usr/bin/ssh-agent /usr/bin/startkde
root      5054  0.1  0.0      0     0 ?        I    10:49   0:00 [kworker/3:2-mm_percpu_wq]
simon     5427  0.0  0.0   2188    84 ?        S    10:49   0:00 /usr/lib/x86_64-linux-gnu/libexec/kf5/start_kdeinit --kded +kcminit_startup
simon     5459  0.0  0.0 116248  2688 ?        Ss   10:49   0:00 kdeinit5: Running...
simon     5575  0.0  0.0 302268  4328 ?        Sl   10:49   0:00 /usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher --fd=9
simon     5713  0.3  0.1 1026188 16844 ?       Sl   10:49   0:00 kded5 [kdeinit5]
simon     5912  0.0  0.0 192536  3884 ?        Sl   10:50   0:00 trash.so [kdeinit5] trash local:/run/user/1000/klauncherhFeDDa.1.slave-socket local:/run/user/1000/dolphinOEdaEQ.1.slave-socket
simon     6002  0.0  0.0 116800  2880 ?        S    10:50   0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherhFeDDa.1.slave-socket local:/run/user/1000/dolphinRPKnyE.2.slave-socket
root      6039  0.0  0.0 848628  6364 ?        Sl   Jun21   0:26 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/31c36e7a9480195eb3bff19a5d0c0325cab84804283b8af42466e68eff746a62 -address /var/run/docker/containerd/containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc
systemd+  6056  0.5  0.4 1119972 77964 ?       Ssl  Jun21  41:39 mongod --bind_ip_all
simon     6633  1.3  0.0   8940   516 ?        Ss   Jun25  17:02 /usr/bin/SCREEN -dmS scanHCI1 sh -c while(true); do hcitool -i hci1 lescan --duplicate; done
simon     6634  9.2  0.0   2388    84 pts/6    Rs+  Jun25 113:27 sh -c while(true); do hcitool -i hci1 lescan --duplicate; done
simon     6917  4.8  0.0 388848  2172 ?        D    10:52   0:02 /usr/lib/chromium/chromium --show-component-extension-options --enable-gpu-rasterization --no-default-browser-check --disable-pings --media-router=0 --enable-remote-extensions --load-extension= --enable-remote-extensions
simon     7138  0.0  0.0 652972  6208 ?        S<sl 05:16   0:00 /usr/bin/pulseaudio --daemonize=no
simon     8314  0.0  0.0 303204  4356 ?        Sl   10:49   0:00 /usr/bin/kaccess
simon     8364  0.0  0.0  46476   480 ?        S    10:49   0:00 kwrapper5 /usr/bin/ksmserver
simon     8393  0.0  0.0 382212  5148 ?        Sl   10:49   0:00 /usr/bin/ksmserver
simon     8709  0.0  0.0 301680  5664 ?        Sl   10:49   0:00 /usr/bin/kglobalaccel5
simon     8973  0.0  0.0 240388  2128 ?        Sl   10:49   0:00 /usr/lib/x86_64-linux-gnu/libexec/kf5/kscreen_backend_launcher
simon     8986  0.6  0.1 2686000 17232 ?       Sl   10:49   0:01 /usr/bin/kwin_x11 -session 10c1696d6f000155749242300000018530004_1557938849_714914
simon     9046  0.0  0.0 116512  2728 ?        S    10:50   0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherhFeDDa.1.slave-socket local:/run/user/1000/kded5GqEbzy.1.slave-socket
root      9174  0.0  0.1 200360 26244 tty7     Ssl+ 05:16   0:05 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/sddm/{10ae5859-843e-4434-bfa8-601ff9281653} -background none -noreset -displayfd 18 -seat seat0 vt7
simon     9203  0.2  0.1 509200 24360 ?        Dl   10:49   0:00 /usr/bin/krunner
simon     9217  7.0  1.4 3175252 238644 ?      Dl   10:49   0:16 /usr/bin/plasmashell
simon     9251  0.0  0.0 456344  4696 ?        Sl   10:49   0:00 /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
simon     9263  0.0  0.0 249140  2224 ?        Sl   10:49   0:00 /usr/bin/xembedsniproxy
root      9369  0.1  0.0      0     0 ?        S    05:16   0:24 [irq/140-nvidia]
root      9370  0.0  0.0      0     0 ?        S    05:16   0:00 [nvidia]
simon     9454  0.0  0.0 116692  2768 ?        S    10:50   0:00 file.so [kdeinit5] file local:/run/user/1000/klauncherhFeDDa.1.slave-socket local:/run/user/1000/dolphinsHlCQN.3.slave-socket
root     10308  0.6  0.0      0     0 ?        I    09:19   0:39 [kworker/u16:3-events_unbound]
simon    11566  0.0  0.0 248224  2232 ?        Sl   10:49   0:00 /usr/bin/gmenudbusmenuproxy
simon    11646  0.0  0.0 395956  5344 ?        Sl   10:49   0:00 /usr/lib/x86_64-linux-gnu/libexec/kdeconnectd -session 10c1696d6f000155749242300000018530007_1557938849_218434
root     11769  0.0  0.0      0     0 ?        I    10:34   0:00 [kworker/5:0-cgroup_destroy]
simon    12331  0.0  0.0 434004  4896 ?        Sl   10:49   0:00 /usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil -session 10c1696d6f000155749242300000018530009_1557938849_153997
root     12640  0.0  0.0  31956  3848 ?        Ss   00:00   0:00 /usr/sbin/cupsd -l
root     12649  0.0  0.0 185516  1640 ?        Ssl  00:00   0:00 /usr/sbin/cups-browsed
root     12690  0.0  0.0      0     0 ?        I    10:52   0:00 [kworker/2:1-events]
simon    12720  0.0  0.0 559380  5544 ?        Sl   10:49   0:00 /usr/bin/kactivitymanagerd start-daemon
simon    13119  0.2  0.0 513980  9504 ?        Sl   10:49   0:00 /usr/bin/korgac -session 10c1696d6f000155749242300000018530010_1557938849_202099
simon    16201  0.0  0.0   2388    68 ?        S    10:49   0:00 /bin/sh -c ulimit -Sv 3000000 & syncthing 
simon    16211  0.0  0.1 120216 19144 ?        Sl   10:49   0:00 syncthing
simon    16240  0.0  0.0 237604   508 ?        Sl   10:49   0:00 /usr/lib/geoclue-2.0/demos/agent
root     16672  0.0  0.0      0     0 ?        I    07:38   0:00 [kworker/6:0-cgroup_destroy]
root     17764  0.1  0.0      0     0 ?        I    Jun25   1:03 [kworker/1:0-mm_percpu_wq]
root     18236  0.0  0.0 848564  6252 ?        Sl   Jun25   0:03 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/f22e558f5f31791204300d6fc990a3bd1692d178cd081d0c87853ebbf35c4cc8 -address /var/run/docker/containerd/containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc
simon    18301  0.0  0.0   4280    68 ?        Ss   Jun25   0:00 /bin/sh -c npm start
root     18332  0.0  0.0 774832  6200 ?        Sl   Jun25   0:02 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/2de2c9f100c4914670887ad7cfcb601e325bbf525f5f4fd3c0c5ff046f181985 -address /var/run/docker/containerd/containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc
simon    18399  0.0  0.0   4280    68 ?        Ss   Jun25   0:00 /bin/sh -c npm start
simon    18529  1.4  0.0 358960  7460 ?        Sl   10:50   0:02 thumbnail.so [kdeinit5] thumbnail local:/run/user/1000/klauncherhFeDDa.1.slave-socket local:/run/user/1000/dolphinoKMDaZ.7.slave-socket
simon    18842  0.0  0.0 736660 11544 ?        Sl   Jun25   0:00 npm
root     18889  0.6  0.0      0     0 ?        I    10:03   0:18 [kworker/u16:2-events_unbound]
simon    18957  0.0  0.0 736644 11480 ?        Sl   Jun25   0:00 npm
simon    19090  0.0  0.0   4284    72 ?        S    Jun25   0:00 sh -c node server.js
simon    19091  0.0  0.2 953204 39368 ?        Sl   Jun25   0:39 node server.js
simon    19211  0.0  0.0   4284    72 ?        S    Jun25   0:00 sh -c node server.js
simon    19213  0.0  0.2 951124 36004 ?        Sl   Jun25   0:39 node server.js
root     19715  0.0  0.0 774832  4140 ?        Sl   Jun25   0:03 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/73b3fa71e1bac0b3f628d09e0079cd86c39ffffaec0f78520395dcd486539b61 -address /var/run/docker/containerd/containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc
root     19779  0.0  0.0   6136   820 ?        Ss   Jun25   0:00 nginx: master process nginx -g daemon off;
root     19790  1.3  0.0   8940   520 ?        Ss   Jun25  17:00 /usr/bin/SCREEN -dmS scanHCI1 sh -c while(true); do hcitool -i hci1 lescan --duplicate; done
root     19792  9.1  0.0   2388    84 pts/7    Rs+  Jun25 112:40 sh -c while(true); do hcitool -i hci1 lescan --duplicate; done
root     20088  0.0  0.0 695356  5528 ?        Sl   Jun25   0:00 /usr/sbin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 443 -container-ip 172.18.0.6 -container-port 443
root     20113  0.0  0.0 621880  3492 ?        Sl   Jun25   0:00 /usr/sbin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 80 -container-ip 172.18.0.6 -container-port 80
root     20136  0.0  0.0 774832  6268 ?        Sl   Jun25   0:03 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/6742ef825140d0fa3620caec1ede724922e6075dc3edb3a6edfb37e46ab4f243 -address /var/run/docker/containerd/containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc
root     20195  0.0  0.0  36868   824 ?        Ss   Jun25   0:00 nginx: master process nginx -g daemon off;
systemd+ 20621  0.0  0.0   6592  1280 ?        S    Jun25   0:00 nginx: worker process
systemd+ 20718  0.0  0.0  37368  1412 ?        S    Jun25   0:00 nginx: worker process
simon    20978 49.3  1.0 260848 177912 ?       SNl  10:49   1:50 syncthing
root     20987  0.0  0.0      0     0 ?        I<   Jun24   0:00 [xfsalloc]
root     20988  0.0  0.0      0     0 ?        I<   Jun24   0:00 [xfs_mru_cache]
root     21006  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsIO]
root     21007  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21008  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21009  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21010  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21011  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21012  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21013  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21014  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsCommit]
root     21015  0.0  0.0      0     0 ?        S    Jun24   0:00 [jfsSync]
root     21066  0.1  0.0      0     0 ?        I    10:49   0:00 [kworker/u16:4-events_unbound]
simon    21149  0.1  0.0 301652  4748 ?        Sl   10:49   0:00 /usr/bin/akonadi_control
root     21389  0.1  0.0      0     0 ?        I    10:37   0:01 [kworker/4:0-mm_percpu_wq]
simon    21486  0.0  0.0 2462792 7868 ?        Sl   10:49   0:00 /usr/bin/akonadiserver
simon    21905  0.3  0.3 3048712 52628 ?       Sl   10:49   0:00 /usr/sbin/mysqld --defaults-file=/home/simon/.local/share/akonadi/mysql.conf --datadir=/home/simon/.local/share/akonadi/db_data/ --socket=/tmp/akonadi-simon.pM3dhd/mysql.socket --pid-file=/tmp/akonadi-simon.pM3dhd/mysql.pid
simon    22724  0.0  0.0 1659576 4512 ?        SNl  10:49   0:00 /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebNetworkProcess 31
simon    22731  0.2  0.0 1745096 7944 ?        SNl  10:49   0:00 /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebProcess 33
simon    22851  0.1  0.0   4388   508 ?        S    10:49   0:00 /usr/bin/ksysguardd
simon    23242  0.0  0.0 382744  4700 ?        Sl   10:49   0:00 /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_0
simon    23258  0.1  0.1 768472 23596 ?        SLl  10:49   0:00 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
simon    23259  0.0  0.0 386012  4856 ?        Sl   10:49   0:00 /usr/bin/akonadi_birthdays_resource --identifier akonadi_birthdays_resource
simon    23263  0.0  0.0 381548  4624 ?        Sl   10:49   0:00 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
simon    23264  0.0  0.0 460248  5248 ?        Sl   10:49   0:00 /usr/bin/akonadi_followupreminder_agent --identifier akonadi_followupreminder_agent
simon    23267  0.0  0.0 385428  4784 ?        Sl   10:49   0:00 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
simon    23269  0.0  0.0 390544  5904 ?        SNl  10:49   0:00 /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent
simon    23280  0.0  0.0 382740  4704 ?        Sl   10:49   0:00 /usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0
simon    23286  0.0  0.0 457640  5212 ?        Sl   10:49   0:00 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
simon    23330  0.1  0.1 793732 23136 ?        SLl  10:49   0:00 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
simon    23337  0.0  0.0 381604  4604 ?        Sl   10:49   0:00 /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
simon    23341  0.0  0.0 387708  4908 ?        Sl   10:49   0:00 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
simon    23353  0.0  0.0 549212  5912 ?        Sl   10:49   0:00 /usr/bin/akonadi_notes_agent --identifier akonadi_notes_agent
simon    23360  0.1  0.1 765392 22144 ?        SLl  10:49   0:00 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent
root     23766  0.0  0.0      0     0 ?        I    10:49   0:00 [kworker/5:2-cgroup_destroy]
simon    24142  0.0  0.0 174124   812 ?        Sl   10:49   0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
root     25141  0.1  0.0      0     0 ?        I    Jun25   0:52 [kworker/3:0-events]
root     25716  0.1  0.0      0     0 ?        I    00:49   0:45 [kworker/7:2-mm_percpu_wq]
simon    26015  0.0  0.0 130820  4244 ?        S    10:49   0:00 /usr/bin/kuiserver
simon    26728  0.0  0.0 139120  8564 ?        S    10:49   0:00 /usr/lib/kde4/libexec/kaccessibleapp
root     27077  7.8  0.2 511700 35908 ?        Ssl  10:49   0:17 /usr/lib/packagekit/packagekitd
root     27262  0.0  0.0      0     0 ?        I    09:31   0:00 [kworker/1:1-events]
root     27485  0.0  0.0      0     0 ?        I    10:49   0:00 [kworker/1:2-events]
root     30075  0.1  0.0      0     0 ?        I    Jun24   2:51 [kworker/6:2-events]
root     30468  3.8  0.0      0     0 ?        I<   Jun25  45:23 [kworker/u17:1-hci1]
root     30523  0.1  0.0      0     0 ?        I    00:50   0:44 [kworker/5:1-mm_percpu_wq]
simon    30776  0.0  0.0  49992  3536 ?        R    10:52   0:00 /usr/lib/qt5/bin/qdbus --system org.freedesktop.UDisks2 /org/freedesktop/UDisks2/drives/Samsung_SSD_850_EVO_500GB_S2RBNX0H640280A org.freedesktop.UDisks2.Drive.Ata.SmartTemperature
root     30808  0.0  0.0  10800  2224 pts/3    R+   10:52   0:00 ps aux
root     31719  0.0  0.0      0     0 ?        I    10:47   0:00 [kworker/2:2-events]

et free

              total        used        free      shared  buff/cache   available
Mem:       16259140    15671852      157156      170492      430132      146068
Swap:             0           0           0

Je n’ai pas pu enregistré le résultat de slabtop -s c
mais on voyait bien que kmalloc-1024 utilisais 15-16GB si ça replante je récupérait le résultat de slabtop en 1er

Ce qui n’interdit aucunement de faire un memtest.

Salut

Pour avoir tes retour sur des trucs un peu dur à gérer niveau timing pour faire une copie à la main, comme ce qui t’as bloqué pour le ‘slabtop’, il vaut presque mieux tu envoies un retour de commande dans un fichier (c’est instantané) que tu pourras ensuite lire pour fournir le résultat.

par exemple pour renvoyer tes 5 process les plus consommateurs de mémoire, tu fais un truc comme ça:

ps -eo pmem,pcpu,vsize,pid,cmd | sort -k 1 -nr | head -5 > ram-gluttons

Tu n’auras plus qu’à fournir le contenu du fichier ‘ram-gluttons’

Le memtest était en court il n’a rien détecté

Merci pour la commande j’ai fait un petit script qui me fait un log toutes les 30 secondes j’ai ajouté cette commande.

Il faut se méfier, particulièrement ici, avec le titre du sujet sur lequel on se trouve. Dans le premier post, il est question de fuite mémoire sans en apporter le moindre élément. Mes captures d’écran servaient à montrer que la mémoire pouvait être (paraître ?) occupée à 100% de façon totalement légitime.

Par ailleurs j’ai l’impression que tu me répondais comme si c’était moi qui avait un soucis. Ça n’est pas le cas :wink:

Plutôt encourageant, mais je ferais tout de même un test croisé de tes barrettes de mémoire à ta place. Sinon, dans les journaux, y a rien du tout?

Ah oui … oops ! pardon … j’avais pas tilté au changement d’interlocuteur, m’attendant à une capture provenant de la personne qui avait le souci … ^^’

1 J'aime

Bon par chance j’était devant mon pc durant un de ses bug
J’ai donc décharger des modules et la au moment de décharger les modules bluetooth la mémoire se libère
Et la j’ai a nouveau eu le bug j’ai débranché la clé bluetooth je suis passé de 500MB à 11GB de mémoire “available”

J’ai 2 clé branché en simultané dont une qui fait des scannes bluetooth en continue. Je vais tenter de mieux comprendre pour reporté le bug.