× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Can you post the prestart job entry and job description?

I think your jobs should stay in DEQW rather than PSRW status. PSRW implies
a multithreaded job wait rather than a more traditional job.

We do this all the time and don't have any issues.

Why kill the job after 5 uses? It would seem to be overly expensive to
constantly be creating new prestart jobs.

--
Jim Oberholtzer
Agile Technology Architects


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul
Nicolay
Sent: Tuesday, September 13, 2016 7:56 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Prestart jobs... how does it work ?

Hi,

?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,

Paul
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.