From: Saynatkari Date: 2005-04-25T03:10:42+09:00 Subject: Re: apache /fcgi: prevent starting of multiple fcgi processes Le 24/4/2005, "benny" a �crit: >benny wrote: > >> hi, >> >> I am using ruby-fcgi (http://sugi.nemui.org/prod/ruby-fcgi/) with apache >> 1.3x. >> >> under heavy load, apache begins to start other processes of my >> fcgi-script. since I am caching some basic code in this main process, I >> want every request to be handled by the same fcgi-script. > >errr! meant to say "I want every request to be handled by the same >*process*" Apache directives should do the trick: FastCgiServer -processes 1 FastCgiConfig -minProcesses 1 -maxProcesses 1 See http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html I assume you have some state you are trying to maintain? In general, I would have to waggle my finger in warning against such practice :) I will hopefully have my scgi code finished soon, I was thinking about including an option to run a persistent sort of an app on it. We shall see. >benny E -- template void quack(duck& d) { d.quack(); }