similar to: rails threads / contexts / fastcgi - can someone explain ???

Displaying 20 results from an estimated 30000 matches similar to: "rails threads / contexts / fastcgi - can someone explain ???"

2006 Jul 21
6
Troubleshooting tips for getting Apache/RailsApp/Dreamhost
Hi, Background: I''m currently stuck getting my basic rails application working on dreamhost. I have gone throught the doco. Note that I can via my unix account run "ruby script/server" and get the application working via webbrick. The problem I am having is that trying to go to the app via the normal apache approach my browser just sits and spins with nothing coming
2006 Aug 15
3
Versions Compatibility and RAILS_GEM_VERSION
Is there any problem with versions compatibility? A project I started with 1.1.2 cannot run with 1.1.4. Dreamhost recently updated their rails from 1.1.2 to 1.1.5 and 1.1.6. Needless to say I got "Application Error". However when I changed RAILS_GEM_VERSION to either 1.1.5 or 1.1.6, it works. (Haven''t made a thorough checking though.) Here it seems there is no
2006 Jan 12
15
Production deployment on Dreamhost?
Does anyone have any experience with production deployment of RoR on Dreamhost? Is it now stable enough? Any tips and tricks? Thanks a lot, Tom
2006 Jul 29
6
why is webrick running in development mode?
Hi, I changed my environmnet.rb to say PRODUCTION mode, however when I start up a server "ruby scripts/server" a) it runs in development mode (via the logs) - any ideas why? b) why does webbrick run - I thought by default now it was supposed to be lightty Tks -- Posted via http://www.ruby-forum.com/.
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but
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
2006 Jan 13
4
FastCGI processes sometimes ''hang''
I am running a RoR application on Apache 1.3/RedHat 7.3/MySQL 3.1.23 (Old versions I know, but upgrading to latest versions are not practical for a number of reasons). There are 5 RoR FastCGI processes configured using FastCgiServer. What I am finding is that, after a while, some of the FastCGI processes seem to ''hang''. They no longer process requests, and the only way to
2006 Feb 15
12
Does your *shared* hosting account work without errors?
Does your *shared* hosting account work without errors? I''m interested in both positive and negative reports. If you are willing, please contribute - name of the hosting service - how long you have used them - your experience ("flawless!", "it''s crap!") You *do not* need to reply saying your VPS service works great. This is about *shared* hosting
2006 Feb 22
1
[Tip] Keeping fastcgi in memory
There has been discussion about using wget and curl to ping a server every 5 minutes or so to keep the fastcgi processes alive. I didn''t find a command line for this so I thought I''d post one. Put this in your crontab using crontab -e or your favorite other method: 0-59/5 * * * * curl -r 0-99 http://somedomain.com>/dev/null 2>/dev/null This hits the default page of
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
Sorry to trouble the list with another Dreamhost problem, but looking through the archives I see nothing that can solve my problem. I have installed my app as per http://wiki.dreamhost.com/index.php/Ruby_on_Rails#Quick_Start_Guide_August_2006 with a symbolic link from my_domain.tld in ~/ to ~/apps/residence/public/ I get the Rails welcome screen. I have uploaded my app directory etc, and
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi, Just trying to get my first database based rails app up on dreamhost.com. The app was working prior to putting in mysql DB usage but I''m just stuck on getting the app working with mysql. I''ve already created the database and can connect to it manually. Below is the error I get after running the rake migrate. It worked OK on my home PC environment. I did change the
2009 Sep 25
8
Cheapest Rails Hosting where they give you full access to Apache (to load modules etc)???
any pointers / suggestions re cheapest Rails hosting where they give you full access to Apache (to load modules etc)??? Can be a shared platform, however not sure if there is a shared platform type hosting service where they do give you such access?
2006 Jan 26
2
Run fastcgi in Apache 1.3, or proxy through lighttpd?
I''m working with a guy who has Apache 1.3 installed on his server, and it''s not an option to simply use lighttpd for a Rails application I''m helping him with. I''ve seen that Apache 2 apparently is crappy when it comes to fastcgi, but 1.3 isn''t so bad. I can then either just run my app straight in Apache, or I could proxy it through to lighttpd. Which
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems. The app is running with edge rails and I''m currently getting the dreaded ''Rails application failed to start'' white screen when trying to access it. I''ve gone through all the ''gotchas'' and troubleshooting docs at Dreamhost and the rails wiki to no avail.
2005 Dec 18
5
restarting fastCGI process
Hi, I am very new to this so please go easy on me... I am trying to deploy my app on dreamhost and I seem to be having problems getting it working. One of the troubleshooting items on the wiki states: Rails apps in production mode do not reflect changes made after they start running. So, if you found a bug, fixed it and nothing appeared to happen--this is probably because you
2007 Feb 18
1
FastCGI without ScriptAlias
Hi, I made some experiments with the sample blog application, my index.fcgi file contains the following: require ''camping/fastcgi'' Camping::Models::Base.establish_connection( :adapter => ''sqlite3'', :database => ''database/camping.db'' ) Camping::FastCGI.serve(''blog.rb'') Without ScriptAlias the application works fine,
2006 Jan 18
7
FastCgi issue
Hi, I know that Apache2 + fastcgi is sometimes difficult to setup, but I was wondering if anyone has come across this error and if yes what did you do to resolve it? [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115] FastCGI: comm with server "/var/htdocs/ot/public/dispatch.fcgi" aborted: idle timeout (120 sec) [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115]
2006 Jul 26
3
Capistrano - freezes & I don''t get prompted for password??
Hi, Just having a problem trying to get capistrano working to the remote server. I''ve set things up per the below to links, but when I enter "cap setup" (or "rake remote:exec ACTION=setup" - I assume they are the same) then things FREEZE and it never asks me for a password. I have to kill the "cmd" window. Is there a way to get some level of trace or