From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266631AbUG0Up0 (ORCPT ); Tue, 27 Jul 2004 16:45:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266632AbUG0UpZ (ORCPT ); Tue, 27 Jul 2004 16:45:25 -0400 Received: from mailout06.sul.t-online.com ([194.25.134.19]:51133 "EHLO mailout06.sul.t-online.com") by vger.kernel.org with ESMTP id S266631AbUG0UpR (ORCPT ); Tue, 27 Jul 2004 16:45:17 -0400 Message-ID: <4106BE6C.1030701@xeon2.local.here> Date: Tue, 27 Jul 2004 22:43:24 +0200 From: kladit@t-online.de (Klaus Dittrich) User-Agent: Mozilla Thunderbird 0.7+ (X11/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jan-Frode Myklebust CC: Klaus Dittrich , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: dentry cache leak? Re: rsync out of memory 2.6.8-rc2 References: <20040726150615.GA1119@xeon2.local.here> <20040726123702.222ae654.akpm@osdl.org> <4105633C.3080204@xeon2.local.here> <20040726133846.604cef91.akpm@osdl.org> <41057A16.60801@xeon2.local.here> <20040726221420.GA8789@ii.uib.no> In-Reply-To: <20040726221420.GA8789@ii.uib.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: VrwuhTZJre+oFywB6YglVtl+p3asNL2vm8e+6qlYAHF4TOFDj4+NcV Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jan-Frode Myklebust wrote: >On Mon, Jul 26, 2004 at 11:39:34PM +0200, Klaus Dittrich wrote: > > >>>>cat /proc/sys/vm/vfs_cache_pressure shows 100. >>>> >>>> > >What about trying to increase the vfs_cache_pressure which seemed >to solve what to me looks like a similar problem: > > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=2m9Oo-Oo-17%40gated-at.bofh.it&rnum=1&prev=/groups%3Fhl%3Den%26ie%3DUTF-8%26safe%3Doff%26q%3Djan%2Bfrode%2Boom%2Bdsmc%26spell%3D1 > > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&threadm=2mdfi-3cC-11%40gated-at.bofh.it&rnum=2&prev=/groups%3Fq%3Djanfrode%2Boom%2Bdsmc%26ie%3DUTF-8%26hl%3Den%26btnG%3DGoogle%2BSearch > > > -jf > > I did a test with a value of 500. echo 500 > /proc/sys/vm/vfs_cache_pressure. The highest numbers a cat /proc/sys/fs/dentry-state then showed during a du -s were 780721 750505 45 0 0 0 The system survied. No processes were killed. With vfs_cache_pressure=100 a cat /proc/sys/fs/dentry-state showed numbers of about 1090000 before processes got killed. Hope that helps to narrow the region to look for what has changed.