Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: klaus@shmul.physik.fu-berlin.de (Wolfram Klaus)
Subject: Re: OSF/1 - CPU Soaking Orphans
Date: 1995/09/12	[thread overview]
Message-ID: <klaus.810905770@shmul.physik.fu-berlin.de> (raw)
In-Reply-To: 1995Sep11.182014.13289@isac.hces.com

timw@isac.hces.com (Timothy M. Wieman) writes:

>Mike Iglesias (iglesias@draco.acs.uci.edu) wrote:
>: In article <42okpd$e7h@alpha.delta.edu>,
>: Keith DeLong <keith@alpha.delta.edu> wrote:
>: >About once a day somebody gets disconnected or something, they can be 
>: >just at the shell prompt or in a program.  A task gets left running and 
>: >it just sucks up every free drop of CPU time.  It doesn't bring the 
>: >system to a halt though.  When I kill the job, things speed up again and 
>: >everything is normal.
>: >
>: >Is this a known bug with a fix in OSF/1 3.2?  Or perhaps is there a 
>: >program that will auto kill jobs that go nutzo and soak up 85% of the CPU?

>: We see this on some of our SunOS 4.1.x systems too.  Must be something
>: generic in Unix...

>We also see this under UnixWare.  It would be nice to have a solution to
>the problem.

>Tim
>-- 
>------------------------------------------------------------------------
>   Timothy M. Wieman    |       Software Engineer
>                        |
>     timw@hces.com      |       PACE Health Management Systems, Inc.


Some time ago we installed the autonice daemon on our alpha-boxes
here. We are very happy with it. We configured it to halt programs
after 1h of CPU time. For time consuming jobs we use dqs (Distributed
Queueing System); dqs jobs are not affected by autonice.

Here is the original announcement:

Path: RRZ.Uni-Koeln.DE!rs1-hrz.uni-duisburg.de!zib-berlin.de!news.dfn.de!rubb.rz.ruhr-uni-bochum.de!rubb.rz.ruhr-uni-bochum.de!not-for-mail
From: rpb@psy.ox.ac.uk (Ray Bellis)
Newsgroups: comp.archives
Subject: [comp.unix.osf.osf1] New release of `autonice' daemon available
Followup-To: poster
Date: 15 Jun 1994 14:23:06 +0200
Organization: O.U. Dept. of Experimental Psychology
Lines: 39
Sender: x920031@rubb.rz.ruhr-uni-bochum.de
Approved: Jost.Krieger@rz.ruhr-uni-bochum.de
Message-ID: <2tmrra$pn6@rubb.rz.ruhr-uni-bochum.de>
References: <RPB.94Jun8090515@axp01.ox.ac.uk>
NNTP-Posting-Host: rubb.rz.ruhr-uni-bochum.de
X-Url: ftp://ftp.mrc-bbc.ox.ac.uk/pub/dec_alpha/autonice-0.2.tar.gz
X-Batch-Name: archsave.1994-06-13
X-Original-Date: 08 Jun 1994 08:05:15 GMT 

Archive-Name: auto/comp.unix.osf.osf1/New-release-of-autonice-daemon-available

I've made a new version of my `autonice' daemon available for anonymous FTP
from URL: <file://ftp.mrc-bbc.ox.ac.uk/pub/dec_alpha/autonice-0.2.tar.gz>

There are no functional changes, except that the daemon now forks
properly when started within a shell script without having its input
and output redirected.

Here's an extract from the README:

--
The principal aim of the program is to give short lived interactive
processes more CPU time than long lived `batch style' jobs.  The idea
behind this is that those long lived jobs might take a little longer
to complete, but if a process is going to run for 24 hours anyway
then it doesn't matter too much if it takes an extra 30 minutes.

The nice level is set according to the following function:

   nice = 4 * (int)(log(cputime / 60.0) / log(2.0))

Thus after two minutes of CPU time the process is set to `nice 4'
and after 32 minutes of CPU time it is set to the minimum priority
level of `nice 20'.
--

Ray.
--
------------------------------------------------------------------------------
R. P. Bellis				E-Mail:	<Ray.Bellis@psy.ox.ac.uk>
Computing Officer
MRC Centre in Brain and Behaviour
Dept. of Experimental Psychology
University of Oxford			Whois:	(RB83)
South Parks Road			Tel:	+44 865 271359
Oxford OX1 3UD				Fax:	+44 865 310447
------------------------------------------------------------------------------



--
Wolfram Klaus (klaus@manuel.physik.fu-berlin.de)     FU Berlin, FB Physik
*************************************************************************
************ Linux ... the choice of a GNU generation *******************
*************************************************************************



      reply	other threads:[~1995-09-12  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-08  4:00 OSF/1 - CPU Soaking Orphans Keith DeLong
1995-09-08  4:00 ` Mike Iglesias
1995-09-11  4:00   ` Timothy M. Wieman
1995-09-12  4:00     ` Wolfram Klaus [this message]
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