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

Brad
www.bvstools.com

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


Thanks




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

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

Brad
www.bvstools.com


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.