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)

0
votes
1answer
185 views

Cannot Start Passenger 3.0.18 Using Mountain Lion (OS X Server) and RVM

I recently did a clean install of Mountain Lion on my Mac Mini Server. I installed version 3.0.18 using a gem according to the directions on http://www.phusionpassenger.com with no errors that I ...
2
votes
2answers
5k views

solved: puppet master REST API returns 403 when running under passenger works when master runs from command line

I am using the standard auth.conf provided in puppet install for the puppet master which is running through passenger under Nginx. However for most of the catalog, files and certitifcate request I get ...
0
votes
1answer
48 views

Passenger nginx install doesn't come with a service to restart nginx?

How do you restart nginx on a Ubuntu passenger-nginx install? I installed passenger, and then it automatically installed nginx. However there's no command to restart nginx anywhere. I tried service ...
0
votes
1answer
112 views

How to investigate requests per second that are coming in?

If I have a server that is running Nginx + Passenger (mod_rails) how would I figure out how many requests a second are coming in?
3
votes
1answer
236 views

Installation issues with Passenger with Apache on OS X 10.8

I'm trying to get Passenger working on Mountain Lion after the upgrade from 10.7, but I'm having issues when running passenger-install-apache2-module: g++ ext/apache2/HelperAgent.cpp -o ...
-1
votes
1answer
716 views

How can I configure apache to respond 400 when request contains an invalid byte sequence?

On web application someone is making invalid HTTP request containing invalid bytes. According to RFC 3986, section 2 only ASCII characters are allowed in the HTTP Request line. However I am receiving ...
0
votes
2answers
5k 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 ...
-1
votes
2answers
574 views

What do you use to Monitor Server CPU spikes / processes

Sometimes, My apache/Passenger Rails server just spikes to 100% CPU usage and stops working. I need a way to monitor what process spikes it to 100% usage ?. What tools can i use to monitor such things ...
1
vote
2answers
228 views

Site available on internal network, but not from external networks

I've got a ruby on rails application running on apache2 with phusion-passenger. The application works flawlessly on the local trusted network, but I can't access it on our wireless (untrusted) or any ...
0
votes
1answer
514 views

Installed Redmine, now phpmyadmin results in “Cannot start Ruby on Rails application”

I recently installed Redmine on an Ubuntu 12.04 + Apache server, and it is working fine. However, my phpmyadmin site is giving me a bizarre error when I go to https://phpmyadmin.example.com: Here ...
1
vote
1answer
1k views

Mod_rails slow boot

I'm completely new in Rails and I'm facing this problem: My application runs fine on my development machine when I use script/server (called webrick I guess) The problem is when I put the ...
1
vote
3answers
340 views

What are the benefits of running a app server in user space, like Unicorn, as opposed to as sudo?

I've been using Phusion Passenger + Rails/Sinatra for a lot of projects. Passenger runs under the main Nginx or Apache process. But I'm interested in Unicorn, partly because it runs in user space. ...
0
votes
2answers
365 views

Install passenger with yum-installed nginx

Is it possible to install passenger into nginx that has been installed previously using yum? I need to provide a directory prefix for the install-nginx-module, just wondering where that would be on ...
0
votes
1answer
107 views

Start Redmine automatically

I use Redmine with Passenger, RVM and Linux. To start Redmine I use next commands: su redmine cd /www/public/redmine rvmsudo passenger start -p 85 -d --user=pass What is the best way to start it ...
0
votes
1answer
91 views

Passenger Enterprise edition - “Mass Deployment” clarification

We're thinking about purchasing a license for Passenger Enterprise, and I'm looking for a better explanation about the "Mass Deployment" feature in Passenger Enterprise Edition. Say you have Rails 3 ...
0
votes
3answers
1k views

Capistrano + Nginx + Passenger = 403

I asked this over at stackoverflow as well, but still haven't received any answers that have helped me to solve this problem. I have spent almost a week at this point trying to solve the issue, and ...
2
votes
0answers
263 views

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

passenger and apache memory usage

On a "CentOS release 6.2 (Final)" server (with Ruby 1.9.3 and Rails 3.2), and using more memory than expected. Looking at passenger-memory-stats I see a couple of HUGE httpd processes... any thoughts ...
3
votes
1answer
143 views

Application specific environment on the same server in Nginx/Passenger

I have two Rails applications (say app1 and app2) deployed using Nginx/Passenger. The server definition in nginx.conf looks like this: server { rails_env demo; client_max_body_size ...
1
vote
4answers
83 views

is it possible to have two web servers hosted at different places share the same domain name?

say I have a wordpress site: https://www.foobar.com and I want to have an entry point to a rails app at a certain subdirectory within that same domain: https://www.foobar.com/rails_app I know this ...
2
votes
0answers
218 views

Phusion Passenger setting PassengerPreStart does not activate using service httpd start

I'm running Phusion Passenger on RHEL, hosting a Rails application. I can successfully start up a passenger instance on Apache startup using the Passenger setting PassengerPreStart, but only if I ...
1
vote
1answer
207 views

Relative path incorrect in the view layer when hosting a rails3 app in a subdirectory using passenger and apache

I want to host multiple Rails apps on a multiple server using sub-directories. And have encountered some relative path problems. I have made a symbolic link to the app's public directory and placed ...
1
vote
2answers
685 views

Can't install nginx with passenger after ubuntu server 12.04 upgrade

I'm trying to install nginx with passenger support on 12.04 I've used the brightbox repo before but that doesn't work now. I've also tried ppa:nginx/stable but when I try to run sudo apt-get install ...
2
votes
1answer
1k views

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 ...
2
votes
1answer
531 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
3k 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
162 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
214 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
157 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
419 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
633 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
668 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
1k 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
121 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
558 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
182 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
643 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
129 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
81 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
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
2answers
1k 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
358 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
320 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
133 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
513 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
279 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 ...