$ cat /proc/<pid>/maps

You could also start vpp under gdb and set a breakpoint in mmap...

D.



From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Andreas Schultz
Sent: Thursday, May 9, 2019 12:18 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] finding a virtual memory leak in VPP

Hi,

Something in VPP (most likely my UPF/GTP plugin) is causing an abnormal high 
virtual memory consumption. `show memory` without and with memory-trace enable 
can not explain it.

With some 10k sessions I see as much as 1TB virtual memory usage, but only 
about 200MB or so residential memory. `show memory` also only reports about 
200MB.

My best guess is that something requests virtual memory pages from the OS and 
does not return them.
Any hint on how to track this down? What in VPP could request that much virtual 
memory without actually using it?

Many thanks
Andreas

--
--
Dipl.-Inform. Andreas Schultz

----------------------- enabling your networks ----------------------
Travelping GmbH                     Phone:  +49-391-81 90 99 0
Roentgenstr. 13                     Fax:    +49-391-81 90 99 299
39108 Magdeburg                     Email:  
i...@travelping.com<mailto:i...@travelping.com>
GERMANY                             Web:    http://www.travelping.com
Company Registration: Amtsgericht Stendal        Reg No.:   HRB 10578
Geschaeftsfuehrer: Holger Winkelmann          VAT ID No.: DE236673780
---------------------------------------------------------------------
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12972): https://lists.fd.io/g/vpp-dev/message/12972
Mute This Topic: https://lists.fd.io/mt/31557024/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to