Try the -minat and -maxat attributes for the HTTP server instance.


On Wed, Jan 25, 2017 at 1:03 PM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

When a request comes in, Apache will route it to an idle job, if one
exists. If no idle job exists, a new job is spawned. I'd like to
pre-spawn a number of jobs to reduce the likelihood of a job needing to be
spawned on-the-fly.

I figure I can have a batch job the makes a number of HTTP calls in rapid
succession, but no need to reinvent the wheel if such capability already


-----Original Message-----
From: Bradley Stone [mailto:bvstone@xxxxxxxxx]
Sent: Wednesday, January 25, 2017 11:41 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Prestart CGI jobs?

Do you mean autostart specific HTTP server? Sure.

From memory, any HTTP server that doesn't specifically use AutoStart as
option for the instance will use the default from CHGHTTPA.

I personally set CHGHTTPA to Autostart(*NO) and then for each instance I
want to autostart specify it in the instance parameters (which are in
QUSRSYS file QATMINSTC member name of the HTTP instance).

-apache -d /www/conf -f bvstoolsv5.conf -AutoStartY


This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

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 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.