Varnish over memory allocation

Alex Wakefield AlexWakefield at fastmail.com.au
Mon May 25 13:20:03 UTC 2020


Hey Leon,

$ cat /proc/meminfo
MemTotal:       32940300 kB
MemFree:          309836 kB
MemAvailable:    2083696 kB
Buffers:          127768 kB
Cached:          1999212 kB
SwapCached:            0 kB
Active:         30551008 kB
Inactive:        1561588 kB
Active(anon):   30067316 kB
Inactive(anon):      304 kB
Active(file):     483692 kB
Inactive(file):  1561284 kB
Unevictable:       82180 kB
Mlocked:           82180 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:              3856 kB
Writeback:             0 kB
AnonPages:      30066172 kB
Mapped:           243516 kB
Shmem:             10936 kB
Slab:             272788 kB
SReclaimable:     186140 kB
SUnreclaim:        86648 kB
KernelStack:        6960 kB
PageTables:        66996 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    16470148 kB
Committed_AS:   31298244 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      890860 kB
DirectMap2M:    31614976 kB
DirectMap1G:     1048576 kB

Regards,
Alex

On Mon, 25 May 2020, at 11:06 PM, info+varnish at shee.org wrote:
> Am Montag, den 25.05.2020, 22:38 +1000 schrieb Alex Wakefield:
> > Hey Dridi,
> > 
> > Thanks for the reply. I originally thought that it might've been
> > transient storage as well however checking that shows that only 287MB
> > of storage has been allocated from it. Its allocated and released
> > 1.06TB though, is that perhaps the cause of the issue?
> > 
> > SMA.s0.g_bytes shows the correct size of 23.99GB allocated which is
> > what I expect however a pmap of the varnish process shows 29977920K
> > used, 6GB over what was set.
> 
> Whats your /proc/meminfo output?
> 
> --
> Leon
> 
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>


More information about the varnish-misc mailing list