From owner-freebsd-fs@FreeBSD.ORG Wed Feb 9 22:17:21 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D2AB106564A; Wed, 9 Feb 2011 22:17:21 +0000 (UTC) (envelope-from admin@kkip.pl) Received: from mainframe.kkip.pl (kkip.pl [87.105.164.78]) by mx1.freebsd.org (Postfix) with ESMTP id AC9DD8FC15; Wed, 9 Feb 2011 22:17:20 +0000 (UTC) Received: from static-78-8-144-74.ssp.dialog.net.pl ([78.8.144.74] helo=[192.168.0.2]) by mainframe.kkip.pl with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PnILW-00074J-LC; Wed, 09 Feb 2011 23:17:18 +0100 Message-ID: <4D531262.6060900@kkip.pl> Date: Wed, 09 Feb 2011 23:17:06 +0100 From: Bartosz Stec User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Emil Muratov References: <4D510BBB.1060708@kkip.pl> <20110208102727.GA8555@icarus.home.lan> <4D511F65.2050503@kkip.pl> <4D519F97.2000805@kkip.pl> <20110208203653.GC78089@deviant.kiev.zoral.com.ua> <4D52F498.2090000@FreeBSD.org> <20110209201809.GA3433@garage.freebsd.pl> In-Reply-To: X-Authenticated-User: admin@kkip.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.5 X-Spam-Score-Int: -84 X-Exim-Version: 4.73 (build at 10-Jan-2011 16:29:01) X-Date: 2011-02-09 23:17:18 X-Connected-IP: 78.8.144.74:55479 X-Message-Linecount: 121 X-Body-Linecount: 106 X-Message-Size: 4105 X-Body-Size: 3153 X-Received-Count: 1 X-Recipient-Count: 4 X-Local-Recipient-Count: 4 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek Subject: Re: Memory leak in ZFS? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 22:17:21 -0000 W dniu 2011-02-09 22:11, Emil Muratov pisze: > > >> On Wed, Feb 09, 2011 at 09:10:00PM +0100, Martin Matuska wrote: >>> I think this should go to HEAD and I have already prepared ported >>> patches for v28 (head and stable). >> >> Did someone who sees the issue confirm it fixes the problem for him? >> If yes, I'm fine with the patch going in. >> > > Yes, I confirm. I had applied STABLE version and rebuild kernel. Some > quick tests confirmed that memory leaking is gone, samba with aio > sendfile works fine. Will do more other tests later, but I'd say > thanks to all involved for such a quick fix! :) Yes, I confirm too, now MISSING count seems to be stable with heavy reading from samba: # ./mem_monitor -m -r 2 MISSING: 36.70 MB MISSING: 36.65 MB MISSING: 36.64 MB MISSING: 36.59 MB MISSING: 36.64 MB MISSING: 36.59 MB MISSING: 36.51 MB MISSING: 36.52 MB MISSING: 36.60 MB MISSING: 36.60 MB MISSING: 36.59 MB MISSING: 36.59 MB MISSING: 36.59 MB -- Bartosz Stec