I'd start here:
https://www.ibm.com/developerworks/community/wikis/home?lang=es#!/wiki/IBM%2
0i%20Technology%20Updates/page/CGI%20frequently%20asked%20questions
If you have Zend installed look in /www/zendsvr6/conf at the fastcgi.conf
file. It sets the number of instances that get started, which is a direct
answer to your question but only in a Zend environment.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Justin Taylor
Sent: Wednesday, January 25, 2017 1:03 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Prestart CGI jobs?
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.