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 <david.e.foxwell@xxxxxxxxx>
*Envoyé :* vendredi 11 février 2022 15:28
*À :* David FOXWELL <ext.dfoxwell@xxxxxxxxxxx>
*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. *

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.