From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22649 invoked by alias); 2 Nov 2009 22:02:24 -0000 Received: (qmail 22366 invoked by uid 22791); 2 Nov 2009 22:02:24 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f192.google.com (HELO mail-px0-f192.google.com) (209.85.216.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Nov 2009 22:02:20 +0000 Received: by pxi30 with SMTP id 30so3395293pxi.14 for ; Mon, 02 Nov 2009 14:02:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.67.9 with SMTP id p9mr961246wfa.306.1257199334814; Mon, 02 Nov 2009 14:02:14 -0800 (PST) In-Reply-To: <4AEF53F5.4020107@gmail.com> References: <4AEF53F5.4020107@gmail.com> Date: Mon, 02 Nov 2009 22:02:00 -0000 Message-ID: Subject: Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0 From: Justin Mattock To: Jiri Slaby Cc: Linux Kernel Mailing List , gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00028.txt.bz2 On Mon, Nov 2, 2009 at 1:49 PM, Jiri Slaby wrote: > On 11/02/2009 10:29 PM, Justin Mattock wrote: >> [ =A0532.942324] cc1plus invoked oom-killer: gfp_mask=3D0x280da, order= =3D0, oom_adj=3D0 >> [ =A0532.942330] Pid: 16002, comm: cc1plus Tainted: P >> 2.6.32-rc5-00083-g04ea458 #2 >> [ =A0532.942333] Call Trace: >> [ =A0532.942342] =A0[] T.417+0x7c/0x245 >> [ =A0532.942347] =A0[] __out_of_memory+0x142/0x159 >> [ =A0532.942352] =A0[] out_of_memory+0x6e/0x9d >> [ =A0532.942357] =A0[] __alloc_pages_nodemask+0x47e/0x= 5cc >> [ =A0532.942363] =A0[] handle_mm_fault+0x25d/0x68e >> [ =A0532.942369] =A0[] do_page_fault+0x2bb/0x2d3 >> [ =A0532.942373] =A0[] page_fault+0x25/0x30 > ... >> [ =A0532.957951] Out of memory: kill process 16001 (c++) score 543727 or= a child >> [ =A0532.957955] Killed process 16002 (cc1plus) >> >> I just compiled the latest gcc snapshot a few days >> ago. > > How many jobs did you run in parallel? Was there anything else memory > consuming running on that machine? Do you run the same jobs count every > time you compile such big c++ projects? > This would be the only job running. as for other types of jobs under ps aux there's only udev,dbus,acpid,sshd,wicd running. Now with this oom-killer I'm hitting this on an imac9,1 with gcc (GCC) 4.5.0 20091029 (experimental) 2.6.32-rc5-00083-g04ea458 On my other machine macbook pro ati chipset (same system pure64)firefox seems to be going a lot farther than on the imac(doing this in the past I think this takes a good 45min to compile). the macbook has: gcc (GCC) Cross-LFS 4.4.1.20090722) 4.4.1 2.6.32-rc4-00039-ga3f6f2e --=20 Justin P. Mattock