Questions tagged [phusion-passenger]

Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
2
votes
1 answer

All Passenger processes suddenly hang - backtrace indicates reading POST data?

I've been having problems with my nginx/Passenger server where requests appear to be getting stuck, any subsequent requests don't complete, the queue gets up to its max, and the site starts serving out 503s. I have to restart nginx to get it going…
jb_314
  • 161
  • 6
2
votes
1 answer

Passenger Module Fails On AWS Gem With 'Class Variable Name' Error

Opening Disclaimer: I'm all kinds of newb to the technologies involved in this question. But the Googles, she no yield-a the fruit. I'm trying to deploy a Rails app into production. This app works fine using WEBRick. I am also using the AWS gem to…
2
votes
1 answer

Installing Phusion Passenger with Ruby 2.1.0

I'm following the guide for installing Passenger on Ubuntu, but when running sudo apt-get install libapache2-mod-passenger it tries to install Ruby 1.9.1. I already have Ruby 2.1.0 (installed via RVM). How can I make Passenger use the existing Ruby…
2
votes
1 answer

nginx doesn't work after reinstall?

I really have no clue at all where to start looking for an answer to this: I followed the instructions here to set up nginx and passenger for debian. (sudo apt-get nginx-extras passenger) Everything worked fine. Then I tried to set up ssl: created…
2
votes
1 answer

Nginx gives 404 error for rails app except the root

I have an Ubuntu 12.04 LTS VPS server that serves a static website with Nginx. I would like to set up a rails application that is accesible from the subfolder 'foo'. I use Passenger for serving the rails app That is how I configured…
nimportequoi
  • 23
  • 1
  • 4
2
votes
1 answer

How to install moinmoin-2 on dreamhost

How to install moinmoin-2 on dreamhost? I'm putting this here, so I can find it in the future. Maybe it is useful to other people too. I found it challenging because: it needs python2.7, and dreamhost has 2.4, 2.5, 2.6 it needs Flask, which I've…
Hugh Perkins
  • 1,075
  • 7
  • 9
2
votes
1 answer

Best practice for setting up RVM, Passenger/Apache with multiple Rubies and running as specific users?

My goal is to run ruby applications under different server users with potentially different versions of ruby. So i would have users that serve as the "hosting account" essentially. Document root/application files will live in their home directory…
prodigitalson
  • 213
  • 3
  • 9
2
votes
3 answers

Monitoring Rails on Apache app performance

What can I use to monitor my Rails on Passenger on Apache on CentOS web app? I'm looking for something simple that will let me see real-time info on average requests/sec and average request time. Ideally, it would let me view that historically.
Hafthor
  • 380
  • 2
  • 7
  • 13
2
votes
1 answer

No data received - Passenger, (52) Empty reply from server

I had setup Elastic Beanstalk for my rails application last month (Passenger). All was good.. but all of a sudden, my servers are not responding well. My application access gives 'No data received - Error 324 (net::ERR_EMPTY_RESPONSE): The server…
Divya Bhargov
  • 181
  • 1
  • 4
2
votes
0 answers

Passenger on apache hangs taking up all application processes with very high CPU IO Wait

I'm running a set of rails apps on a server under Apache/Passenger. One of the apps keeps getting into a state where the load on the machine gets very high and the machine becomes unresponsive with top showing that most of the CPU time is spent on…
Marc
  • 21
  • 1
2
votes
1 answer

Puppet master fails to run under nginx+passenger configuration as rack app, works when run as system service

I get the error [anadi@bangda ~]# tail -f /var/log/nginx/error.log [ pid=19741 thr=23597654217140 file=utils.rb:176 time=2012-09-17 12:52:43.307 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load --…
Anadi Misra
  • 527
  • 2
  • 9
  • 23
2
votes
1 answer

Apache2 graceful restart stops proxying requests to passenger

Issue with apache mod proxy, it stops proxying requests after a graceful restart but not all the time. It seems to happen only on a Sunday when a graceful restart is triggered by logrotate. [Sun Sep 9 05:25:06 2012] [notice] SIGUSR1 received. …
Rob
  • 247
  • 1
  • 3
  • 13
2
votes
1 answer

Apache2: mod_wsgi and passenger do not get along

I'm trying to run an instance of apache2 on an ubuntu server with two virtual hosts. One for redmine(phusion passenger), and one for ReviewBoard(mod_wsgi). I haven't created a single server configuration that will allow both of them to be available,…
2
votes
3 answers

Multiple Rails apps on same subdomain?

I recently decided to try out Rails. When working with PHP, I simply had all of my PHP projects in the same directory. For example, I may have http://ubuntu/app1, http://ubuntu/app2, etc. I created a subdomain for Rails (http://ruby.ubuntu),…
2
votes
1 answer

Cannot Install Phusion Passenger 3.0.13 with Nginx 1.2.1

I installed gem Passenger which installed 3.0.13. Then I executed passenger-install-nginx-module which is what the Nginx instructions on http://www.modrails.com said to do. It installs the latest stable version which is 1.2.1 according to the…