?The problem: I have a dataqueue that containes requests to be processed. Doing this one by one results in a typical bottleneck so I thought prestart jobs would come to the resuce, afterall I know that I can specify an initial number, an additional number, a maximum number and even how many uses my job could handle.

I therefore defined my CL (which reads from a dataqueue, processes the request and loops) as a PJ with an initial number of 3 jobs, 2 additional ones and 5 uses. Initially I fired 3 requests and these got nicely balanced over the 3 running jobs, but great was my surprise when I fired 100 requests.

In that case, no additional jobs got started despite that the 3 jobs were busy, neither did any of the jobs ended after they processed 5 requests ? Googl'ing the web I found nothing about how to write PJ programs, the only thing I can find is about the settings.

One thing I could find is that such a job is meant to be in PSRW... but how do I do this ? And how make I handle the system the rest of it ?

Kind regards,


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.