Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #207509
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) |
| Date | 2019-04-15 18:10 +0200 |
| Message-ID | <xNclc-5Rv-13@gated-at.bofh.it> (permalink) |
| References | <xN9dD-3LR-3@gated-at.bofh.it> <xNa01-4hU-1@gated-at.bofh.it> <xNb5N-4Vm-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi. On Mon, Apr 15, 2019 at 04:40:56PM +0200, Martin Schwarz wrote: > The system from my previous example has already been rebooted, sorry! Kind of expected. It's useful nevertheless. > But here's from another system that currently starts showing the same > problem and has an equally small workload: > > root@rad-wgv-srv01:~# free -thwl Nothing out of the ordinary here. > root@rad-wgv-srv01:~# cat /proc/meminfo > MemTotal: 1010976 kB > MemFree: 73980 kB > MemAvailable: 38756 kB > Buffers: 9964 kB > Cached: 50340 kB It's not the file cache who ate the memory. > SwapCached: 2728 kB And it's not the swap caching. > Active(anon): 11068 kB > Inactive(anon): 3696 kB Memory consumption cannot be attributed to tmpfs. I know, you've posted 'df' output earlier, but it does not take mount namespaces into the account. > Mapped: 19904 kB To my biggest disappointment, the problem cannot be explained by excessive use of mmap(2) syscall. Would be easy otherwise. > Shmem: 1120 kB It's not the shared memory segments. > Slab: 90744 kB > SReclaimable: 13100 kB > SUnreclaim: 77644 kB And it's not dentries cache (saw the thing grown once or twice. was ugly). > AnonHugePages: 0 kB > ShmemHugePages: 0 kB > ShmemPmdMapped: 0 kB > HugePages_Total: 0 > HugePages_Free: 0 > HugePages_Rsvd: 0 > HugePages_Surp: 0 And last, but not the least, there are no hugepages in use. > root@rad-wgv-srv01:~# smem -tm | tail > /bin/bash 3 358 1076 > /lib/systemd/systemd 3 386 1158 > /lib/x86_64-linux-gnu/libc-2.24.so 33 54 1783 > /usr/lib/x86_64-linux-gnu/libcrypto.so.1 5 386 1933 > /usr/bin/python2.7 1 2220 2220 > /lib/systemd/libsystemd-shared-232.so 5 544 2723 > <anonymous> 33 146 4848 > [heap] 33 304 10060 > ----------------------------------------------------------------- > 179 922 11110 41011 Moreover, no current running visible process consume the memory. I suspect that this host does not utilize them anyway. In short. I do believe that this is happening, but I never seen anything like this. I cannot imagine the scenario that can lead to this, as long as we're talking real hardware aka big iron. What I suspect is happening here is runaway memory allocation by a kernel module (at least one of them), and said kernel module is likely to be VMWare-specific. It could be vmxnet3 (network). It could be that LSI kernel module or whatever they're using for SCSI these days (vmw_pvscsi?). And that means - 'perf top', or better yet - 'perf record'. Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Martin Schwarz <debian-lists@alias.kuroi.de> - 2019-04-15 14:50 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Reco <recoverym4n@enotuniq.net> - 2019-04-15 15:40 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Martin Schwarz <debian-lists@alias.kuroi.de> - 2019-04-15 16:50 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Reco <recoverym4n@enotuniq.net> - 2019-04-15 18:10 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Martin Schwarz <debian-lists@alias.kuroi.de> - 2019-04-16 10:30 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Reco <recoverym4n@enotuniq.net> - 2019-04-16 11:00 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Martin Schwarz <debian-lists@alias.kuroi.de> - 2019-04-16 14:40 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Reco <recoverym4n@enotuniq.net> - 2019-04-16 15:10 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Kenneth Parker <sea7kenp@gmail.com> - 2019-04-15 16:50 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Martin Schwarz <debian-lists@alias.kuroi.de> - 2019-04-15 17:10 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Peter Wiersig <peter@friesenpeter.de> - 2019-04-16 16:40 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Reco <recoverym4n@enotuniq.net> - 2019-04-16 18:50 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Peter Wiersig <peter@friesenpeter.de> - 2019-04-17 01:20 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Reco <recoverym4n@enotuniq.net> - 2019-04-17 07:50 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Martin Schwarz <debian-lists@alias.kuroi.de> - 2019-04-17 11:40 +0200
Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch) Peter Wiersig <peter@friesenpeter.de> - 2019-04-17 01:40 +0200
csiph-web