From owner-freebsd-current@FreeBSD.ORG Fri Jul 26 12:12:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A578AAC2 for ; Fri, 26 Jul 2013 12:12:31 +0000 (UTC) (envelope-from satan@ukr.net) Received: from hell.ukr.net (hell.ukr.net [212.42.67.68]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6422B2564 for ; Fri, 26 Jul 2013 12:12:31 +0000 (UTC) Received: from satan by hell.ukr.net with local ID 1V2gsg-0000XJ-E8 for freebsd-current@freebsd.org; Fri, 26 Jul 2013 15:12:22 +0300 Date: Fri, 26 Jul 2013 15:12:22 +0300 From: Vitalij Satanivskij To: freebsd-current@freebsd.org Subject: Memory leack in Wired? Message-ID: <20130726121222.GA1220@hell.ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 26 Jul 2013 12:12:31 -0000 Hello Some time ago, after update system on several servers I'm notice strange memory behavior For example Mem: 1245M Active, 937M Inact, 4093M Wired, 13M Cache, 1670M Free ARC: 495M Total, 50M MFU, 192M MRU, 17M Anon, 29M Header, 208M Other For zfs configures is vm.kmem_size="3G" vfs.zfs.arc_max="2G" vfs.zfs.arc_min="1G" prefetcher disabled. All machines have zfs only fs. Wired slowly grow until processes begin killed by "out of swap". Stoping all active software, unmount and export main zfs pool's (with dbs or another kind of data) don't free any memory. That's behavior notice on current begin from May. Older system eg r245701 working just fine. Untile 18/07/2013 (last system upgrade) no change in behavior. Memory usage grow very slowly on system with 32gb around two-there weeks. First it ets all free memory, than begin eating zfs arc memory, and than we must reboot machine. First question - hove to detect is it realy problem (vmstat -m don't tell any sumsystem to eat memory) and for what this memory allocated? Second - is anybody have similar problem ?