I''ve deployed 5-6 Rails sites using Apache/FCGI before. On one in particular I''m having major problems with there being zombie FCGI processes hanging around. Sometimes I can get up to 20 on one box, before I have to ssh in and kill them manually. Can anyone see a problem with this config file? <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi FastCgiIpcDir /var/lib/apache2/fastcgi FastCgiServer /var/www/edeals/current/public/dispatch.fcgi -initial-env RAILS_ENV=production -processes 4 -idle-timeout 60 FastCgiConfig -minProcesses 4 -maxProcesses 4 -processSlack 1 </IfModule> Also - I''m deploying via Capistrano. Have anything to do with it? -- seth at subimage interactive http://www.subimage.com/sublog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Nobody? Come on now....someone''s got to know something. On 8/31/06, subimage interactive <subimage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''ve deployed 5-6 Rails sites using Apache/FCGI before. On one in > particular I''m having major problems with there being zombie FCGI processes > hanging around. Sometimes I can get up to 20 on one box, before I have to > ssh in and kill them manually. > > Can anyone see a problem with this config file? > > <IfModule mod_fastcgi.c> > AddHandler fastcgi-script .fcgi > > FastCgiIpcDir /var/lib/apache2/fastcgi > > FastCgiServer /var/www/edeals/current/public/dispatch.fcgi -initial-env > RAILS_ENV=production -processes 4 -idle-timeout 60 > FastCgiConfig -minProcesses 4 -maxProcesses 4 -processSlack 1 > </IfModule> > > Also - I''m deploying via Capistrano. Have anything to do with it? > > -- > seth at subimage interactive > http://www.subimage.com/sublog/ >-- seth at subimage interactive http://www.subimage.com/sublog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
> Seth wrote: > > Nobody? Come on now....someone''s got to know something. > > On 8/31/06, subimage interactive <subimage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I''ve deployed 5-6 Rails sites using Apache/FCGI before. On one in > > particular I''m having major problems with there being zombie FCGI processes > > hanging around. Sometimes I can get up to 20 on one box, before I have to > > ssh in and kill them manually. > > > > Can anyone see a problem with this config file? > > > > <IfModule mod_fastcgi.c> > > AddHandler fastcgi-script .fcgi > > > > FastCgiIpcDir /var/lib/apache2/fastcgi > > > > FastCgiServer /var/www/edeals/current/public/dispatch.fcgi -initial-env > > RAILS_ENV=production -processes 4 -idle-timeout 60 > > FastCgiConfig -minProcesses 4 -maxProcesses 4 -processSlack 1 > > </IfModule> > > > > Also - I''m deploying via Capistrano. Have anything to do with it? > > >Ok I will give it a stab. I had noticed the zombie processes on my server (Apache 1.3+FCGI) as well. In my case it was due to logrotate. FCGI processes just didn''t go away automatically after logrotate runs. I had to modify the logrotate script (httpdlog) and added /bin/killall dispatch.fcgi to the postrotate section. Hope this will give you some ideas to troubleshoot with. Good luck, Long --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---