StartCGI bug?

Dave <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAEw=R=vwnzba2EoOFKkn1m91yZDBy=+BohTWERTPOd83A_EGtA@mail.gmail.com>
Is this a bug ? StartCGI causes twice as many jobs as the number of jobs
specified to be spawned.



After adding StartCGI 1 to my server configuration, I’m now seeing the CGI
job when the server is started instead of after the first http request :

PGM-QZSRHTTP    SIGW

PGM-QZSRCGI     TIMW



However, I noticed that the first http request was as slow as it was before
I added StartCGI (when no CGI job was running before the first http
request).

After making the first and subsequent http requests :

PGM-QZSRHTTP    SIGW

PGM-QZSRCGI     TIMW

PGM-QZSRHTTP    DEQW

PGM-QZSRCGI     TIMW



I can see that the job used for the execution of the request is the one
following the QZSRHTTP job that is in SIGW mode. The other (the one
following the job in DEQW mode) is not used.

The same phenomenon can be observed with all the other servers instances
I’ve looked at. They are starting 5 CGI jobs, so I’m seeing 2 groups of 5
jobs, 5 of which aren’t being used.





*De :* David Foxwell <[email protected]>
*Envoyé :* vendredi 11 février 2022 15:28
*À :* David FOXWELL <[email protected]>
*Objet :* StartCGI



I just added  StartCGI 1 then tested and found that there was a job running
with the function PGM-QZSRCGI before I made my first http request. Then, on
posting the first request I noticed that the first response was as slow as
before I'd added StartCGI. I checked the jobs running and found I have 2
CGI jobs running. The first http request had simply caused a second CGI job
to be spawned.

I stopped and started the server again and then found that the first and
subsequent http requests were rapid. However there was still 2 CGI jobs and
the sec
------------------------------

*Expéditeur externe à l'organisation*

Cet e-mail provient d'une personne externe à votre organisation. Si vous ne
connaissez pas l'expéditeur et que vous n'êtes pas sûr que le contenu est
fiable, veillez à toujours examiner l’expéditeur, le sujet, le texte et *en
cas de doute, ne pas cliquer sur les liens ou les pièces jointes. *
-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.