cron log is c queue max run limit reached

PROBLEM
cron jobs are being rescheduled and not running. The message in the cron log is c queue max run limit reached [date & time] rescheduling a cron job [date & time]

RESOLUTION

The error:

! c queue max run limit reached Fri May 27 12:39:00 2011
! rescheduling a cron job Fri May 27 12:39:00 2011
! c queue max run limit reached Fri May 27 12:39:00 2011
! rescheduling a cron job Fri May 27 12:39:00 2011

c queue max run limit reached [date & time]rescheduling a cron job [date & time],  corresponds to there being more than the maximum number of jobs running in the c queue than specified in “queuedefs”.

There was a problem with getspwent() which could cause the child cron processes to loop when they called getspwent().

HP-UX : 

EXAMPLE:

# cat /usr/lib/cron/queuedefs

a.4j1n
b.2j2n90w
c.100j1n

NOTE: The a queue, by default, can run 4 jobs simultaneously.

NOTE: The c.100j1n means 100 cron/at/batch jobs can be run similatenously with a nice value of 1.

To increase that number, modify the queuedefs file and restart cron.

The follow example increases the limit from 4 to 10 simultaneous jobs.

Modify the queuedefs file:

# vi /var/adm/cron/queuedefs

a.4j1n –> change this to the following line
a.10j1n

Stop Cron:

# ps -ef |grep cron

# kill {cron_pid}

NOTE: This defaults to a -15 which kills nicely.

Restart cron:

# /sbin/init.d/cron

Incoming search terms:

  • c queue max run limit reached
  • cron c queue max run limit
  • cron queue max run limit reached no more cron jobs can run
  • hp-ux cron queue max run limit
  • solaris cron c queue max run limit reached
This entry was posted in HP-UX. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


eight + = 10

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>