similar to: RMagick and FastCGI on Windows

Displaying 20 results from an estimated 1000 matches similar to: "RMagick and FastCGI on Windows"

2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears, Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a running FastCGI Rails 1.0 environment with : - Win XP "Professional" (just brand name) - Apache 2.0.55 (msi) - Ruby 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
2006 Jan 19
0
Rails with Apache - application failed to start
Hi, I followed the instructions in the article http://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
2006 Apr 08
3
FastCGI issues
I am attempting to get Rails running on Windows 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
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi, I''ve generated a new Rails app and dummy controller "foo" with method "hello". I am trying to run it under Apache/2.0.53 with fastcgi, and getting the index.html page when I hit http://localhost/foo/hello, or for any other request (http://localhost/kdjfslkfjs). Also, there is nothing in the rails logs, and no errors in the apache logs. Relevant bit of
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
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to rise to the stature of a true system administrator in the last couple of days (haha). I''m trying to understand how all of the pieces to this apache/fastcgi deployment fit together. Here''s what I''ve learned so far: * You need a separate FastCGI server for each Rails application on your
2005 Dec 23
1
FastCGI and large file uploads
I use dreamhost for my hosting provider, and I am working on app where it requires large files (max 10 MB) to be uploaded to the server. As of right now the fastcgi processes are configured with: FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production \ -idle-timeout 120 -maxClassProcesses 5 -killInterval 300 My problem is that I try and upload a file via the web that is around 5 MB
2006 Jan 11
3
Idle Apache+FastCGI sleeping?
Wondering: Does Apache shut down inactive FastCGI processes if it doesn''t get any requests for a while? My app works fine if it''s being used regularly, but it will respond very slowly to the first request after an hour of zero traffic. Is there a way to keep FastCGI ready all the time, even when there haven''t been any requests for a while? We''re deploying
2005 Aug 11
0
fastcgiconfig in .htaccess?
Digging through some mailing list archives, I found a solution[1] (maybe) to my occasional fastcgi deaths, which return 500''s. Since I don''t have access to httpd.conf on my hosted server, is it possible to modify my .htaccess file in order to increase the idle-timeouts for fastcgi? What is the syntax? I tried adding the line: FastCgiConfig -idle-timeout 1200 -maxClassProcesses
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The httpd.conf has : <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /root/zs/public/dispatch.fcgi -processes 2 FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 2 -killInterval 300 </IfModule> The dispatch.fcgi is the default provided in the
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different client machines)... the 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
2005 Sep 28
2
fastcgi timeout settings
I have few lengthly processes in my application, and I''m getting fastcgi timeout after 30 seconds. From apache log: FastCGI: comm with (dynamic) server "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji I tried to set timeout in apache conf by: <IfModule> FastCgiConfig
2006 Jan 03
1
Max Execution Time with fastcgi (and in general). Getting it done.
The purpose of this email is not to argue that there is a need to have the option of killing a single response if it takes longer than say 30 seconds. This is a worthwhile feature, years of work in php has shown me that it is. Thanks to a bit of help from various source in the community, I''ve been able to find something that works with fastcgi and surely should work with webbrick.
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)
2010 May 06
0
how to find installed gem is rmagick 2 or rmagick 1?
Dear Friends, I need to install rmagick2. when i give gem install rmagick, rmagick 2.13.1 is installed. But how do i find whether its rmagick 1 or rmagick 2? Is is the series starts with rmagick 2.... belongs to rmagick 2 & series starts with rmagick 1.... belongs to rmagick 1? Thanks in advance Regards, Jose Martin -- Posted via http://www.ruby-forum.com/. -- You received this
2005 Dec 30
0
can''t kill infinite loop with FastCgiConfig directive
FastCgiIpcDir /www/fastcgi FastCgiConfig -idle-timeout 30 I have that right in the root level of my httpd.conf (1.3) i made an inifinite loop in rails, and its not killed at all. Any ideas? ------------------------------------------------------------------------ Hunter Peress hunterp-hceJc2YFNylFcjXmduoLkw@public.gmane.org Web Programmer The Santa Fe New Mexican, Inc. www.freenewmexican.com
2006 Apr 17
0
RMagick installation error.
Hi everyone, I don''t know if it''s the right place to ask you this question. Anyway, now I''m trying to install RMagick, under Ubuntu Linux, in order to have an image resizing using RubyonRails. I followed the description how to install RMagic: http://rmagick.rubyforge.org/install-linux.html Everything works, as it''s written, but during the last point (Step 3:
2007 Nov 22
0
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2. I have downloaded the Windows binary version of RMagick from the RubyForge page. Specifically, I have downloaded: 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip I have removed any older versions of RMagick using: gem uninstall RMagick I have updated my version of rubygems. I
2007 May 13
0
Problems with RMagick libraries
Hi, I''m trying to use File_colum plugin (rails/../plugin/trunk) with RMagick. When I use in the model: class Usuario < ActiveRecord::Base file_column :image ...rest of the code.... end There''s no problem, images are uploaded and all is working ok. The problem comes when I try to use: class Usuario < ActiveRecord::Base file_column :image, :magick => { :geometry =>
2007 Jun 05
1
My RMagick sucks under windowsXP
Hi,I plan to use rmagick for my rails app,however it can not work normally under windowsXP platform: I have installed ruby1.8.5,and then rmagick-1.14.1 and ImageMagick-6.3.0-7-Q8-windows-dll,which can be got from the url: http://rubyforge.org/frs/download.php/15132/RMagick-1.14.1_IM-6.3.0-7-Q8.zip after my installation,and when i run a rmagick test under