Re: process manager
Marc Prewitt <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I don't really think it's doable or needed. The process manager is a fairly simple process which forks off applications as needed (for dynamic configurations) or at startup (for static configs). The only real work it does is make sure those apps are restarted if needed which doesn't take much work. Are you concerned that load is not spread out because of only one process manager? If so, not to worry, Mac OS X is a unix system and it doesn't really matter if the fastcgi processes are started by one process manager or many. They are still running as independent processes and will be scheduled to run based on the overall load of the machine, not the load of the parent process. If you want to spread out load. The recommended configuration is to run your cgi's as external fastcgi processes running on another box. This way the webserver is only serving web pages and passing application requests to the app server box. If you can ellaborate a little more about the problem you are trying to solve, I can probably be a little more helpful. Your question below doesn't really look like a problem except that your box may be getting overloaded. Jim Hunt wrote: > Thank you for the quick answer. Is it possible to change this so it > operates under all httpd processes, or is this not a feasible change to > make > > Jim > On Feb 13, 2005, at 12:58 PM, Marc Prewitt wrote: > >> Yes, the apache fcgi process manager (mod_fastcgi) is running on one >> httpd process. It is responsible for running all the fcgi processes >> and will show up as the parent for any fcgi processes. This is true >> for both dynamic and static configurations. >> >> Jim Hunt wrote: >> >>> Just a quick question: >>> When using dynamic setup should all the fcgi processes be running >>> under one httpd process? >>> This is Mac OS X and the manage shows multiple httpd processes which >>> increase with load and all of the fcgi processes are under one of >>> these. >>> Any info is appreciated. >>> Jim >>> ---------------------------------------------------------------------- >>> -- >>> ___________________________________ >>> fastcgi-developers mailing list >>> http://fastcgi.com/fastcgi-developers/ >> >> > > ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/