Hi. I have a "typo" installed. After few days I have _many_ instance running (see http://penso.info/tmp/ps.txt ). Any idea where''s the bug ? -- http://penso.info/
Hi Fabien,
Are you using Apache or lighttpd? It''s normal to have a few fcgi
processes running at the same time. However, you seem to have a whole
bunch of them. If you''re using lighttpd, you can specify the minimum
and maximum number of fcgi processes started in the config file like
this (min- and max-procs):
fastcgi.server = ( ".fcgi" =>
("rails" =>
( "socket" =>
"/tmp/xxxxxxxxx.fcgi.socket",
"bin-path" =>
"/home/xxxxxx/sites/rails/public/dispatch.fcgi",
"bin-environment" =>
("RAILS_ENV" => "production"),
"min-procs" => 5,
"max-procs" => 5
)
)
)
//jarkko
On 13.5.2005, at 12:59, Fabien Penso wrote:
> Hi.
>
> I have a "typo" installed. After few days I have _many_ instance
> running (see http://penso.info/tmp/ps.txt ).
>
> Any idea where''s the bug ?
>
> --
> http://penso.info/
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Jarkko Laine
http://jlaine.net
http://odesign.fi
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Jarkko,> Are you using Apache or lighttpd? It''s normal to have a few fcgi > processes running at the same time. However, you seem to have a whole > bunch of them. If you''re using lighttpd, you can specify the minimum > and maximum number of fcgi processes started in the config file like > this (min- and max-procs):I use apache but it looks like the ruby processes are running by themselves and are not connected any more to the apache processes, so I wonder how much impact it would have if I specify a low max process in Apache (which I don''t want to do because it would impact all the virtuals). I think it looks like more a problem of the ruby processes not being stopped.