From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755291Ab2DIRAb (ORCPT ); Mon, 9 Apr 2012 13:00:31 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:59343 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754810Ab2DIRAa (ORCPT ); Mon, 9 Apr 2012 13:00:30 -0400 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX18kUTUZ8hokNcq8STNo5UXz678rBiUNGitdYfL8m0 bSRdQ38SEIoFzz From: Sven Joachim To: Rik van Riel Cc: Linus Torvalds , Andrew Morton , werner , David Rientjes , Hugh Dickins , linux-kernel@vger.kernel.org, Oleg Nesterov Subject: Re: v3.4-rc2 out-of-memory problems (was Re: 3.4-rc1 sticks-and-crashs) References: <20120408195044.13ea6c8e.akpm@linux-foundation.org> <8762d9v10x.fsf@turtle.gmx.de> <4F8306ED.7080405@redhat.com> <87398cev3j.fsf@turtle.gmx.de> <4F830F64.8000703@redhat.com> Date: Mon, 09 Apr 2012 19:00:25 +0200 In-Reply-To: <4F830F64.8000703@redhat.com> (Rik van Riel's message of "Mon, 09 Apr 2012 12:33:40 -0400") Message-ID: <87ty0sdemu.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2012-04-09 18:33 +0200, Rik van Riel wrote: > On 04/09/2012 12:19 PM, Sven Joachim wrote: >> On 2012-04-09 17:57 +0200, Rik van Riel wrote: >> >>> On 04/09/2012 03:04 AM, Sven Joachim wrote: >>> >>>> While I did not experience any crashes or instabilities (yet?), I'm also >>>> seeing memory leaks. On a system started this morning, with hardly >>>> anything running: >>> >>>> where I would expect no more than 50 MB used, 400 MB are actually in use: >>>> >>>> ,---- >>>> | $ free >>>> | total used free shared buffers cached >>>> | Mem: 3348400 1849712 1498688 0 328960 1119180 >>>> | -/+ buffers/cache: 401572 2946828 >>>> | Swap: 3719040 0 3719040 >>>> `---- >>> >>> Do you see any big memory users in /proc/meminfo or in >>> /proc/slabinfo? >> >> Attaching these files, since I can't really make anything out of the >> latter. Note that I started a few memory hogs (X, Firefox, Emacs with >> Gnus), so overall memory footprint has grown to 768 MB. > > Looks like the "missing" 400MB is all in filesystem caches, > specifically the dentry cache, the ext4 inode cache and > buffer heads. Then why does free(1) report those in the "-/+ buffers/cache:" line? It did not do this with earlier kernels, AFAIK. Cheers, Sven