From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kjell Andresen Newsgroups: gmane.os.tru64.managers Subject: Summary: Tru64 [v4.0G]: cron and "Max job limit" Date: Mon, 20 Oct 2003 15:51:01 +0200 (CEST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1066657906 10657 80.91.224.253 (20 Oct 2003 13:51:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 13:51:46 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Oct 20 15:51:44 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ABaRj-0008JW-00 for ; Mon, 20 Oct 2003 15:51:44 +0200 Original-Received: (qmail 18484 invoked by uid 5); 20 Oct 2003 13:51:34 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18469 invoked by uid 49493); 20 Oct 2003 13:51:33 -0000 Original-Received: from kjell.andresen@usit.uio.no by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.1/5.0):. Processed in 0.654215 secs); 20 Oct 2003 13:51:33 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 20 Oct 2003 13:51:33 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HN200DAB6HWMW@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 20 Oct 2003 09:51:32 -0400 (EDT) Original-Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HN200H4P6HHWB@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 20 Oct 2003 09:51:18 -0400 (EDT) Original-Received: from mail-mx1.uio.no ([129.240.10.29]) by pat.uio.no with esmtp (Exim 4.20) id 1ABaRJ-0003fD-4X for tru64-unix-managers@ornl.gov; Mon, 20 Oct 2003 15:51:17 +0200 Original-Received: from beta.uio.no ([129.240.186.52]) by mail-mx1.uio.no with esmtp (Exim 4.14) id 1ABaR3-0002Rn-7o; Mon, 20 Oct 2003 15:51:01 +0200 Original-To: tru64-unix-managers@ornl.gov X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning. X-UiO-MailScanner: No virus found Xref: main.gmane.org gmane.os.tru64.managers:5601 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5601 Thanks to: Matthew Wild LEVESQUE Bernard "Medaglia, Chris" Jan Mark Holzer Richardson Phil - pricha "Brusche, Johan" "Dr Thomas.Blinn@HP.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