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

Leave a Comment

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

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top