Problems with fastcgi, apache2 and debian sarge

Apache conf:

FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60

<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production

    SuexecUserGroup gissmoh gissmoh

    <Directory /var/www/gissmoh.de/public/>
            Options ExecCGI FollowSymLinks
            AddHandler cgi-script .cgi
            AllowOverride all
            Order allow,deny
            Allow from all
  </Directory>

production.log:

/log# tail -f production.log
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:112:in
session' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:instale_session_check!’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/cgi_process.rb:108:in
session' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:918:inassign_shortcuts_without_flash’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/flash.rb:141:in
assign_shortcuts' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:402:inprocess_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:inprocess’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
`dispatch’
/var/www/gissmoh.de/public/dispatch.cgi:10

Apache error.log:

[Wed Aug 16 13:25:02 2006] [warn] FastCGI:
server “/var/www/gissmoh.de/public/dispatch.fcgi” has failed to
remain running for 30 seconds given 3 attempts, its restart
interval has been backed off to 600 seconds
[Wed Aug 16 13:25:02 2006] [warn] FastCGI:
server “/var/www/gissmoh.de/public/dispatch.fcgi” has failed to
remain running for 30 seconds given 3 attempts, its restart
interval has been backed off to 600 seconds
[Wed Aug 16 13:25:02 2006] [warn] FastCGI:
server “/var/www/gissmoh.de/public/dispatch.fcgi” has failed to
remain running for 30 seconds given 3 attempts, its restart
interval has been backed off to 600 seconds

The website is very, very slow!
Any hints to boost it up?

use mongrel_cluster with apache 2.2 and mod_proxy_balancer. that
booooosts

2006/8/16, Jochen K. [email protected]:

    CustomLog       /var/log/apache2/gissmoh.de/access.log
            Order allow,deny

`session’
/lib/action_controller/flash.rb:141:in
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
[Wed Aug 16 13:25:02 2006] [warn] FastCGI:
Any hints to boost it up?


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Michael S. [email protected]

www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs