Web lists-archives.com

Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch)




On Mon, Apr 15, 2019 at 10:44:26AM -0400, Kenneth Parker wrote:
> I had a Symptom like this a few years ago, which was tracked to something
> called "zram", which tries to use "excess RAM" as Swap Space.

thanks for your input!

We do not use zram. (I assume that would also show up in `lsmod`?)

/proc/swap shows only one "normal" swap partition (on a LVM logical
volume in this case):

------------------------------------------------------------------------
root@rad-wgv-srv01:~# cat /proc/swaps
Filename				Type		Size	Used	Priority
/dev/dm-3                               partition	2097148	70876	-1
root@rad-wgv-srv01:~# fgrep swap /etc/fstab 
/dev/mapper/vg0-lv_swap none            swap    sw              0       0
root@rad-wgv-srv01:~# ls -l /dev/mapper/vg0-lv_swap
lrwxrwxrwx 1 root root 7 Mär 29 08:33 /dev/mapper/vg0-lv_swap -> ../dm-3
root@rad-wgv-srv01:~# ls -l /dev/dm-3
brw-rw---- 1 root disk 254, 3 Mär 29 08:33 /dev/dm-3
root@rad-wgv-srv01:~# lvs /dev/mapper/vg0-lv_swap
  LV      VG  Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  lv_swap vg0 -wi-ao---- 2,00g                                                    
root@rad-wgv-srv01:~# lsmod | fgrep z
Module                  Size  Used by
root@rad-wgv-srv01:~# 
------------------------------------------------------------------------
-- 
Martin Schwarz * Karlsruhe, Germany * http://kuroi.de/