Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 15:38:13 +0400
From:      Konstantin <k.shesternin@gmail.com>
To:        questions@freebsd.org
Cc:        Daniel Corbe <corbe@corbe.net>
Subject:   Re: Freeing wired memory
Message-ID:  <CAFUX6yJc9Juw_7Buji=K8Y8_WuBxatD1OrNHiXf3ZToYwQagUg@mail.gmail.com>
In-Reply-To: <Pine.LNX.4.64.1410130946450.21211@sta1.canmos.ru>
References:  <ygfmw94ov5r.fsf@corbe.net> <Pine.LNX.4.64.1410130946450.21211@sta1.canmos.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
2014-10-13 9:52 GMT+04:00 Igor V. Ruzanov <igorr@canmos.ru>:

> As said Anton aerlier, wired its kernel memory. So called unpageble
> regions "living" in a RAM (physical memory).
>
> |
> |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"
> |
>
> +-------------------------------------------+
> ! CANMOS ISP Network                        !
> +-------------------------------------------+
> ! Best regards                              !
> ! Igor V. Ruzanov, network operational staff!
> ! e-Mail: igorr@canmos.ru                   !
> +-------------------------------------------+
> _______________________________________________
> 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"
>

Hi.

It looks like zfs ARC.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAFUX6yJc9Juw_7Buji=K8Y8_WuBxatD1OrNHiXf3ZToYwQagUg>