# FastCGI and Apache. Anybody know what can cause this error?

**URL:** <https://www.ruby-forum.com/t/fastcgi-and-apache-anybody-know-what-can-cause-this-error/87352>\
**Category:** Rails\
**Created:** [March 1, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/fastcgi-and-apache-anybody-know-what-can-cause-this-error/87352 "2007-03-01T23:18:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igotimac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/85f322/32.png) [@igotimac](https://www.ruby-forum.com/u/igotimac)\
**Post date:** [March 1, 2007, 11:18pm UTC](https://www.ruby-forum.com/t/fastcgi-and-apache-anybody-know-what-can-cause-this-error/87352/1 "2007-03-01T23:18:38Z")

</div>

Does anybody know what could possibly be causing my error?

Somehow action\_controller got into a state where it was retuning not  
found for about 4 out of every 5 requests, seemingly arbitrarily.

Has anybody else ever experienced this? I’ve heard that apache and  
fastcgi is not the best solution, do you think this is fcgi’s fault?  
Could it be a bug in my ruby code? Could it be a bug in my version of  
rails?

Restarting my site via:  
touch dispatch.fcgi  
seemed to do the trick

Here’s the error:

Processing SiteController#show\_page (for 74.94.128.241 at 2007-03-01  
13:58:26) [POST]  
Parameters: {“action”=\>“show\_page”, “url”=\>[“portfolio”, “design”,  
“print”, “fibonaccis-spirals-in-nature”], “controller”=\>“site”}

ActionController::UnknownAction (No action responded to show\_page):  
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/filters.rb:368:in  
`perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in`perform\_action\_without\_rescue’  
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in`perform\_action\_without\_rescue’  
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/rescue.rb:82:in  
`perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in`send’  
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/base.rb:408:in  
`process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in`process\_without\_session\_management\_support’  
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/session\_management.rb:117:in  
`process' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in`dispatch’  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi\_handler.rb:150:in  
`process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in`process!’  
/usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in`each’  
/usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in`process!’  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi\_handler.rb:23:in  
`process!’  
dispatch.fcgi:24
