Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Troubleshooting  >  Thread
   
 
FCGI leaves processes running
 
robot1125
Posted: 29 May 2008 01:18 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2008-05-29

Running tracks as a regular cgi is too slow on my hosting server,
so I setup fcgi.  Unfortunately, it’s leaving processes running and
eventually I can’t ssh onto the box because I’ve used up my
concurrent process quota.

I know the idea of fcgi is to keep processes running, but I’m
not sure of the rules as to how they are reused vs launching
new and when procs should timeout and exit.

Ideas?

-Robot

Profile
 
thomasn
Posted: 29 May 2008 09:45 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  10
Joined  2008-05-27

Robot,

FCGI (I presume Apache+FCGI) has problems with Rails, and is no longer recommended. The best options on shared hosting are probably:

* Mongrel or Thin clusters behind an Apache frontend - fine on a VPS but uncommon on shared hosting
* Litespeed - great, but uncommon, not open source
* nginx+FCGI - some good reports, but very uncommon
* Apache+Passenger (aka mod_rails) - a newcomer, but very promising indeed, see http://weblog.rubyonrails.org/2008/4/11/passenger-mod_rails-for-apache-launches

All of these are pretty unusual for “standard” web hosts, if you are able to you might think about using a host that specialises in Rails and offers Litespeed or Passenger.

If this is impractical, how about a tool like monit or god - http://www.rubyinside.com/god-extensible-process-monitoring-framework-559.html - to monitor your processes? Or maybe use a hosted service like http://tracks.tra.in/ ?

Thomas.

Profile
 
   
 
 
‹‹ Export/Import      Feed "Done in Last 7 Days" broken? ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.0946 seconds

Atom Feed
RSS 2.0