From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5d174c22a64e091b X-Google-Attributes: gidfee84,public From: klaus@shmul.physik.fu-berlin.de (Wolfram Klaus) Subject: Re: OSF/1 - CPU Soaking Orphans Date: 1995/09/12 Message-ID: #1/1 X-Deja-AN: 109983591 references: <42okpd$e7h@alpha.delta.edu> <42puab$hp8@news.service.uci.edu> <1995Sep11.182014.13289@isac.hces.com> organization: Freie Universitaet Berlin x-access: 16 17 18 newsgroups: comp.unix.osf.osf1 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 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: 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: 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: 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 ******************* *************************************************************************