Forum: Ruby on Rails FastCgiExternalServer vs. static/dynamic

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jim N. (Guest)
on 2006-02-03 21:54
(Received via mailing list)
I'm trying to switch to the "external" fcgi method.

In httpd.conf, this works:
FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20 -processes 4
FastCgiConfig -maxClassProcesses 2 -maxProcesses 2 -minProcesses 1
-processSlack 1

This fails with an error (the public/500.html page is returned):
FastCgiExternalServer   "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20 -host localhost:19999

For the external, I am also starting
$ cgi-fcgi -start -connect localhost:19999
/tmp/rubystuff/testapp/public/dispatch.fcgi 2

But there are no other changes to the configs.

$ ps ax  | grep fcgi
  6749 pts/0    S      0:03 /usr/bin/ruby
  6750 pts/0    S      0:03 /usr/bin/ruby
  7097 pts/1    S+     0:00 /usr/bin/vim ./public/dispatch.fcgi
  7166 ?        S      0:00 /usr/sbin/fcgi- -k start

$ netstat -an | grep 19999
tcp        0      0   *

Could anyone suggest a possible remedy?

Thanks very much,
This topic is locked and can not be replied to.