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)

3
votes
0answers
125 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 ...
2
votes
0answers
132 views

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 ...
2
votes
0answers
212 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 ...
2
votes
0answers
172 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 ...
2
votes
0answers
311 views

Kill runaway Phusion Passenger child processes with monit?

Is there any way to monitor and kill Phusion child processes that are using too much memory or cpu with monit? There are many examples for Apache, but since Phusion runs in its own process, runaway ...
2
votes
0answers
245 views

Passenger/Rails not releasing memory

I have an Ubuntu server running three separate Rails (2.3.8) applications with Passenger, REE and Apache. Recently we started experiencing problems with ruby processes eating up memory and consuming ...
1
vote
0answers
146 views

Rails app (Redmine) on Phusion Passenger is very slow on first request

I've recently deployed a Redmine app (production env) on an AWS server and every time I go to the page after a delay (10+ minues), it take a painfully long time for the page to load. After googling ...
1
vote
0answers
81 views

Nginx Installed w/Passenger but No Command Line

I installed Passenger and Nginx on Ubuntu 12.10 using the following command: passenger-install-nginx-module (following instructions at www.modrails.com/documentation/Users guide Nginx.html). When I ...
1
vote
0answers
255 views

Problems with apache2 and SSL not load files CSS and JS

I have an application in Ruby on Rails 3.2.8, and I'm using passenger-Nginx as Web Server on port 3037 with Apache2 and SSL using ProxyPass and ProxyPassReverse. My problem is, when load in chrome or ...
1
vote
0answers
183 views

Issue serving static contents securely via nginx X-Accel and rails send_file

I am trying to serve static contents via nginx & rails using X-Accel-Redirect. My actual static content directort located at rails root folder like this rails_root\books. This is my nginx config ...
1
vote
0answers
169 views

Elastic Beanstalk Rails - Modify passenger config passenger_max_pool_size

I need to increase the passenger_max_pool_size for my Rails application running on passenger. I have used Elastic beanstalk for deployment. Any idea, how to go about this? Is there an optionsetting or ...
1
vote
0answers
217 views

URL Rewriting and Rack base paths

I'm trying to set up a Rails website on Bluehost and I'm having trouble with the path helpers. As I don't want to monkey-patch Rails, I'm trying to solve this through .htaccess. Here's the scenario: ...
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
0answers
75 views

Sending HUP to Nginx resulting in never-dying old master process

Sometimes when I try to do a graceful restart by sending HUP to Nginx, I end up with a master process that never dies, it sticks around forever, and eventually my app becomes unresponsive and I have ...
1
vote
0answers
181 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 ...
1
vote
0answers
277 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
0answers
281 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
0answers
54 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 ...
1
vote
0answers
323 views

Gitorious 500 Error on adding ssh key

I have configured Gitorious under Nginx and Passenger on Ubuntu. When i try to add ssh key, i get a 500 server error, where gitorious tells me that the responsible personals has been notified. On the ...
1
vote
0answers
588 views

Keep getting 500 Internal Server Error when using Passenger

Every time I restart my server, which is a MediaTemple VPS, our Redmine installation, which is powered by Passenger through Apache, starts giving out 500 Internal Server Errors. It usually starts ...
1
vote
0answers
272 views

Nginx [sites-enabled]

I've just installed nginx 0.7.67 via passenger-install-nginx-module. Previously it was 0.7.65 which was compiled from source. After the new install, i deleted all the old files including the binary in ...
0
votes
0answers
23 views

Passenger permission error

I have a strange permission error when I am trying to start a rails application on passenger/nginx webserver. Here is the error log. Can anyone enlighten me whats wrong? [ 2014-07-01 18:31:01.1992 ...
0
votes
0answers
35 views

How To Get My Rails Phusion Apache App To Use The Correct DocumentRoot

enter code hereOk this is obviously a rookie mistake of some description but I have followed this to the letter and cannot get my rails app public directory to be my document root. the tutorial says ...
0
votes
0answers
10 views

Javascript not working on phusion passenger apache server

I have this strange behaviour. My server works perfectly fine while i issue thin command to boot the server. thin -p 80 -e production But the click function vanishes when i do the same using apache ...
0
votes
0answers
29 views

How do I go about rotating nginx + passenger logs?

I've got nginx with passenger running on debian squeeze. passenger's error output goes to master error log, as you may know. And when logrotate rotates the log, ruby applications continue to write to ...
0
votes
0answers
38 views

Application that works on webrick but fails in passenger

I have a ruby on rails application that starts successfully when I execute rails s -p 3000. But when I deploy it on apache or nginx using passenger, I get this result. The deployment instructions ...
0
votes
0answers
61 views

NginX configuration to prevent “Slow HTTP Denial of Service”

I'm trying to configure NginX (in combination with Passenger and Rails) to prevent "Slow HTTP Denial of Service". What I'm trying to do to prevent it, is limiting the amount of requests per ...
0
votes
0answers
57 views

Nginx + mod_security without a backend server

I want to start using mod_security for Nginx. However, I have read the official doc and something got my atention: ...
0
votes
0answers
37 views

Redmine on Apache2 - moving passenger docroot + symlinks

I have to upgrade some production servers to ssl, one of them a Redmine host and i don't have experience with apache+passenger. Searches here and other places did not yet provide an answer for my ...
0
votes
0answers
140 views

Simple Rails 4 ActionController::Live example not working with Apache + Passenger

I am attempting to get ready to move our environment to Rails 4 and working through all the issues. Regretfully we are currently on Centos 5.5 so there were some hurdles to jump through just to get ...
0
votes
0answers
17 views

Apache2/Passenger - permission errors after restart

Im using Passenger under apache2 on CentOS 6.3 to manage some applications. Every week the httpd service restarts and in doing so it creates a new folder in /var/tmp/passenger to manage the processes ...
0
votes
0answers
44 views

install redmine in shared apache server

I'm trying to install Redmine in a shared apache server. This means, I cant make the redmine/public folder my document root. My server is called server1, so I have some html and php pages at: ...
0
votes
0answers
64 views

How to diagnose sporadic performance issues?

I have a web application with very varying response times and can't find out what causes that. That's the (quite complicated) setup: Powerful (i7, 32GB RAM) dedicated server in a German data center, ...
0
votes
0answers
54 views

Serve Rails app With Apache2/Passenger with no domain name

I have VPS, I am already serving a few PHP sites with Apache2. I now want to deploy a Rails app. I have set up the virtualhost in sites-available and enabled it with a2ensite. It looks like this ...
0
votes
0answers
63 views

How can I determine why I am getting error 500?

My setup is rails 3.2, with ruby 1.9.3 running on passenger and apache (production environment). I Recently used "mod_rewrite" to set up redirection for http -> https requests, and all went smoothly. ...
0
votes
0answers
56 views

Passenger mod configuration using Ubuntu 12.04 Apache2, desperately trying to make a second redmine instance working

I setup some sites already and now I am stuck. My plan was to upgrade redmine (1.3.2) by installing a second redmine (2.4.2), the first redmine session I installed using repository (1.3.2 is the ...
0
votes
0answers
34 views

Passenger package not found after adding phusion repo Ubuntu 12.04

I'm trying to install the official Passenger (and Nginx) packages from Phusion on an Ubuntu 12.04.3 server. I have the following in /etc/apt/sources.list.d/passenger: deb ...
0
votes
0answers
32 views

Phusion Passenger Apache vHost to Sub Directory

I have a rails app that we're trying to migrate t our servers for DNS purposes. The app generates a user url ex ourapp.com/user1. Say user one wants to point user1.com to their respective ...
0
votes
0answers
27 views

Phusion Passenger 4.0.10 crash

My website runs normally to me but CTR is very low so I open the error log and see something like from this file: crash log What is this and how can I fix this? P/s: I'm using Phusion Passenger ...
0
votes
0answers
35 views

Redmine, Apache, Passenger Static Content with Redmine auth

I'm running Redmine with Apache/Passenger and would like to serve additional static HTML. I have placed my HTML under $redmine_root/public. This works, but the content is apparently available to ...
0
votes
0answers
23 views

Apache virtual hosts file - would like to have a rails test directory

I recently got Phusion passenger installed on my VPS, and I am just starting out on my Ruby / rails projects, so I would prefer to put the rails projects in a directory named ...
0
votes
0answers
784 views

nginx passenger_root not accepting valid passenger gem location

I am trying to add passenger_root and passenger_ruby to my nginx.conf file, but when i try and restart NGINX I get the message: Starting nginx: nginx: [alert] Unable to start the Phusion Passenger ...
0
votes
0answers
59 views

www in domain name is not working

I am new for hosting. I have taken Amazon EC2 free tire for hosting and host a Rails website on an ec2 instance. I have taken a domain name for my site named http://jarsoftwares.com/ . I have ...
0
votes
0answers
138 views

Phusion Passenger + Open Project + Requests going to Old IP after migration

I have installed Open Project in one EC2 instance. I have used it for three weeks. Then I moved the Open Project to another region with the DB. The requests are routed to the Old Server. Although ...
0
votes
0answers
93 views

Intermittent SSL “Timeout” w/ Apache and a RoR Passenger App

I am completely lost on this one so I'm hoping someone here may have experienced it before. I have a RoR application running with passenger in apache. It sits on EC2 and is load balanced using ELB. ...
0
votes
0answers
107 views

mod_ssl and apache cipher suite client connections

Just starting out with managing an Apache server. Running into some issues while trying to integrate with a vendor API. I've verified all of the basic infrastructure issues (DNS, TCP ports, etc.) and ...
0
votes
0answers
270 views

Passenger connection reset by peer issue

I am new to ruby on rails. I am using passenger 3.0.17 to deploy my ruby 3.2.6 project. My project is working fine but i got 500 internal error when i try to upload files on server. I checked my ...
0
votes
0answers
96 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 ^(.*)$ ...
0
votes
0answers
285 views

Passenger Defunct Processes on Apache2 restart/ Instance reboot

I've install apache from apache2-mpm-prefork package on EC2 micro instance and compiled passenger from source code present at following link: ...
0
votes
0answers
178 views

get 404 with passenger and rails

I'm trying to run a rails app on a shared hoster. I create the app in the directory /home/rails_projects/jens_blog and the document root is /home/www/jens_blog. In the /home/www/jens_blog dir is a ...