tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Kjell Andresen <kjell.andresen@usit.uio.no>
Subject: Summary:  Tru64 [v4.0G]: cron and "Max job limit"
Date: Mon, 20 Oct 2003 15:51:01 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58-L.0310201543390.32075@beta.uio.no> (raw)

Thanks to:

  Matthew Wild <M.Wild@rl.ac.uk>
  LEVESQUE Bernard <blevesque@efa.lu>
  "Medaglia, Chris" <cmedagli@Lifelinesys.com>
  Jan Mark Holzer <jmh@hp.com>
  Richardson Phil - pricha <pricha@acxiom.co.uk>
  "Brusche, Johan" <johan.brusche@hp.com>
  "Dr Thomas.Blinn@HP.com" <tpb@doctor.zk3.dec.com>

All agreed that the parameter was to find in /var/adm/cron/queuedefs.
Any changes will take effect after a restart of cron
(/sbin/rc3.d/s57cron stop and start)

Dr. Tom Blinn also stated:
------------------------------------------------
By the way, you may not actually want to have more than 25 jobs
active under cron at a time; that's why the default limit is set
to 25 total (across tasks from ALL the crontab files, all of the
batch and at jobs).  So if cron can't run some task immediately
due to the limit, it just restarts the jobs not yet run later.

Of course, killing cron makes it forget these "non-standard"
tasks.
------------------------------------------------
The error was a cron job made to update som other machines yp database.
Solving the problem with this job also solved the error condition for my
restarted cron.

My original question was:

> Having experienced a job limit above max I just wonder
> where this value might be adjusted?
>
> From /var/adm/cron/log there is a lot of lines like this:
>
>  MAXRUN (25) procs reached Fri Oct 17 22:00:00 2003
>  rescheduling a cron job Fri Oct 17 22:00:00 2003
>
> I cannot find anything about this value in "man cron|tab"
>
> A restart of cron seem to have killed jobs in queue/not finished.

Regards,
Kjell Andresen  Systems administrator, University of Oslo, Norway
                Center for Information Technology Services and
                Department of Geosciences


                 reply	other threads:[~2003-10-20 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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