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
1
vote
2 answers

Redmine suddenly stopped working. How to troubleshoot?

I was a happy user of redmine for like 6 months. My plan was to set it up and never update anything in order not to deal with dependencies and stuff. I'm using Ubuntu server 10.04 (Apache/Passenger) with disabled all kinds of updates. This morning I…
1
vote
2 answers

Setting up apache for rails on ubuntu

I have apache with the following 000-default file for my app ServerName www.yourhost.com DocumentRoot /somewhere/public AllowOverride all Options -MultiViews …
Joseph Le Brech
  • 267
  • 1
  • 2
  • 6
1
vote
1 answer

Nginx Passenger returning 500s for every request

Up until this point I've been using the standalone passenger (nginx-based) for my application. Everything works fine. I've decided to move to an nginx based solution since I need to be able to support multiple sites. I've followed the usual guides,…
Ian Bishop
  • 113
  • 6
1
vote
2 answers

passenger-memory-stats - root privileges

When I run 'passenger-memory-stats' on my ubuntu server as root I get the following error : -bash: passenger-memory-stats: command not found If I run this command as a user ('deploy' in my case) I get the passenger results but I get the following…
Peter
  • 131
  • 6
1
vote
1 answer

ModRails for Apache2 Setup: Failing to load?

I'm trying to perform a fresh install of Ruby on Rails running with Apache2/Passenger on Ubuntu. I was able to successfully install apache2, rvm, ruby, rails and passenger, the latter part following this tutorial. All the installations went…
David Elner
  • 363
  • 2
  • 5
  • 12
1
vote
1 answer

Why do I need to specify passenger_enabled twice?

I'm trying to set up my nginx.conf to use the asset pipeline in Rails 3.1. I'm using nginx 1.0.10 and Passenger 3.0.11. My nginx.conf looks like this: server { listen 80; server_name .example.com root /srv/project/public; passenger_enabled…
Daniel Vandersluis
  • 491
  • 1
  • 6
  • 17
1
vote
1 answer

Apache Bench length failures

I am running Apache Bench against a Ruby on Rails XML-RPC web service that is running on Passenger via mod_passenger. All is fine when I run 1000 requests without concurrency. Bench indicates that all requests successfully complete with no failures.…
Laurens
  • 115
  • 3
1
vote
1 answer

Phusion Passenger + Nginx - Architecture?

I'm using Phusion Passenger + nginx to deploy a rails app. So far, all is working fantastically. However, I'm a little fuzzy around the architecture of passenger + nginx, and I would love to deepen my understanding. Can anyone provide a good…
michaelward82
  • 251
  • 2
  • 7
1
vote
0 answers

Apache, Passenger, Rails 3.1 - Intermittent long pauses on request

I have a 3.1.0 Rails app (rack 1.3.3) running on a CantOS 5.6 VM using Apache and Passenger 3.0.9 - all recently setup. Everything works perfectly... except for long delays on some requests occasionally. Most of the time the same requests are quick.…
Jo P
  • 113
  • 1
  • 5
1
vote
0 answers

problem with Apache / Passenger - 500 error - where to look?

I installed passenger with rails 1.9.2 in a rvm but I'm getting errors when trying to load anything. (We're sorry but something went wrong). I'm able to load a txt file out of the public directory. It looks like passenger is working: jon@ve:~$…
timpone
  • 255
  • 4
  • 11
1
vote
0 answers

nginx upload module + rails + pupload (jquery multiple upload plugin) multiple uplosding hangs in between

I have configured nginx with nginx upload module + passenger for rails 2.3.5 on Ubuntu OS. I am using pulpload (jquery multiple upload plugin) but it hangs after 2 or 3 files get uploaded, But when i remove nginx upload module from nginx.conf and…
user453986
  • 11
  • 1
1
vote
1 answer

Configure auth_basic with Nginx and Passenger

I'm trying to set up a basic authentication with Nginx. My server configuration look like that: server { listen 80; server_name DOMAIN; root /var/www/web-front-dev/current/public; error_log /var/log/nginx/web-front-dev-error.log; …
Vincent Peres
  • 131
  • 1
  • 5
1
vote
3 answers

example.com and www.example.com points to two different apps

The problem is simple, http://example.com and http://www.example.com aren't the same sites. The problem is surely in my VHost configuration: PassengerMinInstances 5 PassengerPoolIdleTime 0 ServerAdmin webmster@example.com …
1
vote
1 answer

rails, nginx and passenger with SSL on some paths

I'm running a standard Rails 2.3.11 install, with passenger and nginx. I've correctly installed the SSL certificates and they are confirmed to work. However, I only need SSL on two paths example.com/admin and example.com/bookings. I`m not sure how…
amunds
  • 113
  • 3
1
vote
0 answers

Strange behavior when benchmarking a Rails application

I was making some benchmarks on my Rails application before releasing it in production. When running Apache benchmarks with only 2000 requests and 10 concurrency level I have seen that the last 20% of requests are very long and went from 200 ms to…