Saturday, June 20, 2015

Solaris 10 crontab: queue limit reached

Symptoms:
cronjobs do not run at the scheduled time.
Error messages:
cat /var/cron/log
    ! c queue max run limit reached Thu Apr 19 10:20:00 2012
    ! rescheduling a cron job Thu Apr 19 10:20:00 2012
    ! c queue max run limit reached Thu Apr 19 10:20:00 2012
    ! rescheduling a cron job Thu Apr 19 10:20:00 2012
The problem:
        queue max limit reached

To solve:
1.
   Find the hanging child cronjobs and kill them:
     >ps -ef | grep cron
        root 18619     1   0 16:30:34 ?           0:00 /usr/sbin/cron
     >ptree 18619
      
    Then kill the hanging cronjobs.
 2.
    restart the cron service
     >svcadm restart svc:/system/cron
 3.
   raise the limit
    >vi /etc/cron.d/queuedefs
    for more information read the man page of the queuedefs

No comments:

Post a Comment