Tagged Questions

More about Phusion Passenger: http://www.modrails.com/

learn more… | top users | synonyms (1)

1
vote
0answers
12 views

Routing non GET requests to passenger in Nginx

I have a Rails app that is caching pages in multiple custom directories. Everything works fine other than non GET requests, which are delivering 405 errors in Nginx because my configuration is not ...
0
votes
1answer
26 views

Rails application dying slowly on Mac Lion 10.7.2 with Phussion

I've asked this question over at stackoverflow, but I thought someone here might have insight as well. I've recently deployed my first Rails application on a Mac mini running Lion 10.7.2 with Apache ...
1
vote
2answers
36 views

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

How to set max_pool_size

I have the server with linux + nginx + passenger + redmine installed. First of all I don't know passenger installation type - nginx or standalone? I have next lines in nginx.conf: upstream ...
0
votes
1answer
42 views

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

Django returns 502 error when user apps are added

I've configured a Debian 6 server with nginx, Passenger, and MySQL to run Django, and was running through the Django tutorial with everything going swimmingly until I tried to turn on the admin ...
0
votes
3answers
34 views

How do I make nginx start (user install with passenger) on boot?

I have installed nginx on my Ubuntu 10.04 box. With passenger 3. Now I've got everything setup correctly; how do I ensure that nginx will start on boot everytime?
0
votes
1answer
68 views

Phusion Passenger without RVM

Usually I use RVM + Passenger for my rails applications. Recently, however, I needed to use Passenger without RVM. And I'm confused about gem location. What's the location of gems that Passenger ...
0
votes
1answer
117 views

Nginx can't find PCRE library on Ubuntu Server

I have been trying to get my Passenger and Nginx setup to work with php files but I am having problems with the PCRE regular expressions library. Install all went fine so I'm assuming it found the ...
1
vote
0answers
117 views

Firefox and Chrome keeps forcing HTTPS on Rails app using nginx/Passenger

I've got a really weird problem here where every time I try to browse my Rails app in non-SSL mode Chrome (v16) and Firefox (v7) keeps forcing my website to be served in HTTPS. My Rails application ...
0
votes
1answer
86 views

mod-redmine && mod-passenger: Passenger refuses to load (here: Redmine) after rewrite uri. Where to put RailsBaseURI?

i've a working Redmine-instance at /var/lib/redmine. (Redmine configuration is not the issue) ln -s /var/lib/redmine/public /var/www/redmine chown -R www-data:www-data /var/www/redmine echo ...
0
votes
1answer
48 views

Apache 2, Passenger 3 and RVM setup

I want to setup a RoR server with Apache2 + Passenger3 + RVM, These are my configurations # Passenger Apache Integartion LoadModule passenger_module ...
0
votes
1answer
171 views

Using PCRE 8.20 with Nginx 1.0.11 and Passenger

I downloaded and extracted the nginx source to ~/nginx-1.0.11, then downloaded PCRE 8.20 directly since the latest version of the Passenger installer can't download it automatically. I did the typical ...
1
vote
0answers
36 views

Passenger and ServerAlias not cooperating

I have a ruby application that runs on a server with multiple IP addresses and mutliple vhosts. Here is the configuration of the problematic virtual host: <VirtualHost 10.0.0.10:80> ...
0
votes
0answers
43 views

how to have wordpress at the root and passenger running rails in a subdir on dreamhost

I'm trying to set up wordpress on a domain with a rails app running on passenger in a subdirectory. I think I had it working for a second but now it's broken and I'm getting the passenger error screen ...
0
votes
1answer
63 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
68 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: ...
0
votes
0answers
51 views

Apache unexpectedly rises number of prefork processes (hosting rails apps via passenger)

Last week apache hanged up two times. If first time we were thinking more like "s**t happens", after second break we are bit worried. Both times after a restart everything was back to normal. So far ...
0
votes
1answer
119 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 ...
0
votes
1answer
52 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 ...
0
votes
1answer
26 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
79 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
107 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
35 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
62 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
75 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 ...
2
votes
0answers
47 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
58 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
118 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
96 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 ...
1
vote
1answer
81 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
83 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
68 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
0answers
55 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
58 views

Errors when attempting yum install of Passenger 3.0.9 on CentOS 5

Our Stack: Cent OS 5.2 Passenger 3.0.2 Ruby 1.8.7-p22 (yes, I know we're working on it) Rails 2.3.2 (yes, again, I know. We're working on that too) Apache 2.0.63 (this may or may not change ...
0
votes
0answers
116 views

Monit + Passenger (nginx) - Won't kill process

I have an odd bug with a rails app I've created, causing it (randomly, maybe once every couple days) to have all (or some instances) go to 100% CPU usage and stay there forever. This causes nginx to ...
0
votes
1answer
152 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
0answers
31 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 ...
2
votes
1answer
71 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 ...
0
votes
0answers
95 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 ...
2
votes
1answer
203 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
78 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
60 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. ...
1
vote
1answer
103 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 ~]$ ...
1
vote
1answer
267 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
0answers
56 views

Apache passenger issue on RAM usage

I'm running apache2/passenger with a Ruby on Rails 3 app and I have an issue with RAM usage on my VPS. Here's the passenger status Anyone could give me some hints about how to tune the server ...
0
votes
0answers
39 views

Rails Wildcard Route and .php in URL

I am using this route to catch all requests: map.connect '*request_path', :controller => 'my_controller', :action => 'my_action' With above I can have the URLs with different extensions and ...
0
votes
1answer
57 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
65 views

Running a command before the rails server starts in Apache2

I'm currently running Apache2 with Passenger and a Rails 3.1.rc5 rails application. All is going well so far - however I have run into an issue where I need to start sunspot ("rake sunspot:solr:start ...
0
votes
2answers
99 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 2 3 4 5