Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754116AbZJ2LBs (ORCPT ); Thu, 29 Oct 2009 07:01:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753955AbZJ2LBr (ORCPT ); Thu, 29 Oct 2009 07:01:47 -0400 Received: from mail-bw0-f227.google.com ([209.85.218.227]:63065 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753030AbZJ2LBq (ORCPT ); Thu, 29 Oct 2009 07:01:46 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:x-age:x-location :x-os:x-face:content-type:content-transfer-encoding; b=OHIs9t+aRtG5t6/d8NvQ4NsQ3B6TsMDsDjjk9/KTL6JTAF2Ldue6tSDerfe92NC4n2 Ap6w/8GegLNyXygsMMFTqe6QCgAuAJ3p6mP4bDOK6TaQpNsAke1k6+0ZKGtcRBsHLYtd wo5xA071lgYuU28VzJcH+JpmDR7wcvXzCfsd8= Message-ID: <4AE97618.6060607@gmail.com> Date: Thu, 29 Oct 2009 12:01:44 +0100 From: =?UTF-8?B?VmVkcmFuIEZ1cmHEjQ==?= Reply-To: vedran.furac@gmail.com Organization: Home User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090701 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: David Rientjes CC: Hugh Dickins , KAMEZAWA Hiroyuki , linux-mm@kvack.org, linux-kernel@vger.kernel.org, KOSAKI Motohiro , minchan.kim@gmail.com, Andrew Morton , Andrea Arcangeli Subject: Re: Memory overcommit References: <20091013120840.a844052d.kamezawa.hiroyu@jp.fujitsu.com> <20091014135119.e1baa07f.kamezawa.hiroyu@jp.fujitsu.com> <4ADE3121.6090407@gmail.com> <20091026105509.f08eb6a3.kamezawa.hiroyu@jp.fujitsu.com> <4AE5CB4E.4090504@gmail.com> <20091027122213.f3d582b2.kamezawa.hiroyu@jp.fujitsu.com> <4AE78B8F.9050201@gmail.com> <4AE792B8.5020806@gmail.com> <4AE846E8.1070303@gmail.com> <4AE9068B.7030504@gmail.com> In-Reply-To: X-Age: 25 X-Location: Lovran, Croatia X-OS: Debian GNU/Linux X-Face: +Lg7^E:?#]P.Y{N@61yW{aY#>fRcOE6MMqgAM|Kwk"fK!y!i4+h6&?E`Jt@uame[-SLu#*?k:)dZv X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4601 Lines: 110 David Rientjes wrote: > On Thu, 29 Oct 2009, Vedran Furac wrote: > >>> We would know if you posted the data. >> I need to find some free time to destroy a session on a computer which I >> use for work. You could easily test it yourself also as this doesn't >> happen only to me. >> >> Anyways, here it is... this time it started with ntpd: >> >> http://pastebin.com/f3f9674a0 >> > > That oom log shows 12 ooms but no tasks actually appear to be getting > killed (there're no "Killed process 1234 (task)" found). Do you have any > idea why? That's /var/log/messages. I posted it and not dmesg because whole log didn't fit dmesg buffer, here is waht i have (compare timestamps): % dmesg|grep -i kill [ 1493.064458] Out of memory: kill process 6304 (kdeinit4) score 1190231 or a child [ 1493.064467] Killed process 6409 (konqueror) [ 1493.261149] knotify4 invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1493.261166] [] ? oom_kill_process+0x9a/0x264 [ 1493.276528] Out of memory: kill process 6304 (kdeinit4) score 1161265 or a child [ 1493.276538] Killed process 6411 (krusader) [ 1499.221160] akregator invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1499.221178] [] ? oom_kill_process+0x9a/0x264 [ 1499.236431] Out of memory: kill process 6304 (kdeinit4) score 1067593 or a child [ 1499.236441] Killed process 6412 (irexec) [ 1499.370192] firefox-bin invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1499.370209] [] ? oom_kill_process+0x9a/0x264 [ 1499.385417] Out of memory: kill process 6304 (kdeinit4) score 1066861 or a child [ 1499.385427] Killed process 6420 (xchm) [ 1499.458304] kio_file invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1499.458333] [] ? oom_kill_process+0x9a/0x264 [ 1499.458367] [] ? d_kill+0x5c/0x7c [ 1499.473573] Out of memory: kill process 6304 (kdeinit4) score 1043690 or a child [ 1499.473582] Killed process 6425 (kio_file) [ 1500.250746] korgac invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1500.250765] [] ? oom_kill_process+0x9a/0x264 [ 1500.266186] Out of memory: kill process 6304 (kdeinit4) score 1020350 or a child [ 1500.266196] Killed process 6464 (icedove) [ 1500.349355] syslog-ng invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1500.349371] [] ? oom_kill_process+0x9a/0x264 [ 1500.364689] Out of memory: kill process 6304 (kdeinit4) score 1019864 or a child [ 1500.364699] Killed process 6477 (kio_http) [ 1500.452151] kded4 invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1500.452167] [] ? oom_kill_process+0x9a/0x264 [ 1500.452196] [] ? d_kill+0x5c/0x7c [ 1500.467307] Out of memory: kill process 6304 (kdeinit4) score 993142 or a child [ 1500.467316] Killed process 6478 (kio_http) [ 1500.780222] akregator invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1500.780239] [] ? oom_kill_process+0x9a/0x264 [ 1500.796280] Out of memory: kill process 6304 (kdeinit4) score 966331 or a child [ 1500.796290] Killed process 6484 (kio_http) [ 1501.065374] syslog-ng invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1501.065390] [] ? oom_kill_process+0x9a/0x264 [ 1501.080579] Out of memory: kill process 6304 (kdeinit4) score 939434 or a child [ 1501.080587] Killed process 6486 (kio_http) [ 1501.381188] knotify4 invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1501.381204] [] ? oom_kill_process+0x9a/0x264 [ 1501.396338] Out of memory: kill process 6304 (kdeinit4) score 912691 or a child [ 1501.396346] Killed process 6487 (firefox-bin) [ 1502.661294] icedove-bin invoked oom-killer: gfp_mask=0x201da, order=0, oomkilladj=0 [ 1502.661311] [] ? oom_kill_process+0x9a/0x264 [ 1502.676563] Out of memory: kill process 7580 (test) score 708945 or a child [ 1502.676575] Killed process 7580 (test) > Can you explain why Xorg is preferred as a baseline to kill rather than > krunner in your example? Krunner is a small app for running other apps and do similar things. It shouldn't use a lot of memory. OTOH, Xorg has to hold all the pixmaps and so on. That was expected result. Fist Xorg, then firefox and thunderbird. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/