Speicherverbrauch / RAM von Debmatic

Debian/Ubuntu basierte CCU

Moderator: Co-Administratoren

deifel
Beiträge: 256
Registriert: 27.05.2014, 11:10
Hat sich bedankt: 7 Mal

Speicherverbrauch / RAM von Debmatic

Beitrag von deifel » 23.05.2019, 13:13

Hallo zusammen,

ich habe Debmatic auf einem NUC mit Proxmox laufen. Die VM ist die aktuellste Debian Version.
Außer Debmatic läuft auf dem System nichts. RAM habe ich 2GB zugewiesen.
Jetzt habe ich festgestellt, dass der Speicherverbrauch der VM ununterbrochen bei über 90% liegt.
Ist das auf Debmatic zurückzuführen oder eher ein Problem der VM?
Meine anderen VMs (4 Stück mit zb: IOBroker) nutzen wesentlich weniger RAM.

Danke für Eure Hilfe
Frank


deifel
Beiträge: 256
Registriert: 27.05.2014, 11:10
Hat sich bedankt: 7 Mal

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deifel » 24.05.2019, 08:34

Hallo Alex,

hier die Ausgabe - kannst Du da den Grund erkennen?
Java scheint viel zu nehmen, oder?

Code: Alles auswählen

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.3  56916  6656 ?        Ss   Mai17   0:02 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Mai17   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Mai17   0:10 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Mai17   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    Mai17   0:50 [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    Mai17   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    Mai17   0:00 [migration/0]
root        10  0.0  0.0      0     0 ?        S<   Mai17   0:00 [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    Mai17   0:01 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    Mai17   0:00 [cpuhp/0]
root        13  0.0  0.0      0     0 ?        S    Mai17   0:00 [kdevtmpfs]
root        14  0.0  0.0      0     0 ?        S<   Mai17   0:00 [netns]
root        15  0.0  0.0      0     0 ?        S    Mai17   0:00 [khungtaskd]
root        16  0.0  0.0      0     0 ?        S    Mai17   0:00 [oom_reaper]
root        17  0.0  0.0      0     0 ?        S<   Mai17   0:00 [writeback]
root        18  0.0  0.0      0     0 ?        S    Mai17   0:00 [kcompactd0]
root        19  0.0  0.0      0     0 ?        SN   Mai17   0:00 [ksmd]
root        21  0.0  0.0      0     0 ?        SN   Mai17   0:00 [khugepaged]
root        22  0.0  0.0      0     0 ?        S<   Mai17   0:00 [crypto]
root        23  0.0  0.0      0     0 ?        S<   Mai17   0:00 [kintegrityd]
root        24  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        25  0.0  0.0      0     0 ?        S<   Mai17   0:00 [kblockd]
root        26  0.0  0.0      0     0 ?        S<   Mai17   0:00 [devfreq_wq]
root        27  0.0  0.0      0     0 ?        S<   Mai17   0:00 [watchdogd]
root        28  0.0  0.0      0     0 ?        S    Mai17   0:05 [kswapd0]
root        29  0.0  0.0      0     0 ?        S<   Mai17   0:00 [vmstat]
root        41  0.0  0.0      0     0 ?        S<   Mai17   0:00 [kthrotld]
root        42  0.0  0.0      0     0 ?        S<   Mai17   0:00 [ipv6_addrconf]
root        75  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        76  0.0  0.0      0     0 ?        S<   Mai17   0:00 [ata_sff]
root        77  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        78  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        79  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        80  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        81  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        82  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        83  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root        85  0.0  0.0      0     0 ?        S    Mai17   0:00 [scsi_eh_0]
root        86  0.0  0.0      0     0 ?        S<   Mai17   0:00 [scsi_tmf_0]
root        87  0.0  0.0      0     0 ?        S    Mai17   0:00 [scsi_eh_1]
root        88  0.0  0.0      0     0 ?        S<   Mai17   0:00 [scsi_tmf_1]
root        90  0.0  0.0      0     0 ?        S    Mai17   0:00 [scsi_eh_2]
root        91  0.0  0.0      0     0 ?        S<   Mai17   0:00 [scsi_tmf_2]
root        93  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root       349  0.0  0.0      0     0 ?        S<   Mai17   0:00 [bioset]
root       352  0.0  0.0      0     0 ?        S<   Mai17   0:06 [kworker/0:1H]
root       384  0.0  0.0      0     0 ?        S<   Mai17   0:00 [kworker/u3:0]
root       391  0.0  0.0      0     0 ?        D    Mai17   0:09 [jbd2/sda1-8]
root       392  0.0  0.0      0     0 ?        S<   Mai17   0:00 [ext4-rsv-conve
root       419  0.2  0.3  59312  6260 ?        Ss   Mai17  22:51 /lib/systemd/sy
root       432  0.0  0.0      0     0 ?        S    Mai17   0:00 [kauditd]
root       452  0.0  0.1  45684  3748 ?        Ss   Mai17   0:00 /lib/systemd/sy
root       509  0.0  0.0      0     0 ?        S<   Mai17   0:00 [ttm_swap]
systemd+   604  0.0  0.2 127284  4120 ?        Ssl  Mai17   0:00 /lib/systemd/sy
root       620  0.0  0.1  29636  2624 ?        Ss   Mai17   0:00 /usr/sbin/cron
root       621  0.0  0.2 250112  4772 ?        Ssl  Mai17   6:49 /usr/sbin/rsysl
root       622  0.0  0.2  46472  4604 ?        Ss   Mai17   0:00 /lib/systemd/sy
message+   623  0.0  0.1  45112  3560 ?        Ss   Mai17   0:00 /usr/bin/dbus-d
root       666  0.0  0.0  14524  1560 tty1     Ss+  Mai17   0:00 /sbin/agetty --
root       678  0.0  0.2  69952  5368 ?        Ss   Mai17   0:00 /usr/sbin/sshd
root       681  0.0  0.1  37672  2380 ?        Ss   Mai17   0:00 /lib/nut/upsmon
root       683  0.0  0.1  20472  2856 ?        Ss   Mai17   0:00 /sbin/dhclient
nut        686  0.0  0.2  48756  4828 ?        S    Mai17   0:12 /lib/nut/upsmon
www-data   695  0.0  0.3  62720  7296 ?        Ss   Mai17   1:11 /usr/sbin/light
root       826  0.0  0.0   4332  1360 ?        Ss   Mai17   0:31 /bin/ssdpd
root       833  0.0  0.0   4480  1408 ?        Ss   Mai17   0:00 /bin/eq3configd
root       858  0.0  0.0   4684  1536 ?        Ss   Mai17   0:47 /bin/hss_led -l
root       879  0.0  0.1   3704  2232 ?        Ss   Mai17   2:08 /usr/local/addo
root       887  0.0  0.2  56668  4968 ?        S    Mai17   0:53 /usr/sbin/light
root       893  0.0  0.1   4492  2332 ?        Ss   Mai17   0:00 /bin/hs485dLoad
root       894  0.0  0.2  43728  5388 ?        Sl   Mai17   0:36 /bin/hs485d -l
root       895  0.0  0.1   4952  3436 ?        S    Mai17   0:01 /bin/tclsh /usr
root       952  0.0  0.6  62576 14016 ?        Ssl  Mai17   8:12 /bin/rfd -l 1 -
root       991  0.1  6.8 2113136 136588 ?      Sl   Mai17   9:57 /usr/bin/java -
root      1051  0.8  1.3  34716 27140 ?        Sl   Mai17  77:15 /bin/ReGaHss.no
root      3912  0.0  0.0      0     0 ?        S    08:19   0:00 [kworker/0:0]
root      4035  0.0  0.0      0     0 ?        S    08:24   0:00 [kworker/0:1]
root      4118  0.0  0.0      0     0 ?        S    08:29   0:00 [kworker/0:2]
root      4173  0.0  0.3  95208  6732 ?        Ss   08:32   0:00 sshd: root@pts/
root      4182  0.0  0.2  56396  5932 ?        Ss   08:32   0:00 /lib/systemd/sy
root      4183  0.0  0.0  82440  1600 ?        S    08:32   0:00 (sd-pam)
root      4189  0.1  0.2  21052  4764 pts/0    Ss   08:32   0:00 -bash
root      4202  0.0  0.1  38304  3264 pts/0    R+   08:32   0:00 ps aux
root     22311  0.0  0.0      0     0 ?        S    Mai23   0:00 [kworker/u2:0]
root     31861  0.0  0.0      0     0 ?        S    04:36   0:00 [kworker/u2:2]

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deimos » 24.05.2019, 08:41

Hi,

die Ausgabe ist abgeschnitten. Aber für einen groben Blick reicht es: Da ist kein Prozess, welcher deine 1,8GB Speicherverbrauch erklärt.
Was sagt denn

Code: Alles auswählen

cat /proc/meminfo
Viele Grüße
Alex

deifel
Beiträge: 256
Registriert: 27.05.2014, 11:10
Hat sich bedankt: 7 Mal

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deifel » 24.05.2019, 08:45

Hier nochmals die volle Ausgabe von ps-aux bei einem RAM-Verbrauch von über 90%

Code: Alles auswählen

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.3  0.3  56900  6604 ?        Ss   08:37   0:00 /sbin/init
root         2  0.0  0.0      0     0 ?        S    08:37   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    08:37   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    08:37   0:00 [kworker/0:0]
root         5  0.0  0.0      0     0 ?        S<   08:37   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    08:37   0:00 [kworker/u2:0]
root         7  0.0  0.0      0     0 ?        S    08:37   0:00 [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    08:37   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    08:37   0:00 [migration/0]
root        10  0.0  0.0      0     0 ?        S<   08:37   0:00 [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    08:37   0:00 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    08:37   0:00 [cpuhp/0]
root        13  0.0  0.0      0     0 ?        S    08:37   0:00 [kdevtmpfs]
root        14  0.0  0.0      0     0 ?        S<   08:37   0:00 [netns]
root        15  0.0  0.0      0     0 ?        S    08:37   0:00 [khungtaskd]
root        16  0.0  0.0      0     0 ?        S    08:37   0:00 [oom_reaper]
root        17  0.0  0.0      0     0 ?        S<   08:37   0:00 [writeback]
root        18  0.0  0.0      0     0 ?        S    08:37   0:00 [kcompactd0]
root        19  0.0  0.0      0     0 ?        SN   08:37   0:00 [ksmd]
root        20  0.2  0.0      0     0 ?        S    08:37   0:00 [kworker/0:1]
root        21  0.0  0.0      0     0 ?        SN   08:37   0:00 [khugepaged]
root        22  0.0  0.0      0     0 ?        S<   08:37   0:00 [crypto]
root        23  0.0  0.0      0     0 ?        S<   08:37   0:00 [kintegrityd]
root        24  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        25  0.0  0.0      0     0 ?        S<   08:37   0:00 [kblockd]
root        26  0.0  0.0      0     0 ?        S<   08:37   0:00 [devfreq_wq]
root        27  0.0  0.0      0     0 ?        S<   08:37   0:00 [watchdogd]
root        28  0.0  0.0      0     0 ?        S    08:37   0:00 [kswapd0]
root        29  0.0  0.0      0     0 ?        S<   08:37   0:00 [vmstat]
root        41  0.0  0.0      0     0 ?        S<   08:37   0:00 [kthrotld]
root        42  0.0  0.0      0     0 ?        S<   08:37   0:00 [ipv6_addrconf]
root        75  0.0  0.0      0     0 ?        S<   08:37   0:00 [ata_sff]
root        76  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        77  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        78  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        79  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        80  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        81  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        82  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        83  0.0  0.0      0     0 ?        S<   08:37   0:00 [bioset]
root        84  0.0  0.0      0     0 ?        S    08:37   0:00 [kworker/u2:1]
root        85  0.0  0.0      0     0 ?        S    08:37   0:00 [scsi_eh_0]
root        86  0.0  0.0      0     0 ?        S<   08:37   0:00 [scsi_tmf_0]
root        87  0.0  0.0      0     0 ?        S    08:37   0:00 [scsi_eh_1]
root        88  0.0  0.0      0     0 ?        S<   08:37   0:00 [scsi_tmf_1]
root        89  0.0  0.0      0     0 ?        S    08:37   0:00 [kworker/u2:2]
root        90  0.0  0.0      0     0 ?        S    08:38   0:00 [kworker/0:2]
root        91  0.0  0.0      0     0 ?        S<   08:38   0:00 [bioset]
root        94  0.0  0.0      0     0 ?        S    08:38   0:00 [scsi_eh_2]
root        95  0.0  0.0      0     0 ?        S<   08:38   0:00 [scsi_tmf_2]
root        96  0.0  0.0      0     0 ?        S<   08:38   0:00 [bioset]
root       353  0.0  0.0      0     0 ?        S<   08:38   0:00 [kworker/0:1H]
root       354  0.1  0.0      0     0 ?        S    08:38   0:00 [kworker/0:3]
root       355  0.0  0.0      0     0 ?        S    08:38   0:00 [kworker/0:4]
root       385  0.0  0.0      0     0 ?        S<   08:38   0:00 [kworker/u3:0]
root       391  0.0  0.0      0     0 ?        S    08:38   0:00 [jbd2/sda1-8]
root       392  0.0  0.0      0     0 ?        S<   08:38   0:00 [ext4-rsv-conve
root       418  0.7  0.3  59312  6640 ?        Ss   08:38   0:01 /lib/systemd/sy
root       424  0.0  0.0      0     0 ?        S    08:38   0:00 [kauditd]
root       426  0.0  0.0      0     0 ?        S    08:38   0:00 [kworker/0:5]
root       432  0.0  0.0      0     0 ?        S    08:38   0:00 [kworker/0:6]
root       448  0.2  0.2  46348  4320 ?        Ss   08:38   0:00 /lib/systemd/sy
root       491  0.0  0.0      0     0 ?        S<   08:38   0:00 [ttm_swap]
systemd+   595  0.0  0.2 127284  4116 ?        Ssl  08:38   0:00 /lib/systemd/sy
root       605  0.0  0.1 250112  3044 ?        Ssl  08:38   0:00 /usr/sbin/rsysl
message+   606  0.0  0.1  45112  3592 ?        Ss   08:38   0:00 /usr/bin/dbus-d
root       615  0.0  0.1  29636  2720 ?        Ss   08:38   0:00 /usr/sbin/cron
root       616  0.0  0.2  46420  4604 ?        Ss   08:38   0:00 /lib/systemd/sy
root       659  0.0  0.0  14524  1552 tty1     Ss+  08:38   0:00 /sbin/agetty --
root       660  0.0  0.0  20472  1836 ?        Ss   08:38   0:00 /sbin/dhclient
root       672  0.0  0.2  69952  5420 ?        Ss   08:38   0:00 /usr/sbin/sshd
root       679  0.0  0.1  37672  2412 ?        Ss   08:38   0:00 /lib/nut/upsmon
nut        682  0.0  0.1  48756  3556 ?        S    08:38   0:00 /lib/nut/upsmon
www-data   693  0.0  0.3  62124  6828 ?        Ss   08:38   0:00 /usr/sbin/light
root      1002  0.0  0.0   4480  1416 ?        Ss   08:38   0:00 /bin/eq3configd
root      1010  0.0  0.0   4332  1344 ?        Ss   08:38   0:00 /bin/ssdpd
root      1053  0.0  0.0   4684  1612 ?        Ss   08:38   0:00 /bin/hss_led -l
root      1071  0.0  0.1   3672  2232 ?        Ss   08:38   0:00 /usr/local/addo
root      1088  0.0  0.1  55372  3784 ?        S    08:38   0:00 /usr/sbin/light
root      1089  0.0  0.1   4952  3304 ?        S    08:38   0:00 /bin/tclsh /usr
root      1094  0.0  0.0   4492   152 ?        Ss   08:38   0:00 /bin/hs485dLoad
root      1096  0.0  0.2  35532  5272 ?        Sl   08:38   0:00 /bin/hs485d -l
root      1174  0.0  0.3  95208  6588 ?        Ss   08:39   0:00 sshd: root@pts/
root      1185  0.0  0.2  56392  5928 ?        Ss   08:39   0:00 /lib/systemd/sy
root      1186  0.0  0.0  82424  1576 ?        S    08:39   0:00 (sd-pam)
root      1192  0.0  0.2  21052  4672 pts/0    Ss   08:39   0:00 -bash
root      1215  0.6  0.1   7244  2788 ?        Ssl  08:39   0:01 /bin/multimacd
root      1248  0.4  0.7  55364 15420 ?        Ssl  08:39   0:00 /bin/rfd -l 1 -
root      1337  4.9  7.3 2143444 147768 ?      Sl   08:39   0:09 /usr/bin/java -
root      1464  1.2  1.1  32992 24020 ?        Sl   08:39   0:02 /bin/ReGaHss.no
root      2461  0.0  0.0      0     0 ?        Z    08:42   0:00 [tclsh] <defunc
root      2462  0.0  0.1  38304  3128 pts/0    R+   08:42   0:00 ps aux
Und hier von cat /proc/meminfo - ALLERDINGS NACH EINEM NEUSTART SOEBEN - die ersten Stunden läuft der RAM bei ca. 20% - daher ist die nachfolgende Info eher nicht aussagekräftig.

Code: Alles auswählen

MemTotal:        2003296 kB
MemFree:         1619920 kB
MemAvailable:    1640896 kB
Buffers:           13692 kB
Cached:           142508 kB
SwapCached:            0 kB
Active:           260624 kB
Inactive:          78936 kB
Active(anon):     183648 kB
Inactive(anon):    10276 kB
Active(file):      76976 kB
Inactive(file):    68660 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       2045948 kB
SwapFree:        2045948 kB
Dirty:                96 kB
Writeback:             0 kB
AnonPages:        183396 kB
Mapped:            47060 kB
Shmem:             10568 kB
Slab:              25192 kB
SReclaimable:      13796 kB
SUnreclaim:        11396 kB
KernelStack:        2956 kB
PageTables:         3052 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     3047596 kB
Committed_AS:     372704 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       42844 kB
DirectMap2M:     2004992 kB

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deimos » 24.05.2019, 08:52

Hi,

die ps Ausgabe ist immer noch abgeschnitten, da fehlt rechts eine Menge an Informationen über die Prozesse.

Unabhängig davon: Ich bräuchte beide Infos zu einem Zeitpunkt, an welchem das Problem besteht.

Woher kommen eigentlich die 90% RAM Verbrauch? Ist das aus der Proxmox Übersicht?

Viele Grüße
Alex

deifel
Beiträge: 256
Registriert: 27.05.2014, 11:10
Hat sich bedankt: 7 Mal

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deifel » 24.05.2019, 08:58

Ok, dann warte ich, bis der RAM wieder angewachsen ist und poste dann nochmals die Ausgaben.
Ja genau, den RAM-Verbrauch von über 90% zeigt es bei Proxmox an und der Balken ist dann auch rot - fällt damit sofort auf ;)

Vielen Dank!

deifel
Beiträge: 256
Registriert: 27.05.2014, 11:10
Hat sich bedankt: 7 Mal

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deifel » 26.05.2019, 08:32

Hallo Alex,

hier wie versprochen die Infos:

ps aux:

Code: Alles auswählen

root@debmatic:~# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.3  56920  6640 ?        Ss   Mai24   0:01 /sbin/init
root         2  0.0  0.0      0     0 ?        S    Mai24   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Mai24   0:05 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Mai24   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    Mai24   0:09 [rcu_sched]
root         8  0.0  0.0      0     0 ?        S    Mai24   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    Mai24   0:00 [migration/0]
root        10  0.0  0.0      0     0 ?        S<   Mai24   0:00 [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    Mai24   0:00 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    Mai24   0:00 [cpuhp/0]
root        13  0.0  0.0      0     0 ?        S    Mai24   0:00 [kdevtmpfs]
root        14  0.0  0.0      0     0 ?        S<   Mai24   0:00 [netns]
root        15  0.0  0.0      0     0 ?        S    Mai24   0:00 [khungtaskd]
root        16  0.0  0.0      0     0 ?        S    Mai24   0:00 [oom_reaper]
root        17  0.0  0.0      0     0 ?        S<   Mai24   0:00 [writeback]
root        18  0.0  0.0      0     0 ?        S    Mai24   0:00 [kcompactd0]
root        19  0.0  0.0      0     0 ?        SN   Mai24   0:00 [ksmd]
root        21  0.0  0.0      0     0 ?        SN   Mai24   0:00 [khugepaged]
root        22  0.0  0.0      0     0 ?        S<   Mai24   0:00 [crypto]
root        23  0.0  0.0      0     0 ?        S<   Mai24   0:00 [kintegrityd]
root        24  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        25  0.0  0.0      0     0 ?        S<   Mai24   0:00 [kblockd]
root        26  0.0  0.0      0     0 ?        S<   Mai24   0:00 [devfreq_wq]
root        27  0.0  0.0      0     0 ?        S<   Mai24   0:00 [watchdogd]
root        28  0.0  0.0      0     0 ?        S    Mai24   0:01 [kswapd0]
root        29  0.0  0.0      0     0 ?        S<   Mai24   0:00 [vmstat]
root        41  0.0  0.0      0     0 ?        S<   Mai24   0:00 [kthrotld]
root        42  0.0  0.0      0     0 ?        S<   Mai24   0:00 [ipv6_addrconf]
root        75  0.0  0.0      0     0 ?        S<   Mai24   0:00 [ata_sff]
root        76  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        77  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        78  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        79  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        80  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        81  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        82  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        83  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        85  0.0  0.0      0     0 ?        S    Mai24   0:00 [scsi_eh_0]
root        86  0.0  0.0      0     0 ?        S<   Mai24   0:00 [scsi_tmf_0]
root        87  0.0  0.0      0     0 ?        S    Mai24   0:00 [scsi_eh_1]
root        88  0.0  0.0      0     0 ?        S<   Mai24   0:00 [scsi_tmf_1]
root        91  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root        94  0.0  0.0      0     0 ?        S    Mai24   0:00 [scsi_eh_2]
root        95  0.0  0.0      0     0 ?        S<   Mai24   0:00 [scsi_tmf_2]
root        96  0.0  0.0      0     0 ?        S<   Mai24   0:00 [bioset]
root       353  0.0  0.0      0     0 ?        S<   Mai24   0:01 [kworker/0:1H]
root       387  0.0  0.0      0     0 ?        S<   Mai24   0:00 [kworker/u3:0]
root       397  0.0  0.0      0     0 ?        S    Mai24   0:02 [jbd2/sda1-8]
root       398  0.0  0.0      0     0 ?        S<   Mai24   0:00 [ext4-rsv-conve
root       424  0.2  0.3  59312  7296 ?        Ss   Mai24   6:37 /lib/systemd/sy
root       430  0.0  0.0      0     0 ?        S    Mai24   0:00 [kauditd]
root       450  0.0  0.2  46024  4056 ?        Ss   Mai24   1:28 /lib/systemd/sy
root       495  0.0  0.0      0     0 ?        S<   Mai24   0:00 [ttm_swap]
systemd+   603  0.0  0.2 127284  4124 ?        Ssl  Mai24   0:00 /lib/systemd/sy
root       616  0.0  0.1  29636  2764 ?        Ss   Mai24   0:00 /usr/sbin/cron
root       617  0.0  0.2 250112  4388 ?        Ssl  Mai24   2:04 /usr/sbin/rsysl
message+   619  0.0  0.1  45112  3596 ?        Ss   Mai24   0:00 /usr/bin/dbus-d
root       630  0.0  0.2  46500  4512 ?        Ss   Mai24   0:00 /lib/systemd/sy
root       664  0.0  0.0  14524  1516 tty1     Ss+  Mai24   0:00 /sbin/agetty --
root       673  0.0  0.2  69952  5168 ?        Ss   Mai24   0:00 /usr/sbin/sshd
root       679  0.0  0.1  37672  2488 ?        Ss   Mai24   0:00 /lib/nut/upsmon
nut        680  0.0  0.2  48756  4932 ?        S    Mai24   0:02 /lib/nut/upsmon
root       681  0.0  0.1  20472  2684 ?        Ss   Mai24   0:00 /sbin/dhclient
www-data   687  0.0  0.3  62512  7228 ?        Ss   Mai24   0:31 /usr/sbin/light
root      1009  0.0  0.0   4332  1332 ?        Ss   Mai24   0:05 /bin/ssdpd
root      1016  0.0  0.0   4480  1468 ?        Ss   Mai24   0:00 /bin/eq3configd
root      1063  0.0  0.0   4684  1536 ?        Ss   Mai24   0:31 /bin/hss_led -l
root      1083  0.0  0.1   3676  2236 ?        Ss   Mai24   0:27 /usr/local/addo
root      1085  0.5  0.1   7244  2720 ?        Ssl  Mai24  13:56 /bin/multimacd
root      1107  0.0  0.1   4952  3380 ?        S    Mai24   0:00 /bin/tclsh /usr
root      1113  0.0  0.2  55936  4496 ?        S    Mai24   0:32 /usr/sbin/light
root      1115  0.0  0.1   4492  2308 ?        Ss   Mai24   0:00 /bin/hs485dLoad
root      1116  0.0  0.2  35532  5392 ?        Sl   Mai24   0:04 /bin/hs485d -l
root      1215  0.0  0.7  55348 14420 ?        Ssl  Mai24   1:32 /bin/rfd -l 1 -
root      1262  1.4  7.8 2132256 156544 ?      Sl   Mai24  34:23 /usr/bin/java -
root      1382  1.0  1.3  36196 27568 ?        Sl   Mai24  25:29 /bin/ReGaHss.no
root     10415  0.0  0.0      0     0 ?        S    Mai25   0:00 [kworker/u2:0]
root     19185  0.0  0.0      0     0 ?        S    Mai25   0:01 [kworker/u2:1]
root     20242  0.0  0.0      0     0 ?        S    08:08   0:00 [kworker/0:2]
root     21450  0.0  0.0      0     0 ?        S    08:19   0:00 [kworker/0:1]
root     22052  0.0  0.0      0     0 ?        S    08:24   0:00 [kworker/0:0]
root     22237  0.0  0.3  95208  6768 ?        Ss   08:25   0:00 sshd: root@pts/
root     22240  0.0  0.2  56396  5756 ?        Ss   08:25   0:00 /lib/systemd/sy
root     22241  0.0  0.0  82444  1576 ?        S    08:25   0:00 (sd-pam)
root     22247  0.0  0.2  21052  4760 pts/0    Ss   08:25   0:00 -bash
root     22631  0.0  0.1  38304  3192 pts/0    R+   08:29   0:00 ps aux
Meminfo:

Code: Alles auswählen

root@debmatic:~# cat /proc/meminfo
MemTotal:        2003292 kB
MemFree:          100648 kB
MemAvailable:    1585700 kB
Buffers:          119260 kB
Cached:          1480040 kB
SwapCached:            0 kB
Active:           299832 kB
Inactive:        1496792 kB
Active(anon):     106172 kB
Inactive(anon):   111756 kB
Active(file):     193660 kB
Inactive(file):  1385036 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       2045948 kB
SwapFree:        2045948 kB
Dirty:               308 kB
Writeback:             0 kB
AnonPages:        197320 kB
Mapped:            47272 kB
Shmem:             20608 kB
Slab:              87100 kB
SReclaimable:      75832 kB
SUnreclaim:        11268 kB
KernelStack:        3052 kB
PageTables:         3088 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     3047592 kB
Committed_AS:     365256 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       44892 kB
DirectMap2M:     2002944 kB

Und so sieht das in Proxmox aus:
1.jpg
Kannst Du da was erkennen, was der Grund für den Speicherverbrauch sein könnte?

Grüße
Frank

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von deimos » 26.05.2019, 11:09

Hi,

der Kernel nutzt einfach viel RAM für Caches. Innerhalb des Gasts wird dieser RAM bei Bedarf zurückgegeben. Richtung Host allerdings nicht.
Mittels

Code: Alles auswählen

echo 1 > /proc/sys/vm/drop_caches
kann man den Kernel aber dazu veranlassen, die Caches freizugeben.

Viele Grüße
Alex

-Markus-
Beiträge: 109
Registriert: 10.10.2017, 17:41

Re: Speicherverbrauch / RAM von Debmatic

Beitrag von -Markus- » 26.05.2019, 13:17

Was sagt denn "free -m"?

Gruß
Markus

Antworten

Zurück zu „debmatic“