From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx144.postini.com [74.125.245.144]) by kanga.kvack.org (Postfix) with SMTP id A18996B0062 for ; Tue, 23 Oct 2012 04:36:02 -0400 (EDT) Date: Tue, 23 Oct 2012 10:35:58 +0200 From: Michal Hocko Subject: Re: process hangs on do_exit when oom happens Message-ID: <20121023083556.GB15397@dhcp22.suse.cz> References: <20121019160425.GA10175@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Qiang Gao Cc: "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "cgroups@vger.kernel.org" , linux-mm@kvack.org, bsingharora@gmail.com On Tue 23-10-12 11:35:52, Qiang Gao wrote: > I'm sure this is a global-oom,not cgroup-oom. [the dmesg output in the end] Yes this is the global oom killer because: > cglimit -M 700M ./tt > then after global-oom,the process hangs.. > 179184 pages RAM So you have ~700M of RAM so the memcg limit is basically pointless as it cannot be reached... -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org