Re: StartCGI bug?

Nathan Andelin <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CACCOLZ=J9K_KZtOAN_Fm=V0pJgYSXKs0QFFFehsx8EUD90g3jQ@mail.gmail.com>
>
> I'm not sure if concurrent requests are made asynchronously or not.


If logging is configured for your HTTP server instance, you can check the
timestamp of each request to see whether multiple requests are made in say
< 1 second. The HTTP server automatically starts new CGI Jobs under load,
whenever a new one is needed.

StartCGI 5 is indicated and there are 2 pools of 5 CGI jobs each time.


By "2 pools", I assume you're referring to 2 HTTP Server Instances.


> When the server is started
> there is 1 pool of 5 jobs, then after the first request there are 2 pools
> of 5.
>

That doesn't make sense to me.


> why is the first request taking so long


I would guess some sort of resource contention during activation.


> why do I have
> twice as many jobs running afterwards as indicated in StartCGI?


Again, that doesn't make sense to me. You seem to be saying that there are
2 pools of CGI Jobs for a single HTTP Server instance. What does pool mean,
for you?
-- 
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.