From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8727 invoked from network); 31 Aug 1998 14:18:08 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 31 Aug 1998 14:18:07 -0000 Received: from cyber3.servtech.com (root@cyber3.servtech.com [199.1.22.25]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA04028 for ; Mon, 31 Aug 1998 10:18:55 -0400 Received: from blizzard.servtech.com (blizzard.servtech.com [199.1.22.31]) by cyber3.servtech.com (8.8.8/8.8.8) with ESMTP id OAA17997 for ; Mon, 31 Aug 1998 14:18:05 GMT Received: from xcski.com (canoe.roc.servtech.com [204.181.4.141]) by blizzard.servtech.com (8.8.8/8.8.8) with ESMTP id OAA05732 for ; Mon, 31 Aug 1998 14:18:03 GMT Received: (from ptomblin@localhost) by xcski.com (8.8.7/8.8.7) id KAA29549; Mon, 31 Aug 1998 10:18:35 -0400 Message-ID: <19980831101835.A29413@xcski.com> Date: Mon, 31 Aug 1998 10:18:35 -0400 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: Per user limits References: <199808301745.NAA20296@adder.cs.Virginia.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; from Chris Brown on Mon, Aug 31, 1998 at 01:45:00AM -0800 Quoting Chris Brown (cbrown@alaska.net): > what you are doing. (In fact going beyond 2048 is almost always silly, as > systems fast enuf to handle > 3072 procs are very rare (mainly an IO issue > rather than CPU)). I do not know the hard limit (assuming the Alpha uses > a hardware timeslot setup) for the Alphas, none of mine are fast enough to > need the soft limits changed. Well, in my case I was bumping into the default limit when I had 120+ shell scripts (/usr/lib/news/bin/control/newgroup) calling "lockfile" to wait for their turn to execute. The 256 processes were essentially sleeping for 30 seconds, looking to see that the given file was owned by another process, and going to sleep again. newgroup doesn't normally call lockfile, but when 500 newgroup commands come in on your newsfeed at once (as was happening this weekend), you can either deal with load averages in the 100 to 200 range, or you can implement a locking mechanism like I did. -- Paul Tomblin, ptomblin@xcski.com. "An appointment is an engagement to see someone, while a morningstar is a large lump of metal used for viciously crushing skulls. It is important not to confuse the two, isn't it, Mr. --?" - Terry Pratchett