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 ...

learn more… | top users | synonyms (1)

1
vote
1answer
489 views

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 ...
0
votes
1answer
730 views

Setting up Passenger + Nginx on Arch

I'm trying to setup passenger and nginx on Arch, but I can't seem to get the nginx server to even start. I've followed the guide found here: ...
2
votes
2answers
2k views

Ruby on Rails Process Stuck at 100% CPU

Environment: Ubuntu 10.04 LTS, Passenger, Nginx 1.0.6, MySQL, Ruby 1.9.2, Rails 3.1 After some amount of time, the server ends up with a gradually increasing number of processes that are stuck at ...
1
vote
1answer
499 views

NGINX - Two different rails apps under same domain

I have two different Rails (passenger) apps that I wan to host on one server: somehost.com/ <-- App #1 somehost.com/admin <--- App #2 Tried playing with the 'location' directive, but ...
1
vote
1answer
87 views

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 ...
0
votes
1answer
236 views

Can I compile Passenger (mod_rails/mod_rack) to make a statically linked Apache httpd?

I prefer to disable httpd dynamic module loading on my production server. I've been using mod_jk linked statically into httpd for quite a long time and it proved to be stable. Now I would like to ...
0
votes
1answer
331 views

Error installing nginx with passenger-install-nginx-module on ubuntu 11.10 & rails 3.1.0

Here is the error message from installing nginx with passenger-install- nginx-module (rvmsudo). The nginx is 1.0.6 installed under /opt/nginx (default). gem install passenger successfully prior. ...
0
votes
1answer
150 views

mod_rewrite rules for non-default page cache directory for Rails application with distinction between mobile directory and www directory

My Question is similar (almost the same) to another question asked here: but with a twist. Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to ...
0
votes
1answer
668 views

IE Ajax Request times out even though server is responding

This is a repost of the following SO question because I'm pretty convinced that this is a networking/server issue, and not something wrong with my code. ...
2
votes
4answers
532 views

Really high load readings while the server seems indle

I was wondering if any of You encountered such an issue, that the reported load of the server is really high though none of the parameters seems to indicate that its busy at all. I would need to check ...
3
votes
1answer
354 views

Nginx + Passenger : stop file uploads timing out after 30 seconds

I have a ruby app which runs under passenger and nginx. If i try to upload a largish file (eg 15+ meg), when it gets to 30s in, the upload restarts (according to chrome) and at the end of the next 30 ...
0
votes
1answer
199 views

nginx/passenger waits if post data exceeds content-length

I have an nginx 1.0.6 server set up in front of a Ruby on Rails application using Passenger. I have noticed some strange behaviour when making POST requests. Consider this little code snippet: ...
0
votes
1answer
282 views

newer nginx (1.0.6) is not running on ubuntu server

Installed nginx 0.8.54 with apt-get from ubuntu repo. Executing command "passenger-install-nginx-module" installed nginx 1.0.6 (I believe). After restart however, nginx -v still shows version 0.8.54. ...
2
votes
1answer
741 views

Passenger on Apache2 - how to make a site appear on root

I'm new to apache2 and passenger to set-up rails apps and followed a tutorial on how to get redmine (rails app) set up (http://xdissent.com/2010/05/04/github-clone-with-redmine/). It all works great ...
2
votes
1answer
1k views

How do I get Apache's www-data to recognize RVm?

Problem: Apache/Passenger don't recognize RVM I have a multi-user install of RVM, per the canonical instructions: http://beginrescueend.com/rvm/install/ I then edited /etc/profile.d/rvm.sh to ...
0
votes
1answer
407 views

How to use Passenger (apache2 module) with 2+ Rails apps using each one different gemsets

Let's suppose I want to host 2 rails apps in the same server. I'd use RVM (installed as multiuser) and two different gemsets; suppose gemsetA for appA and gemsetB for appB. What's the best way to ...
0
votes
1answer
207 views

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 ...
0
votes
1answer
524 views

Ruby/Passenger stops working after update to OpenSSL

Someone has run a yum update on the CentOS box (Linux 2.6.28.1-xxxx-std-ipv4-32 #2 SMP Fri Jan 30 09:55:02 UTC 2009 i686 i686 i386 GNU/Linux) that runs a Ruby on Rails app (Redmine) served with ...
1
vote
1answer
280 views

Passenger + Rails + Global Queues - Can you direct specific requests to specific queues?

I have a site with a relatively low amount of traffic that's normally served happily by 3 or 4 passenger instances. However, sometimes it is getting hammered by a large number of automated requests ...
4
votes
1answer
343 views

Is Apache ReverseProxy to Passenger Standalone an acceptable production deployment?

I have the need to deploy Rails 3 apps, using RVM and gemsets, and am expecting “public” traffic (i.e. this is not an internal-only app). I also must use Apache as the public interface to my app. I ...
1
vote
0answers
183 views

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 ...
3
votes
1answer
983 views

502 Bad Gateway error after failed requests using Passenger

I've got a staging server running nginx 1.0.5 using Rails 3.1 under Passenger 3.0.9. The problem is that a request sent just after one where there's an application error return 502 Bad Gateway. To ...
1
vote
0answers
295 views

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

add passenger module to nginx without sources

I have a ubuntu 10.04 server and i've installed nginx from repositories with: apt-get install nginx i have all my sites running and i want to install redmine but i'm having problems with passenger. ...
0
votes
1answer
395 views

Passenger on cPanel WHM, centOS 5.6 with RVM

I'm trying to install passenger on cPanel controlled VPS, but running into problems with permissions. I installed all required dependencies as a root user and i'm running command: [johnny@server1 ~]$ ...
3
votes
1answer
2k views

Nginx with Passenger behind HAProxy causes 503 errors

Over the last month I was forced to learn a lot of things about server configuration, integration, AWS, etc. I have never done these to this extent. I got everything up and running well for my app ...
0
votes
1answer
533 views

multiple PassengerRoot?

how do you define multiple passengeroot - my gemsets are different so something like this: PassengerRuby /Users/david/.rvm/wrappers/ruby-1.9.2-p290@rpgweb/ruby PassengerRuby ...
0
votes
1answer
115 views

Running a command before the Rails server starts under Apache

I'm currently running Apache with Passenger and a Rails 3.1 application. In my environment setup, I need to start sunspot - rake sunspot:solr:start RAILS_ENV=production - before I run the server. ...
0
votes
2answers
559 views

Phusion Passenger can't access mysql

I can connect to the db from terminal. The rails console connects fine also and I can return objects, mod them and do what ever from there. So database.yml must be ok But for some reason the ...
1
vote
0answers
284 views

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 ...
1
vote
1answer
2k views

Rails program is not being run on apache + passenger - only directory listing

I have successfully installed Phusion passenger + Apache 2 + Rails 3.1 program + git on a linux Debian 6. I ran passenger-install-apache2-module and followed the configuration instructions. I followed ...
-1
votes
1answer
42 views

redirect domain to app server works. but not “www”

I have set my A record for "example.com" to my app server. and I have a CNAME "www" that points to example.com with this configuration, if I go to my domain without www, it works perfect. but without ...
1
vote
1answer
977 views

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 ...
1
vote
3answers
137 views

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 ...
0
votes
1answer
187 views

Problem deploying a Rails application with Passenger

I'm trying to deploy a Ruby on Rails Application using Passenger and Apache but I have some trouble. When I try to go to example.com/tournament, I get an error saying that the Ruby on Rails ...
0
votes
2answers
571 views

BigIP load balanced Rails 3 / Apache app not handling selective SSL correctly?

So here's the setup. I've got a Rails 3 application deployed to two servers, both running Apache2, both with identical VirtualHost configs, both operating on Passenger. There are a few routes in the ...
1
vote
1answer
190 views

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 ...
0
votes
3answers
817 views

RMagick on EC2/Nginx/Passenger performance is horrible

I have a small RoR app that generates images using RMagick and the performance is not anywhere near where I thought it would be. The server configuration is a 64-bit Ubuntu 11.04 image on EC2 running ...
1
vote
1answer
97 views

How to automate an installation of phusion and nginx?

When I run the command: ./passenger-install-nginx-module It asks me a bunch of questions when I am SSH'd into my server. I want to automate this process, how can I do that if it requires specific ...
1
vote
1answer
705 views

Passenger is preventing Bundler from seeing my git gems

I'm attempting to deploy a Rails 3.1 application to an Ubuntu 11.04 server running nginx-1.0.0 and passenger-3.0.7 I have a system-level RVM install at /usr/local/rvm/gems/ruby-1.9.2-p180 My ...
1
vote
1answer
815 views

Why does installing libapache2-mod-passenger require Ruby 1.8?

Ubuntu 10.04. I have installed Ruby 1.9.2 through rvm and want to serve rails applications with Passenger. However, if I sudo apt-get install libapache2-mod-passenger, it's telling me that ruby, ...
0
votes
1answer
93 views

phusion passenger, apache2 only works with www

I have apache 2, phusion passenger. This is on cpanel. I followed the directions to change the documentroot and have the changes stick. Here is some of the pertinent httpd.conf ServerName ...
6
votes
2answers
10k views

How to set up Apache with Passenger (mod_rails) on Mac OS X?

I'm an iOS developer, so I have very little experience with Apache and RoR, and it's the first time I'm trying to use Mac OS X as server. http://rubyonrails.org/deploy recommends using Phusion ...
0
votes
1answer
499 views

keep double slashes when working with passenger

I've urls on my site that have nested urls encoded by encodeURI function. www.site.com/http%3A%2F%2Fwww.site.com%2F My site is running using nginx 0.8.53 The problem is that when nginx gets such ...
1
vote
0answers
55 views

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 ...
0
votes
2answers
4k views

passenger-status - ERROR: Phusion Passenger doesn't seem to be running

My server is: Server version: Apache/2.2.11 (Ubuntu) Server built: Aug 16 2010 17:44:11 My ruby version ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]. I've installed passenger 3.0.7 ...
2
votes
1answer
538 views

Passenger - “Auto-kill” rogue processes?

I'm running a Ruby on Rails application with Passenger + Apache. There's also a perl mailing list server (Sympa) running with mod_perl. I have root and sh access to the server (an Ubuntu machine). ...
1
vote
1answer
508 views

NGINX: How do I calculate an optimal no. of worker processes and worker connections?

Our web app is running on a Linode 2048 server at the moment (~ 2048 GB of RAM) The MYSQL database is on another linode of it's own so this server is really only handling NGINX and and the Rails ...
1
vote
2answers
120 views

apache2 VirtualHost server and passenger behaviour

i've installed a phusion-passenger website in Apache2, the site sits at 192.168.0.50 in my network. here it is the VirtualHost element <VirtualHost *:80> ServerName my_web_host ...
0
votes
1answer
412 views

Apache2 + Phusion Passenger - either different port, or all pages overridden

I'm serving several PHP sites on Apache2. Now I'm trying to also serve a Rails app with mod_passenger. Thing is: when I set mod_passenger to listen on railsapp.com:81, it works. Also the PHP sites ...