0
votes
1answer
22 views

Log errors from Passenger in vhost error.log

I'm running Phusion Passenger 4.0.40 with nginx. The server is used to host several websites and each has its own error.log file. However if an application crashes during startup, the error message ...
1
vote
1answer
59 views

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After ...
0
votes
0answers
47 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
1answer
84 views

All Passenger processes suddenly hang - backtrace indicates reading POST data?

I've been having problems with my nginx/Passenger server where requests appear to be getting stuck, any subsequent requests don't complete, the queue gets up to its max, and the site starts serving ...
0
votes
1answer
55 views

Restart individual rails apps in nginx+unicorn

I have 15-20 independent rails applications on the same ec2 instance. The rails applications are deployed using apache + passenger with Railsbaseuri. RailsBaseURI /games <Directory ...
0
votes
0answers
18 views

Tell apt-get install to ignore a dependency [duplicate]

I have used Phusion Passenger's Ubuntu repositories to install nginx-extras and passenger on a clean Ubuntu14.04 server, which already had Ruby2.1.1 installed. It worked perfectly. This is how ...
2
votes
1answer
152 views

Passenger Module Fails On AWS Gem With 'Class Variable Name' Error

Opening Disclaimer: I'm all kinds of newb to the technologies involved in this question. But the Googles, she no yield-a the fruit. I'm trying to deploy a Rails app into production. This app works ...
0
votes
0answers
46 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 ...
2
votes
1answer
96 views

Nginx, setup https

I'm trying to setup https on my ubuntu server with NGINX ver 1.4.7 and Phusion Passenger 4.0.41. I created .key and .csr using these two commands sudo openssl genrsa -des3 -out server.key 2048 sudo ...
0
votes
0answers
74 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
66 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
1answer
102 views

Rails 4 app + nginx1.4.4 + passenger4.0.37 on a headless Ubuntu12.x server running on a VM on my local machine

At the moment, it gives me a disapointing blank page. No 500, no 404, no errors on the nginx log file, just a snowstorm of interrogations. And its been hours of googling without success. So if anyone ...
2
votes
1answer
183 views

Out-of-order chef recipes causing apt package install to fail

I'm writing a Chef recipe to install among other things nginx and Phusion Passenger. The short summary is that the recipes on my run list are not executing in the order I expect, and that's causing an ...
0
votes
2answers
349 views

/etc/init.d/nginx not executable

I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (/etc/init.d/nginx) not executeable? I was following the tutorial of Alex ...
1
vote
2answers
62 views

Why server writes much more than reading the disk

I'm running one Ruby on Rails application, I use Passenger Nginx, Ruby on Rails 3.2, search gem Sunspot (which uses Solr as its search engine). My application works ok with around 6K active users but ...
0
votes
0answers
16 views

Configure nginx+passenger rails+phpmyadmin [duplicate]

I need to setup all routes to my rails server, except one: phpmyadmin path, i try so, my configuration file code: server { listen 80; server_name localhost; location / ...
0
votes
1answer
349 views

How to fix NginX/Phusion/Passenger “zsh:1: no such file or directory: passenger/buildout/agents/SpawnPreparer”

Hopefully this is the correct site to ask this question. I've got a webservice I'm attempting to set up using NginX with Phusion Passenger riding a Ruby Sinatra application. The problem is that when ...
2
votes
1answer
290 views

nginx doesn't work after reinstall?

I really have no clue at all where to start looking for an answer to this: I followed the instructions here to set up nginx and passenger for debian. (sudo apt-get nginx-extras passenger) Everything ...
0
votes
1answer
294 views

Nginx, Passenger, Rails serving static files but not running app

I've seen other similar questions but none with satisfactory answers, so here goes. I've installed Ruby, Rails, Nginx and Passenger and tried to configure it to all work together. Here is the ...
0
votes
1answer
173 views

Passenger + RVM returns 502 for ruby 1.8.7 (passenger_root lies in ruby 1.9.3)

I'm using Passenger + RVM + Nginx, and my Rails applications which are configured for Ruby 1.9.3 work fine, but those for 1.8.7 always return a 502 error. Can anyone spot the trouble? My config is as ...
0
votes
0answers
878 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
2answers
266 views

passenger apache and nginx module not compiling on ubuntu 12.04LTS

I am doing all this from the root account. I have followed this guide: https://www.digitalocean.com/community/articles/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger I have tried ...
2
votes
0answers
137 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 ...
0
votes
1answer
74 views

phusion passenger processes dying and new ones starting up mysteriously

as you can see, passenger processes are dying and new ones booting up, even though we're not explicitly restarting passenger ourselves. we can't pinpoint what's causing this. what are some common ...
1
vote
1answer
339 views

Nginx 1.5.1 with spdy support, passenger and php

I can't figure out if spdy is already packaged with nginx 1.5.1 or I have te recompile it. I installed nginx with the following command passenger-install-nginx-module this installed nginx 1.4.1 ...
-1
votes
2answers
161 views

Why is Nginx + Passenger on Debian 7.0 1.6 times slower then on Debian 6.0? [closed]

I have 2 similar VPS (1 core, 512 MB RAM, SSD hard drive). I've installed Debain 7.0 x64 to one of them and Debian 6.0 x64 to another one. Both installations have 512 MB swap file. I've installed to ...
1
vote
0answers
83 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 ...
0
votes
2answers
232 views

Nginx stops serving passenger app (503)

I'm deploying a rails app through passenger and nginx (utilizing an elastic-search server which is running on the same machine) on a Ubuntu system. This works perfectly for about twelve hours. Then, ...
0
votes
1answer
374 views

Why does amazon ec2 have downtime after deploy when other identical servers do not?

This has puzzled me for the past few months...I'm admittedly new to server administration and I took a stab running a production rails app over at EC2. While I've learned a lot and feel pretty ...
0
votes
1answer
199 views

Multiple Rails/Rack apps Nginx one for each subdomain

I just hired a VPS with Ubuntu 12.10 x64. I've managed to get one Rails app running with passenger-nginx. Now I want to run another app as a subdomain, say for example admin.mydomain.com. How can I do ...
0
votes
1answer
192 views

Running roundcube alongside passenger on nginx

I have recently tried to install passenger on nginx. The installation works and everything is good. However I would like to run roundcube webmail on my server as well. Basically my problem is that ...
1
vote
1answer
453 views

Error installing nginx with Passenger on Ubuntu 12.10 for Ruby 2.0.0 [closed]

I am attempting to install nginx to run a Rails site (3.2.13) with Passenger (4.0.0.rc5) on Ruby 2.0.0-p0 via RVM. I have successfully installed the Passenger gem, but when running: rvmsudo ...
0
votes
1answer
152 views

Pass on passenger_base_uri to Rails app

We built a Rails app that consists of the following routes: namespace :api do namespace :v1 do resources ... end end That means, all controllers are reachable via ...
1
vote
1answer
182 views

Sporatic 502 errors with Ruby on Rails site running on Nginx

My Ruby on Rails site is throwing sporadic 502 errors. It is running on Nginx, installed with Passenger, and is hosted on a server running Ubuntu 10.04. It seems that the errors are becoming more and ...
1
vote
0answers
199 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 ...
2
votes
2answers
3k 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
43 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
92 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
565 views

Why is my Rails application hanging?

I have a Rails application of moderate complexity running under Apache/Passenger which becomes unresponsive after periods of idleness. It takes several minutes to respond, but can be temporarily ...
0
votes
1answer
79 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
2answers
272 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 ...
3
votes
1answer
135 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
1answer
800 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 ...
3
votes
1answer
2k views

Rails Passenger Nginx cannot load such file — bundler

I have set up Rails, Passenger, nginx, and PostgreSQL on Ubuntu Server 12.04LTS. Upon trying to access the application/website, however, I am greeted with an error page saying that the application ...
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
324 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 ...
1
vote
0answers
186 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
515 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 ...
0
votes
1answer
155 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 ...
0
votes
0answers
98 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 ^(.*)$ ...