Re: How to get Apache to use simultaneous connections to my fcgi app?
David Birnbaum <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 20 Aug 2007, joe-QzMH92Wc/[email protected] wrote: >> You may find `grep -w FCGI_GET_VALUES mod_fastcgi-2.4.2/*.c` >> illuminating. >> >> In short, the only way to handle multiple requests simultaneously >> with mod_fastcgi is to have it start multiple instances of your >> application. > > Doh! And in external mode, it doesn't start any instances of your > application. I'm using external mode because it's the only way I can > find to make mod_fastcgi to use TCP sockets, rather than Unix sockets > (which I don't have easy access to in my environment). > > So, is it the case that mod_fastcgi can only make multiple requests > simultaneously for local apps communicating over Unix sockets? No - the regular apache proc manager (and the applications we use) do it just fine over TCP applications. As far as I can tell, all the applications on a single machine just use a mutex and do accept() calls one after another. How are you setting up your application to handle multiple connections at once? David. ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/