<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cron log - c queue max run limit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685793#M54082</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is a document from the Technical Knowledge Base. It should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;How to resolve a queue max run limit reached DocId: HPUXKBRC00000644   Updated: 7/20/01 6:55:00 AM &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;All atjobs are not executing when scheduled. The /var/adm/cron/log file shows the following entry: &lt;BR /&gt;! a queue max run limit reached Wed Jan 12 09:59:20 PST 2000 &lt;BR /&gt;! rescheduling at job Wed Jan 12 09:59:20 PST 2000 &lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;Use the following commands to check for version of cron and at.  Make sure that the versions are current.  &lt;BR /&gt;&lt;BR /&gt;The versions can be updated by installing the latest cumulative cron patch. &lt;BR /&gt;&lt;BR /&gt;# what /usr/bin/cron &lt;BR /&gt;&lt;BR /&gt;# what /usr/bin/at &lt;BR /&gt;&lt;BR /&gt;# crontab -l &lt;BR /&gt;&lt;BR /&gt;# cat /usr/lib/cron/queuedefs &lt;BR /&gt;&lt;BR /&gt;# swlist -l fileset  |grep cron &lt;BR /&gt;&lt;BR /&gt;Check the queuedefs file to see how many atjobs are currently configured to run simultaneously per queue.&lt;BR /&gt;&lt;BR /&gt;NOTE: The total number of jobs running in all queues is 40. &lt;BR /&gt;&lt;BR /&gt;The output will look as follows: &lt;BR /&gt;&lt;BR /&gt;q.[njobj][nicen][nwaitw] the queues is limited to 40. &lt;BR /&gt;&lt;BR /&gt;nice - The nice value to give to all jobs in that queue that not run with a user ID of super-user (see nice(1)). The default value is 2. &lt;BR /&gt;&lt;BR /&gt;Where: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;q - The name of the queue, such that a is the default queue for jobs started by at (see at(1)), b is the queue for jobs started by batch (see batch(1)), and c is the queue for jobs run from a crontab file (see crontab(1)). Queue names d through y designate user-defined queues. &lt;BR /&gt;njob - The maximum number of jobs that can be run simultaneously in that queue. Although any number can be specified here, the total number of jobs that can be run on all&lt;BR /&gt;&lt;BR /&gt;nwait - The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that job's queue, or because more than 40 jobs were running in all the queues (see njob above). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXAMPLE: &lt;BR /&gt;&lt;BR /&gt;# cat /usr/lib/cron/queuedefs &lt;BR /&gt;&lt;BR /&gt;a.4j1n &lt;BR /&gt;b.2j2n90w &lt;BR /&gt;c.100j1n &lt;BR /&gt;NOTE: The a queue, by default, can run 4 jobs simultaneously. &lt;BR /&gt;&lt;BR /&gt;NOTE: The c.100j1n means 100 cron/at/batch jobs can be run similatenously with a nice value of 1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To increase that number, modify the queuedefs file and restart cron. &lt;BR /&gt;&lt;BR /&gt;The follow example increases the limit from 4 to 10 simultaneous jobs. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Modify the queuedefs file: &lt;BR /&gt;&lt;BR /&gt;# vi /var/adm/cron/queuedefs &lt;BR /&gt;&lt;BR /&gt;a.4j1n   --&amp;gt;  change this to the following line &lt;BR /&gt;a.10j1n &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Stop Cron: &lt;BR /&gt;&lt;BR /&gt;# ps -ef |grep cron &lt;BR /&gt;&lt;BR /&gt;# kill {cron_pid}  &lt;BR /&gt;&lt;BR /&gt;NOTE: This defaults to a -15 which kills nicely. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Restart cron: &lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/cron  &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 19 Mar 2002 05:05:02 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2002-03-19T05:05:02Z</dc:date>
    <item>
      <title>cron log - c queue max run limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685792#M54081</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;we encountered this on our md server...cron is running if you do ps -ef|grep cron but actualy the daemon doesnt do anything...&lt;BR /&gt;&lt;BR /&gt;found the message below at /var/adm/cron/log file.&lt;BR /&gt;&lt;BR /&gt;! c queue max run limit reached Tue Mar 19 08:00:00 EAT 2002&lt;BR /&gt;! rescheduling a cron job Tue Mar 19 08:00:00 EAT 2002&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;do i need to adjust anything to resolve this?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Tue, 19 Mar 2002 05:00:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685792#M54081</guid>
      <dc:creator>jasper_2</dc:creator>
      <dc:date>2002-03-19T05:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: cron log - c queue max run limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685793#M54082</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is a document from the Technical Knowledge Base. It should solve your problem.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;How to resolve a queue max run limit reached DocId: HPUXKBRC00000644   Updated: 7/20/01 6:55:00 AM &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;All atjobs are not executing when scheduled. The /var/adm/cron/log file shows the following entry: &lt;BR /&gt;! a queue max run limit reached Wed Jan 12 09:59:20 PST 2000 &lt;BR /&gt;! rescheduling at job Wed Jan 12 09:59:20 PST 2000 &lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;Use the following commands to check for version of cron and at.  Make sure that the versions are current.  &lt;BR /&gt;&lt;BR /&gt;The versions can be updated by installing the latest cumulative cron patch. &lt;BR /&gt;&lt;BR /&gt;# what /usr/bin/cron &lt;BR /&gt;&lt;BR /&gt;# what /usr/bin/at &lt;BR /&gt;&lt;BR /&gt;# crontab -l &lt;BR /&gt;&lt;BR /&gt;# cat /usr/lib/cron/queuedefs &lt;BR /&gt;&lt;BR /&gt;# swlist -l fileset  |grep cron &lt;BR /&gt;&lt;BR /&gt;Check the queuedefs file to see how many atjobs are currently configured to run simultaneously per queue.&lt;BR /&gt;&lt;BR /&gt;NOTE: The total number of jobs running in all queues is 40. &lt;BR /&gt;&lt;BR /&gt;The output will look as follows: &lt;BR /&gt;&lt;BR /&gt;q.[njobj][nicen][nwaitw] the queues is limited to 40. &lt;BR /&gt;&lt;BR /&gt;nice - The nice value to give to all jobs in that queue that not run with a user ID of super-user (see nice(1)). The default value is 2. &lt;BR /&gt;&lt;BR /&gt;Where: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;q - The name of the queue, such that a is the default queue for jobs started by at (see at(1)), b is the queue for jobs started by batch (see batch(1)), and c is the queue for jobs run from a crontab file (see crontab(1)). Queue names d through y designate user-defined queues. &lt;BR /&gt;njob - The maximum number of jobs that can be run simultaneously in that queue. Although any number can be specified here, the total number of jobs that can be run on all&lt;BR /&gt;&lt;BR /&gt;nwait - The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that job's queue, or because more than 40 jobs were running in all the queues (see njob above). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;EXAMPLE: &lt;BR /&gt;&lt;BR /&gt;# cat /usr/lib/cron/queuedefs &lt;BR /&gt;&lt;BR /&gt;a.4j1n &lt;BR /&gt;b.2j2n90w &lt;BR /&gt;c.100j1n &lt;BR /&gt;NOTE: The a queue, by default, can run 4 jobs simultaneously. &lt;BR /&gt;&lt;BR /&gt;NOTE: The c.100j1n means 100 cron/at/batch jobs can be run similatenously with a nice value of 1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To increase that number, modify the queuedefs file and restart cron. &lt;BR /&gt;&lt;BR /&gt;The follow example increases the limit from 4 to 10 simultaneous jobs. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Modify the queuedefs file: &lt;BR /&gt;&lt;BR /&gt;# vi /var/adm/cron/queuedefs &lt;BR /&gt;&lt;BR /&gt;a.4j1n   --&amp;gt;  change this to the following line &lt;BR /&gt;a.10j1n &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Stop Cron: &lt;BR /&gt;&lt;BR /&gt;# ps -ef |grep cron &lt;BR /&gt;&lt;BR /&gt;# kill {cron_pid}  &lt;BR /&gt;&lt;BR /&gt;NOTE: This defaults to a -15 which kills nicely. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Restart cron: &lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/cron  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2002 05:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685793#M54082</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-03-19T05:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: cron log - c queue max run limit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685794#M54083</link>
      <description>Have a look at TKB document KBRC00000882.  The document is attached for your convenience.&lt;BR /&gt;&lt;BR /&gt;Note that this document is for HP-UX 10.20.</description>
      <pubDate>Tue, 19 Mar 2002 05:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-log-c-queue-max-run-limit/m-p/2685794#M54083</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-03-19T05:08:39Z</dc:date>
    </item>
  </channel>
</rss>

