excessive dynamic application instances with mod_fastcgi

Anders Geffen <anders.geffen-/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
I am developing dynamic applications with mod_fastcgi-2.4.6 with Apache 2.2..11. Some of my fastcgi invocations are fairly long running, and I am seeing a behavior that I do not understand. While my dynamic application is processing a request, mod_fastcgi starts up additional instances of the application - one instance approximately every 3 seconds – even if there are no other pending http requests. It starts up new instances until maxClassProcesses is reached or until the request is complete, whichever comes first. It seems to me that mod_fastcgi should only start application instances if there is one or more pending request that is waiting for an application instance, or perhaps it could create a small (configurable) number of idle instances so that they will be available when needed.
 
Is there any way to configure mod_fastcgi to create application instances only if there are pending requests, or to tell it to create at most n idle application instances (where n is less than maxClassProcesses)?

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
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.