From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: next-20080808: bash: fork: Resource temporarily unavailable Date: Sun, 10 Aug 2008 12:31:52 +0100 Message-ID: <13299.1218367912@redhat.com> References: <20080810113044.19143b0a@worthy.swandive.local> <1218322518.3268.0.camel@luna.unix.geek.nz> <1218287473.3155.13.camel@dhcppc0> <1218281190.3155.5.camel@dhcppc0> <1218214935.3146.5.camel@dhcppc0> <14476.1218286327@redhat.com> <15386.1218290826@redhat.com> <10251.1218361539@redhat.com> Return-path: Received: from mx1.redhat.com ([66.187.233.31]:48906 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752896AbYHJLdC (ORCPT ); Sun, 10 Aug 2008 07:33:02 -0400 In-Reply-To: <20080810113044.19143b0a@worthy.swandive.local> Sender: linux-next-owner@vger.kernel.org List-ID: To: Grant Wilson Cc: dhowells@redhat.com, Jasper Bryant-Greene , Thomas Meyer , James Morris , Linux-Kernel , Linux-Next Grant Wilson wrote: > On Sun, 10 Aug 2008 10:45:39 +0100 > David Howells wrote: > > [snip] > > > > Are you running as an unprivileged user? If so, this may be the point > > that's biting you. Can you try applying the attached patch to find more > > information? > [snip] > I'm also experiencing this on an X86_64 system as an unprivileged user. Thanks for your help. > With your patch applied I get the following repeated several times > during the boot, but with no apparent ill effects: > > [ 31.033195] copy_process() = -513 That's probably nothing to worry about. It -ERESTARTNOINTR, indicating, I would guess, that fork() was interrupted by a signal. > When the fork call starts to fail after a few minutes the following is logged: > > [ 223.039938] Rlimit EAGAIN (-1 >= 16375, uid 1000) > [ 223.044744] copy_process() = -11 > [ 226.660319] Rlimit EAGAIN (-1 >= 16375, uid 1000) > [ 226.664166] copy_process() = -11 Okay. That's useful, thanks. That indicates that my accounting of user processes is incorrect somewhere. This won't show up when running as a privileged user only. David