I've tried restarting apache and the cached pages still appear, so there must be a folder someplace. I don't have a 'public/cache', so what other places should I look? Is there a URL flag that could trigger this effect as well?
...
Hello -
I have installed Phusion Passenger 2.0.3 on Apache 2.2.3 on Centos 2.6.18-92.el5 #1 SMP and I am getting the following on the httpd error log
Cannot initialize Passenger in an Apache child process: Could not connect to the ApplicationPool server: Broken pipe (32)
I have removed the modules that Passenger conflicts with as per...
Is there a way to limit the amount of memory Phusion Passenger uses when serving up your app?
My host comes by and kills the process after I get a bunch of traffic and so I end up serving up blank pages. Is there anything I can do to say "hey don't use any more than 100Mb and only spawn 3 processes no matter how overloaded the site is"...
Hi All,
I just installed Apache 2, Phusion Passenger and Rails 2.2.2 on Centos 5.2 64 bit server.
My mysql database is latin1, and my setup works on php server, and my rails setup is also working besides character encoding with the data from database.
I have set
meta http-equiv="Content-Type" content="text/html;charset=iso8859-1" (omi...
I have a Rails 2.2 web app running on Passenger / REE
I set the default locale in config/environment.rb
config.i18n.default_locale = 'en-GB'
The first request seems to have no locale set in I18n.locale
If I the visit a page with a before_filter that sets I18n.locale every subsequent visit to any controller even if it doesn't have tha...
After I touch tmp/restart.txt and my app restarts, the first request throws an error, usually something about not finding Haml::Engine or some other gem. The second and subsequent requests all work fine. I was having this problem on Dreamhost which was running Rack 0.4.1 and Sinatra 0.3.3 but after moving to my own host and running a ne...
I'm having ruby instances from mod_rails go "rogue" -- these processes are no longer listed in passenger-status and utilize 100% cpu.
Other than installing god/monit to kill the instance, can anyone give me some advice on how to prevent this? I haven't been able to find anything in the logs that helps.
...
Hi,
I've been working on a Google Maps based Rails app and it was working fine until I installed Phusion's Passenger and now Google Maps API won't recognise the API Key which I generated for http://localhost:3000.
Now I'm running Passenger, the URL for my app is http://mygooglemapsapp.local. I've generated a Google Maps API key using ...
I read from some books that Phusion Passenger is the answer to easy Ruby on Rails deployment. But my friend said that first there was Apache + bunch of Mongrels, and then lighttpd, and then nginx, and now Passenger, and it seems endless...
he also said he uses dreamhost which uses Passenger, and sometimes he sees his request not being ...
To jump on the band-wagon of Phusion Passenger we've setup a staging server for a small rails app to test things out.
So far it has been very nice to use, it makes installing/configuring and deploying apps a breeze. The problem is the site we're using doesn't get hit very often and it seems to shut down the servers in the background. Me...
I deployed an rails(2.3.2) app on Passenger 2.2.2.
It crashes sometimes.
There's the error message.
Passenger encountered the following error:
The application spawner server exited unexpectedly: Broken pipe
Exception class:
PhusionPassenger::Railz::ApplicationSpawner::Error
Backtrace:
# File Line Location
0 /dh/passenger/lib/phu...
This question contains java and ruby.
I have a java program that I make a call to from ruby.
This code works under merb perfectly without any modifications.
This code will work under irb perfectly by setting $KCODE="UTF8".
For the life of me I can not get it to work under phusion passenger -- this is a problem since our production ser...
"The application has exited during startup (i.e. during the evaluation of config/environment.rb). The error message may have been written to the web server's log file. Please check the web server's log file (i.e. not the (Rails) application's log file) to find out why the application exited."
I'm getting the above error message when I ...
Phusion Passenger, running on Ubuntu Hardy Heron, is bombing on a require 'lingua/en/readability'. The plugin is installed in the plugins directory and works fine with script/server, just not Passenger.
Error Message:
source file that the application requires, is missing.
*
It is possible that you didn't upload your application file...
Hey dudes.i am having this problem while symlinking. I have successfully deployed a ruby on rails application on server and all the migrations are done. It is deployed with phusion passenger. The application is in /home/username/rails_apps/myapp. I want to symlink it to a subdomain in my site. the path to subdomain is /home/username/publ...
I am trying to get a maintenance page setup for a suburi deployment on Phusion Passenger for a rails app. All the documentation shows DocumentRoot ReWrite rules, which don't appear (don't think they should) rewrite on suburis. I tried hacking around on the ReWrite rules to point at the suburi, but I can't seem to get it to work. Has a...
Hi, i keep on getting ActiveRecord::MissingAttributeError errors randomly everywhere in my program. i have passenger (30 instances) running with nginx. i don't have this problem in dev. When i remove cache money it works fine in production.
this is the error msg:
ActiveRecord::MissingAttributeError (missing attribute: deposit_amount):
...
Hi,
I am getting so much pain with setting up rmagick on Passenger . I’m developing a rails web application that has image processing feature using imagemagick. the image processing feature is working 100% on development using mongrel, but once i deploy it to production which uses phusion passenger I get the error
uninitialized constan...
I'm using nginx with phusion passenger to run a rails app on an ec2 CentOS machine.
I have a pretty standard set up with nginx, rails, phusion passenger and ssl (I think). My nginx.conf is below. So far it has worked out fine except that every time 2 requests hit the server at the same time, a new rails instance is created to serve the ...
Hi dear stackers,
I'm trying to deploy some changes, and I just cannot see them as the URL I got sends me on a Phusion error page "Ruby on Rails application could not be started".
When I check the logs, I get something like this:
Exception ArgumentError in PhusionPassenger::Railz::ApplicationSpawner (syntax error on line 36, col 1: `...