Re: Can we control which CGI job is used?

Brad Stone <[email protected]> Fri, 19 Aug 2022 09:59:30 -0500
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAAGV8OfJqzvLJcGif6owwVyNF1Y481=gU-S9P4P1cGa7A4_9KA@mail.gmail.com>
Add a *PSSR to your program(s).  :)


On Fri, Aug 19, 2022 at 9:10 AM Dave <[email protected]> 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: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/web400
> or email: [email protected]
> 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: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.