From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 06:02:47 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50CEF35E for ; Mon, 13 Oct 2014 06:02:47 +0000 (UTC) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 087C5171 for ; Mon, 13 Oct 2014 06:02:46 +0000 (UTC) Received: from pochta-mx.canmos.ru (pochta-mx.canmos.ru [89.107.127.240]) by pochta-mx.canmos.ru (Postfix) with ESMTP id 9FCE72BD0262; Mon, 13 Oct 2014 09:54:04 +0400 (MSK) X-Spam-Checker-Version: SpamAssassin 3.3.2-pochta_20120910 (2011-06-06) on pochta.canmos.ru X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2-pochta_20120910 Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.124.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: 105@5798000.ru) by pochta-mx.canmos.ru (Postfix) with ESMTPSA; Mon, 13 Oct 2014 09:54:04 +0400 (MSK) Date: Mon, 13 Oct 2014 09:52:48 +0400 (MSK) From: "Igor V. Ruzanov" To: Daniel Corbe Subject: Re: Freeing wired memory In-Reply-To: Message-ID: References: X-GPG-PUBLIC-KEY: 1024D/494AF6DC 2008-03-20 Igor V. Ruzanov X-GPG-FINGERPRINT: A723 B6CC 11ED A4E2 1909 C4DC 6EDE 9089 494A F6DC MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 06:02:47 -0000 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 ! +-------------------------------------------+