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)

2
votes
1answer
414 views

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

I Can't Get Ruby on Rails + Passenger + Apache to Work

I'm sorry if this is a stupid question, but I can't get Ruby on Rails to work on my Apache server. I'm using Phusion Passenger (mod_rails, mod_rack) for app deployment. Here is my RoR-specific ...
1
vote
1answer
2k views

403 Forbidden

Here is my Nginx config: user pass users; worker_processes 1; events { worker_connections 1024; } http { passenger_root /usr/lib64/ruby/gems/1.8/gems/passenger-3.0.7; passenger_ruby ...
1
vote
1answer
133 views

Rails showing files list and not running app

I followed this tutorial: http://railsapps.github.com/tutorial-rails-mongoid-devise.html Running nginx via proxy on port 8000. You can see it here. Why is it listing the files in the /public dir? ...
0
votes
1answer
508 views

500 error with deploying rails application via apache2+passenger

I finally completed my own app, so the only work left is deploying the app. I'm using Ubuntu 10.04 and apache2(installed by apt-get), so I'm trying to deploy through passenger. I installed passenger ...
0
votes
1answer
192 views

Problems getting Squirrelmail and passenger working on apache

I'm trying to have a setup where I want to run a squirrelmail and Passenger on the same apache server, having a url point to squirrelmail and everything else handled by passenger. I've gotten so far ...
0
votes
5answers
2k views

Multiple rack apps on nginx + passenger, one as root, the other not…config

So I've got two apps I want to run on a server. One app I would like to be the "default" app--that is, all URLs should be sent this app by default, except for a certain path, lets call it /foo: ...
0
votes
1answer
156 views

Passenger, Apache and avoiding page caching

I'm hosting a rack application with passenger and apache. The application is setup to cache the content of each request to the public directory after each request. This allows apache to serve the ...
0
votes
1answer
411 views

nginx and many racks

I want to deploy a ror3 application using nginx/passenger/rack on webfaction. Out of some reason uncached (or out of another reason, I am just guessing) requests to that site spawn multiple rack ...
0
votes
1answer
623 views

Rack Error with DreamHost, Passenger, and Rails 3.0.0.rc

Background: I have viewed this question as well as this one - sadly, to no avail. Error Message (Passenger): You have already activated rack 1.1.0, but your Gemfile requires rack 1.2.1. Consider ...
1
vote
1answer
572 views

Apache/Passenger: not following PassengerMaxPoolSize/PassengerMaxInstancesPerApp?

If I'm correct when I think that a line of 30193 ramon 16 0 170M 119M 3628 S 0.0 11.6 0:08.47 Rack: /var/www/salcedoauctions/current in htop means that there's one spawn of the ...
1
vote
1answer
858 views

Rack processes taking over CPU under Passenger

I have a Spree site running the following stack: Nginx 1.0.8 Passenger 3.0.9 Ruby 1.9.2-p290 Rack 1.3.6 Rails 3.1.4 Spree 0.70.5 I recently upgraded from Spree 0.70.3, which also brought a Deface ...
0
votes
1answer
112 views

Passenger not running continuously

I am wondering if somebody could inform me of the correct behaviour for a Rails app running through Rack/Passenger, as I am seeing some unusual behaviour on a production system which has never been ...
0
votes
1answer
399 views

Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)

I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem. I have several Rack (ruby)-based apps, located in ...
-1
votes
2answers
130 views

Restart one specific application only

I am using an apache webserver which has several applications on it. I need to restart one specific ruby on rails application. In the phusion passenger documentation, it mentions that there are 2 ...
0
votes
2answers
487 views

Using RVM in Puppet manifests

I'm currently digging deeper into Puppet and with several manifests I encounter problems regarding the installed ruby version or rubygems. I would guess that others probably also run in such problems. ...
0
votes
1answer
113 views

Confused about CNAME and subdomains

I have an app that sits at exampleapplication.com. It's a rails application sitting on an Apache/Passenger stack. The app is set up to use subdomain constraints to point to user accounts (e.g. ...
2
votes
3answers
2k views

Nginx + Passenger, getting truncated responses

Getting truncated responses for big attachments in Redmine, served by Nginx + Passenger. Error log says like following: [ pid=11234 thr=3070954384 file=ext/nginx/HelperAgent.cpp:568 time=2010-11-23 ...
1
vote
1answer
69 views

Passenger not respecting settings

I have the following settings in my Apache config (not in one of the vhosts but globally): RailsSpawnMethod smart RailsAppSpawnerIdleTime 0 PassengerMinInstances 2 PassengerMaxPoolSize 5 ...
6
votes
2answers
9k 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
2answers
986 views

Rails application only showing Nginx default page

I am having problems with my Rails application that will use Nginx and Passenger. I've already deployed the application and have setup the nginx config file as such: server { listen 80; ...
-1
votes
1answer
321 views

Is AMD Opteron 3280, 8 cores, 32 GB DDR3 RAM will able to run 200 rails application and 200 mysql database [duplicate]

Possible Duplicate: Can you help me with my capacity planning? I am planning to hosing an rails application + Mysql in dedicated server maximum 200 replicated rails application with 200 ...
2
votes
1answer
255 views

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

PostgreSQL 9.1 won't restore because “a user is connected”

I'm transferring a database as part of transferring a website. I've not used PostgreSQL before, so assume that I don't know much about it (I primarily use MySQL). We cannot directly connect the ...
2
votes
3answers
2k views

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

EC2, Ubuntu, RVM, Rails, Passenger, Apache — requests to my domain just time out

Problem: I believe I've done everything required to deploy my app, but when I go to my new URL, I get a "problem loading page, server took too long to respond" error from the browser. Stats: I'm ...
1
vote
1answer
212 views

Showing Directory Root When Launching Rails App Using Apache2 and Passenger

I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13: Installed gem Passenger rvmsudo passenger-install-apache2-module Added website ...
0
votes
1answer
544 views

Rails app deployment challenge, not finding database table in production.log

I'm trying to setup PasswordPusher as my first ruby app ever. Building and running the webrick server as instructed in README works fine. It was only when I tried to add Apache ProxyPass and ...
0
votes
1answer
104 views

Installing Passenger on CentOS 6.0 with the view to running my Puppet Master via Passenger

I'm attempting to configure Puppet to run via Passenger. I'm using this guide I've hit a bit of a brick wall. When I attempt to reload apache, I get the following error: [Sun Jul 15 19:38:44 2012] ...
1
vote
1answer
669 views

Where/How do you configure phusion passenger when running nginx?

Im running Nginx and Phusion Passenger for my rails app and I want to be able to configure passenger. All I have seen is how to configure it while running apache which doesn't help me. For example, I ...
0
votes
1answer
308 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
3
votes
0answers
120 views

Rails with phusion passenger and wordpress

We had a site developed using on ruby on rails. It had Website Web services for mobile app Admin panel to manage data. We started using wordpress to manage site content. We have finished ...
1
vote
0answers
181 views

Tuning Ruby + Rails + Nginx + Passenger [closed]

I have an app that is responding pretty slowly. Most of the response time is Ruby, (800 ms per request!) however the load on the server is pretty low. It's a VPS with 4 cores and 4 gigs of ram, and ...
2
votes
1answer
509 views

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 ...
1
vote
0answers
1k views

vhost configuration for owncloud

I'm using apache2 for hosting owncloud. I configured a vhost file for owncloud, but every time I go on the site my browser downloads a ruby file. Here is my vhost configuration: <VirtualHost ...
1
vote
1answer
929 views

Rails, passenger nginx and upload connection resets

Uploading a largish (2mb) file to nginx/passenger results in my connection being reset. I have tried editing configuration fields of nginx but apparently these are superseded by passenger's config. ...
1
vote
1answer
137 views

Can't install Passenger for Apache

To set up Passenger some packages must be installed, for example libcurl4-openssl-dev: user@ubuntu:~$ sudo apt-get install libcurl4-openssl-dev Reading package lists... Done Building dependency tree ...
2
votes
1answer
4k views

Where do Passenger logs go?

I have a Rails application running on CentOS with Apache/Passenger, and I have a little problem: I don't have any logs for my Rails Application, What am I missing? This is my apache conf : ...
0
votes
1answer
150 views

Easy way to launch several rails apps on the server

I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each ...
1
vote
1answer
259 views

Apache running as user 'apache', but files it creates are owned by 'nobody'

I have apache httpd 2.2 running as user 'apache'. However, any files it creates are owned by 'nobody'. Also, it can only access things that are accessible by user 'nobody'. It sure seems like apache ...
3
votes
1answer
1k views

Monit is restarting apache2, should I fix the monit config, or the server config?

Monit is restarting apache2 frequently, based on the totalmem > 200m test in my apache2 stanza. I'm not sure that I actually have a problem, or if I should increase the totalmem test in my monit ...
2
votes
1answer
230 views

How to host 2 versions of Rails app on Ubuntu server

I am trying to host multiple versions (dev and staging) of a Rails app on the same server, but I am not currently able to access both via the browser. I am running with Apache2, Passenger, Rails 3, ...
0
votes
2answers
991 views

How to install Phusion Passenger using RVM on Rackspace server?

I am getting ready to start hosting my own Ruby applications. I already have RVM installed on my production server. Now I would like to install Passenger. I have Ruby 1.9.2 set as the default. I ...
0
votes
0answers
95 views

Dynamically enable passenger in nginx

I have a virtual host configured in nginx that will do 'dynamic virtual hosting': server { if ($host ~* www\.(.*)) { set $host_without_www $1; rewrite ^(.*)$ ...
1
vote
2answers
780 views

Best Practice: RVM w/ Multiple Nginx-Passsenger Standalone Servers Running One App per Server

I'm wondering what would be the best approach to hosting multiple Rails applications where each application has a different gemset and may possibly use a different version of Ruby. I'm thinking of ...
2
votes
1answer
2k views

Setting passenger with Apache virtual hosts?

I am setting up a new server which I intend to host multiple Ruby on Rails applications on. The server is running Ubuntu 10.04 LTS and I have set the Apache virtual hosts up so each application has ...
0
votes
1answer
267 views

Nginx - Passenger - Rails 3.2 not responding

I am struggeling to get my rails 3.2 app running on a nginx - passenger - ruby 1.9.3 setup. here is what I already did: installed passenger gem installed rvmsudo passenger-install-nginx-module I ...
0
votes
1answer
118 views

Rails on Dreamhost dedicated alongside existing PHP apps

I'm a developer, and don't have much administration experience. The client wants to host a Rails 3.2 app on his Dreamhost dedicated server (running Debian) which already hosts a bunch of other sites ...
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
280 views

How do I check what version of mod_passenger I'm running?

I'm running into an intermittent error with my Ruby app and I'm trying to figure out the context. I'm running mod_passenger off of Apache (on Dreamhost, if that matters). The error I'm getting is: [ ...