1753416 Members
5954 Online
108793 Solutions
New Discussion юеВ

Re: Problem with Cron

 
ITRC forums_2
Advisor

Problem with Cron

All,

We are using HP-UNIX 11.

We have many cron jobs and all sudden few cron jobs are not picking by crond daemon. I checked cron logs /var/adm/cron/log and found these line.

c queue max run limit reached Thu Mar 4 14:01:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:01:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:01:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:01:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:01:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:01:01 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:01 EST 2010
! c queue max run limit reached Thu Mar 4 14:01:01 EST 2010
! rescheduling a cron job Thu Mar 4 14:01:01 EST 2010
! c queue max run limit reached Thu Mar 4 14:02:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:02:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:02:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:02:00 EST 2010
! c queue max run limit reached Thu Mar 4 14:02:00 EST 2010
! rescheduling a cron job Thu Mar 4 14:02:00 EST 2010
What are these lines?

We are running jobs manually this time. Can anybody suggest me what we can do to resolve this issue.
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: Problem with Cron

Hi:

You have exceeded the maximum number of simultaneously allowed tasks for the (c)rontab queue. See:

http://docs.hp.com/en/B2355-60130/queuedefs.4.html

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: Problem with Cron

HP-UX 11.? Your uname -a output will tell you exactly which version you have

There was a patch for 11.0 that I had to apply in a somewhat similar situation:

http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_27141&sel={hpux:11.00,}&BC=main|search|

Take a look at those symptoms if you're at 11.0. If you're at 11.11 or higher - forget it.


Pete

Pete
Scott Lindstrom_2
Regular Advisor

Re: Problem with Cron

We had this just a few weeks ago where proceeses initiated by cron where not terminating (as they should have been).
Amitav
Frequent Advisor

Re: Problem with Cron

On your /var/adm/messages file some cron jobs just don't run,
you need to increase the number of cronjobs that can be run
simultaeously in the /etc/cron.d/queuedefs file. On the line that
starts with "b".

Do man queuedefs for more info...!!
Dennis Handly
Acclaimed Contributor

Re: Problem with Cron

>Amitav: /var/adm/messages file & /etc/cron.d/queuedefs file.

You man /var/adm/syslog/syslog.log and /var/adm/cron/queuedefs for HP-UX.
Amitav
Frequent Advisor

Re: Problem with Cron

Yes Handley, u r right...!!