From owner-freebsd-current@freebsd.org Fri Jul 29 19:03:13 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58FE6BA843F for ; Fri, 29 Jul 2016 19:03:13 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DA9015F3 for ; Fri, 29 Jul 2016 19:03:12 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [192.168.1.10] (unknown [192.168.1.10]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 9ED8F1FDF for ; Fri, 29 Jul 2016 19:03:11 +0000 (UTC) Subject: Re: CURRENT: memory leak? To: freebsd-current@freebsd.org References: <20160729200458.2bb2c6ca.ohartman@zedat.fu-berlin.de> From: Allan Jude Message-ID: <18fe457f-c99e-8747-8692-e199f356f6d5@freebsd.org> Date: Fri, 29 Jul 2016 15:03:04 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160729200458.2bb2c6ca.ohartman@zedat.fu-berlin.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2016 19:03:13 -0000 On 2016-07-29 14:04, O. Hartmann wrote: > > I realise an exorbitant memory usage of FreeBSD CURRENT ( FreeBSD 12.0-CURRENT #16 > r303470: Fri Jul 29 05:58:42 CEST 2016 ). Swap space gets eaten up while building > world/kernel and/or ports very quickly. > > I see this phenomenon on different CURRENT systems with different RAM (but all ZFS!). No > box is less than 8 GB RAM: one 8GB, another 16, two 32 GB. An older XEON Core2Duo server > with postgresql 9.5/postgis acting on some OSM data etas up all of its 32 GB and > additional 48GB swap - never seen before with 11-CURRENT. > > I didn't investigate the problem so far since I realized this memory hunger of 12-CURRENT > just today on several boxes compiling world, eating up all the memory, staring swapping > and never relax even after hours from the swapped memory. > > Is this a known phenomenon or am I seeing something mystique? > > Regards, > > Oliver > Do you have the output of 'top', the first few lines Specifically, is there very high 'Other' usage, on the ZFS ARC line? -- Allan Jude