[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permanenter Anstieg der Speicherauslastung



Am Mi., 3. Juli 2019 um 11:54 Uhr schrieb Ulf Volmer <u.volmer@u-v.de>:
>
> On 03.07.19 11:49, Matthias Böttcher wrote:
>
> > Wie kann ich ermitteln, welche Prozesse mir den Speicher auffressen?
>
> top -> shift-m
>
> Wäre die einfachste Lösung.

Bringt leider keine Erkenntnisse.

> Oder 'ps aux --sort -rss'

Das sind die Top 20 davon - nicht auffälliges:

# ps aux --sort -rss | head -n21
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     19229  0.0  0.1  16972  6008 ?        Ss   13:28   0:00 sshd:
root@pts/1
root         1  0.0  0.1 104088  4760 ?        Ss   Jun30   0:50 /sbin/init
root     19235  0.0  0.1   9668  4452 pts/1    Ss   13:28   0:00 -bash
root     29463  0.0  0.1  16972  4068 ?        Ss   12:16   0:00 sshd:
root@pts/3
root     26249  0.0  0.0  10260  3784 pts/0    Ss+  11:40   0:00 -bash
root     26230  0.0  0.0  16972  3648 ?        Ss   11:40   0:01 sshd:
root@pts/0
root     26233  0.0  0.0  21160  3536 ?        Ss   11:40   0:00
/lib/systemd/systemd --user
root       545  0.1  0.0  33940  3500 ?        Ss   Jun30   5:55
/usr/sbin/nmbd --foreground --no-process-group
root       472  0.0  0.0  50388  3480 ?        Ss   Jun30   3:19
/usr/bin/vmtoolsd
root     29469  0.0  0.0   9800  3432 pts/3    Ss   12:16   0:00 -bash
root     20177  0.0  0.0  12320  3116 pts/1    R+   13:33   0:00 ps
aux --sort -rss
root       968  0.0  0.0  56492  3052 ?        Ss   Jun30   0:01
/usr/sbin/smbd --foreground --no-process-group
root       966  0.0  0.0  15856  2976 ?        Ss   Jun30   0:00
/usr/sbin/sshd -D
root       459  0.0  0.0  50256  2768 ?        Ss   Jun30   0:00
/usr/bin/VGAuthService
root       497  0.1  0.0 604736  2360 ?        Sl   Jun30   7:29
/opt/VRTSralus/bin/beremote
root       467  0.0  0.0  19520  2272 ?        Ss   Jun30   0:05
/lib/systemd/systemd-logind
root       468  0.0  0.0 225824  2260 ?        Ssl  Jun30   0:01
/usr/sbin/rsyslogd -n -iNONE
root       284  0.0  0.0  43020  2220 ?        Ss   Jun30   0:10
/lib/systemd/systemd-journald
root       303  0.0  0.0  22444  2148 ?        Ss   Jun30   0:00
/lib/systemd/systemd-udevd
www-data 11562  0.0  0.0   8848  2012 ?        S    00:00   0:00
/usr/sbin/apache2 -k start


Aber in /proc/meminfo fällt mir Slab auf:

# cat /proc/meminfo | sort -k2 -rn | head

VmallocTotal:   34359738367 kB
CommitLimit:     6214868 kB
SwapTotal:       4194300 kB
SwapFree:        4139536 kB
MemTotal:        4041140 kB
DirectMap2M:     3999744 kB
Slab:            3785412 kB
SUnreclaim:      3483524 kB
SReclaimable:     301888 kB
Committed_AS:     255324 kB

Ich werde mich jetzt mit slabtop und /proc/slabinfo beschäftigen.
>
> Viele Grüße
> Ulf

Danke
Matthias Böttcher


Reply to: