For the moment I have a rails app that run on Apache with fastcgi. After
some hours i use the application the fastcgi go down and so the web app
is so slow (with cgi).
The error in RAILS_ROOT/log/fastcgi.crash.log is:
[23/Mar/2006:09:11:23 :: 5668] Ignoring unsupported signal USR1.
[23/Mar/2006:09:11:23 :: 5668] Ignoring unsupported signal USR2.
[23/Mar/2006:09:11:23 :: 5668] Ignoring unsupported signal HUP.
[23/Mar/2006:09:11:23 :: 5668] starting
Not enough info for me to tell right off the bat, but could you please
paste
the piece of your Apache configuration for your Rails application? I’ve
got
the same configuration running for over five weeks without a problem.
Not enough info for me to tell right off the bat, but could you please
paste
the piece of your Apache configuration for your Rails application? I’ve
got
the same configuration running for over five weeks without a problem.
The configuration in http.conf is this for my application.
Then the application for the moment is in the development enviroment.
Alias /fatturails/ “C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/”
<Directory “C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public”>
AddHandler fastcgi-script .fcgi
Options +ExecCGI
AllowOverride All
Allow from all
Order Allow,deny
I have also found this errors in the log error of Apache. Could be this
the reason that degrade the speed of Apache?
[Thu Mar 23 14:23:15 2006] [error] [client 192.168.0.186] FastCGI:
server “C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/dispatch.fcgi” stderr:
C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/…/config/…/app/controllers/invoice_controller.rb:77:
warning: don’t put space before argument parentheses, referer: http://acserver:82/fatturails/invoice/show
[Thu Mar 23 14:50:07 2006] [error] [client 192.168.0.186] File does not
exist: C:/Programmi/Apache Group/Apache2/htdocs/images, referer: http://acserver:82/fatturails/client
Sure…
You’re not running in Production mode (at least, not according to your
configuration file).
Try this and see if it clears matters up. fcgi does not run well in
development mode (default unless you altered environment.rb to force
production mode).
Sure…
You’re not running in Production mode (at least, not according to your
configuration file).
Try this and see if it clears matters up. fcgi does not run well in
development mode (default unless you altered environment.rb to force
production mode).
No you should only need to set the environment in httpd.conf.
You WILL have to restart Apache if you want to change your models or
controllers when you run in Production mode (but that’s usally fine…
production mode is meant to be stable, unchaning.)
No you should only need to set the environment in httpd.conf.
You WILL have to restart Apache if you want to change your models or
controllers when you run in Production mode (but that’s usally fine…
production mode is meant to be stable, unchaning.)
No you should only need to set the environment in httpd.conf.
You WILL have to restart Apache if you want to change your models or
controllers when you run in Production mode (but that’s usally fine…
production mode is meant to be stable, unchaning.)
Thanks so much Brian.
–Andrea R.
A last question.
Now i use this line of code for the configuration