From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 11:38:14 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 8B9EB728 for ; Mon, 13 Oct 2014 11:38:14 +0000 (UTC) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56E3B777 for ; Mon, 13 Oct 2014 11:38:14 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id u20so12695681oif.28 for ; Mon, 13 Oct 2014 04:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ioqaL+UuSKFXmENhZiNhxAcK5NfsROfTu2+xhOfTmSg=; b=IbsDwDSdpr1w9TtS4PB/UuWANUASSwWCkqyQkgyBhHJIR/RP/WXV31F40D3XmYULqe E7ThGnQRx55Xc9wIpMWozwZ9PhRHTgPwqvuQ6+xaDYxw860F2MX2IjRZmDo4ehKdawiC HjnspvT1wOjexzm13XDttzEa+nZVwpUJOg7quCRsQMLUNbdBBHJjtG71sO0rTEJucV5H XsZ/dKpgn3gBq8NMG66bGFQFjYVhBNfKhqQcmeUE0uujFZL3p4WuGT+gdnAQEzycYX0A 0O0wkaJDIr1rXgD5KvgG/etgAv2zmHgDevujRBxOmDi67rbGRsYs/eShcQqnfWH1A1Zn Ck0g== MIME-Version: 1.0 X-Received: by 10.182.215.131 with SMTP id oi3mr21428058obc.2.1413200293533; Mon, 13 Oct 2014 04:38:13 -0700 (PDT) Received: by 10.202.220.139 with HTTP; Mon, 13 Oct 2014 04:38:13 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Oct 2014 15:38:13 +0400 Message-ID: Subject: Re: Freeing wired memory From: Konstantin To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Daniel Corbe 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 11:38:14 -0000 2014-10-13 9:52 GMT+04:00 Igor V. Ruzanov : > 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.