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



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.