Bug 202787 - [vfs] routetbl memory leak
Summary: [vfs] routetbl memory leak
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD bugs mailing list
Keywords: patch
Depends on:
Reported: 2015-08-31 08:59 UTC by Peter Holm
Modified: 2015-09-01 17:38 UTC (History)
0 users

See Also:

Fix submitted by "Alexander V. Chernikov" <melifaro@freebsd.org> (476 bytes, patch)
2015-08-31 08:59 UTC, Peter Holm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Holm freebsd_committer 2015-08-31 08:59:11 UTC
Created attachment 160554 [details]
Fix submitted by "Alexander V. Chernikov" <melifaro@freebsd.org>

$ cat umount.sh

uname -a
vmstat -m | sed -n '1p;/routetbl/p'
start=`date '+%s'`
while [ $((`date '+%s'` - start)) -lt 120 ]; do
        mount -t procfs proc /mnt
        while mount | grep -q /mnt; do
                umount /mnt || sleep .2
vmstat -m | sed -n '/routetbl/p'
$ ./umount.sh
FreeBSD x4.osted.lan 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r287001: Thu Aug 27 20:16:23 CEST 2015     pho@x4.osted.lan:/usr/src/sys/i386/compile/PHO  i386
         Type InUse MemUse HighUse Requests  Size(s)
     routetbl    38     6K       -       43  16,32,64,128,256
     routetbl  7624  1902K       -    15215  16,32,64,128,256