Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Nov 2002 12:35:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Nov 2002 12:35:18 -0500 Received: from mailhost.cotse.com ([216.112.42.58]:56077 "EHLO mailhost.cotse.com") by vger.kernel.org with ESMTP id ; Wed, 20 Nov 2002 12:35:17 -0500 Message-ID: Date: Wed, 20 Nov 2002 12:41:08 -0500 (EST) X-Abuse-To: abuse@cotse.com Subject: Re: MAX_ARG_PAGES From: "Alan Willis" To: In-Reply-To: <20021120161819.GA9932@jsambrook> References: <20021120161819.GA9932@jsambrook> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: Reply-To: alan@cotse.com X-Mailer: www.cotse.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1283 Lines: 39 Thanks. I don't subscribe to lkml, so I missed this. It would be nice if this was made tunable via sysctl, as was suggested in the thread you pointed me to. Tricks to get around it in userspace are a rather fun exercise though :o) -alan > At 20:22 on Tue 19/11/02, alan@cotse.net masquerading as 'Alan Willis' > wrote: >> >> Recently I had a user who needed to remove 17k files all at once >> and >> received the message 'rm: Argument list too long'. In his case an rm >> -rf on the directory itself solved his problem, but after a quick web >> search, it seems that the value of MAX_ARG_PAGES in >> include/linux/binfmts.h (32) is responsible for this limitation. >> Could this value possibly be increased safely? I'm curious, is there >> some other limitation that has been breached in the 2.5 series that >> would make it safer to increase MAX_ARG_PAGES? > > See lkml passim (circa 3:30pm 12 Nov 2002 starting with a message from > Adam Voigt) > > > -- > > Jonathan Sambrook > Software Developer > Designer Servers - 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/