Operating System - HP-UX
1833875 Members
1530 Online
110063 Solutions
New Discussion

many job queue definitions

 
Franky Leeuwerck_1
Regular Advisor

many job queue definitions

Hello,

We are in the process of consolidating several sites on 1 machine.

Does anyone has good or bad experience with defining many job (10-20) queue entries in the /var/adm/cron/queuedefs file ?

Franky
2 REPLIES 2
Michael Steele_2
Honored Contributor

Re: many job queue definitions

Ed Sampson
Frequent Advisor

Re: many job queue definitions

Yes, we once tried to use it for batch processing and prioritizing of large long running jobs. Some cravats:
1) if you define the queue concurrency as 2 say, and you suddenly release 10 jobs, the 8 non-running jobs will generate requeue messages. The will eventually be picked up by cron on another pass of the queue, but the order will be shuffled around.
2) You need to keep an eye on the maxuprc that
cron has active at any one time. You can overload cron if you have a lot of long running cronjobs.
3) Cron loads the schedule tables in core and
schedules them from there. It's possible that
you could hit a maxdsiz limit for cron, with
a lot of entries.

Other than that it works great.