search for: minprocesses

Displaying 9 results from an estimated 9 matches for "minprocesses".

Did you mean: maxprocesses
2006 Jul 28
7
Uploading 2+ files simultaneously
...e upload page just hangs... I''m running... - ruby 1.8.4 (2005-12-24) [i686-linux] - rails 1.1.4 - red hat el 4 - apache - fcgi (0.8.7, 0.8.6.1) - firefox 1.5.0.5 - httpd.conf <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCGIConfig -minProcesses 2 </IfModule> thoughts/suggestions? -- Posted via http://www.ruby-forum.com/.
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
...tpd.conf: <IfModule 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] Opt...
2006 Apr 08
3
FastCGI issues
...ows with an Apache 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 h...
2005 Jun 30
4
A Memoir on FastCGI and Apache
...ote that the backslashes in the above FastCgiServer line should be removed--those three lines are really one line.) - An example dynamic configuration: <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCgiConfig -restart -minProcesses 5 -maxProcesses 50 \ -initial-env RAILS_ENV=production -idle-timeout 360 \ -pass-header HTTP_AUTHORIZATION </IfModule> As of this writing, I have been unable to get the dynamic processes to stay running (they die mysteriously and do not get restarted even though th...
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/rubystu...
2006 Jan 19
0
Rails with Apache - application failed to start
...dema.ruby.com.br/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...
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
...by for Apache 1.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 work...
2006 Aug 05
0
RMagick and FastCGI on Windows
...leading. For prod, 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 tro...
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)