Date: Fri, 10 Oct 2014 11:30:36 -0500 From: Mark Felder <feld@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Freeing wired memory Message-ID: <1412958636.2343973.177532689.62F117A8@webmail.messagingengine.com> In-Reply-To: <5437F964.7000109@hiwaay.net> References: <ygfmw94ov5r.fsf@corbe.net> <5437F964.7000109@hiwaay.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 10, 2014, at 10:21, William A. Mahaffey III wrote: > On 10/10/14 09:29, Daniel Corbe wrote: > > There's an application running on one of my hosts which has a memory > > leak in it. It ends up consuming a fair chunk of available RAM: > > > > Mem: 2312M Active, 69M Inact, 13G Wired, 39M Cache, 1684M Buf, 354M Free > > > > My understanding is Wired memory is memory that may not necessarily be > > in use but it is reserved for applications that either have at one point > > needed it or may need it in the future. > > > > I'll kill the app in another few days or so because calls to malloc() > > will begin to fail across the board. > > > > But my main problem right now is I usually have to reboot the box > > because killing the app and restarting it does NOT return any memory to > > the free pool. > > > > The step I'd like to avoid here is rebooting the box. > > > > So I'm obviously missing something. > > > > -Daniel > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > What CLI command (if any) did you use to get those memory stats ? TIA > It's the fourth line in the output of top
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1412958636.2343973.177532689.62F117A8>