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



You're right that the main multi-threaded HTTP server job routes CGI
requests to "available" CGI Jobs, normally. But you also have the option of
coding for persistent CGI. See the manual for examples.


On Fri, Aug 19, 2022 at 9:00 AM Brad Stone <bvstone@xxxxxxxxx> wrote:

Add a *PSSR to your program(s). :)


On Fri, Aug 19, 2022 at 9:10 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Hi,

If my CGI program crashes, I thought that the nexavailable CGI job would
be
used for further http requests. Apparently not, they return with an error
http 500.
Is there anything that can be done to change this behaviour?

My http.conf :
StartCGI 5
#HotBackup Off

So I have 2 groups of 5 CGI jobs each running program QZSRCGI. The first
job remains in MSGW condition. I believe that if another request was made
from another client while the first job was still occupied, then the next
available CGI job would be used.

What condition needs to be met so that the request uses the instances 2
to
5 of my server jobs?
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


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