Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: Per user limits
Date: Mon, 31 Aug 1998 10:18:35 -0400	[thread overview]
Message-ID: <19980831101835.A29413@xcski.com> (raw)
In-Reply-To: <Pine.GSO.3.96.980831013622.14489A-100000@calvino.alaska.net>; 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


  reply	other threads:[~1998-08-31 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-30 17:45 Per user limits Greg Lindahl
1998-08-31  9:45 ` Chris Brown
1998-08-31 14:18   ` Paul Tomblin [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-08-31 12:37 Greg Lindahl
1998-08-30 17:19 Paul Tomblin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox