Displaying 7 results from an estimated 7 matches for "processslack".
Did you mean:
processblock
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
...odule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
FastCgiIpcDir /tmp
FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20-initial-env RAILS_ENV=development -processes 2
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1
[ ... ]
<Directory /tmp/rubystuff/testapp/public>
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
Options Indexes +Exe...
2006 Apr 08
3
FastCGI issues
...he 2 server.
I seem to be having some trouble, and in spite of my best efforts to
find a solution, I could not.
I believe that I configured Apache correctly. I have included
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env
PATH="c:/ruby/bin;c:/windows/system32;c:/windows;C:/mysql/bin" \
-initial-env RUBYOPT=rubygems
in httpd.conf per this article:
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows
As soon as I try to access any controller the harddrive starts...
2006 Feb 03
0
FastCgiExternalServer vs. static/dynamic
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...
2006 Jan 19
0
Rails with Apache - application failed to start
...articles/2005/08/23/taming-fastcgi-apache2-on-windows
to make rails work with apache:
Install Apache2, latest stable version
Install the latest Ruby Installer for Windows
Install the latest Ruby For Apache
In httpd.conf I have:
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env PATH=e:/ruby/bin;d:/windows/system32;d:/windows \
-initial-env RUBYOPT=rubygems \
-initial-env
MAGICK_CONFIGURE_PATH=e:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.7.0-mswin32/config
When I browse http://127.0.0.1/ it shows ok, but when I click
http://localhost/rails_info/prope...
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
...3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default RAILS_ENV is null, and my env is like explained by Deme :
FastCgiConfig -maxClassProcesses 1 -MaxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env PATH="c:/ruby/bin;C:/oracle/ora817/bin;[snip]
-initial-env RUBYOPT=rubygems \
-initial-env MAGICK_CONFIGURE_PATH=C:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.2-mswin32/config
Also tried to add more process values.
This setup works fine, Webrick works fine also in -...
2006 Aug 05
0
RMagick and FastCGI on Windows
...d, I am running Apache2 and FastCGI (yes, I got it working.)
RMagick is not working however. The best lead I have is from here:
(http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows)
It says to try this:
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 -initial-env
PATH="c:/ruby/bin;c:/windows/system32;c:/windows;"
-initial-env RUBYOPT=rubygems \
-initial-env
MAGICK_CONFIGURE_PATH="c:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.2-mswin32/lib;"
No luck.
Can anyone give me any ideas to try or help me troubleshoot? I'...
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It
works fine when run as WEBrick ("ruby script/server").
As suggested in
http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php
, I tried running dispatch.fcgi on the command line. When I run it, no
matter where I run it, it outputs:
500 Internal Server Error
Both the #! (shebang)