Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 15:10:02 GMT
From:      =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= <hiroo.ono+freebsd@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/164763: [vimage] Memory leak in VNET
Message-ID:  <201405221510.s4MFA2Ff029214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/164763; it has been noted by GNATS.

From: =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= <hiroo.ono+freebsd@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/164763: [vimage] Memory leak in VNET
Date: Fri, 23 May 2014 00:02:36 +0900

 I tracked this issue down a little.
 
 I put some printf's and found that this occurs in the function
 vnet_destroy() in sys/net/vnet.c.
 The memory leak seems to happen when vnet_sysuninit() is called.
 So, something needs to be done before or inside vnet_sysuninit(), but
 I do not know
 what to do.
 
 The messages I saw on head and stable/10 around 2014-04-30 are:
 Freed UMA keg (udp_inpcb) was not empty (135 items). Lost 9 pages of memory.
 Freed UMA keg (udpcb) was not empty (250 items). Lost 1 pages of memory.
 Freed UMA keg (tcp_inpcb) was not empty (75 items). Lost 5 pages of memory.
 Freed UMA keg (tcpcb) was not empty (15 items). Lost 3 pages of memory.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405221510.s4MFA2Ff029214>