1
vote
0answers
52 views

Why isn't puma using all of its threads?

I'm using puma and nxinx, and as far as I can tell it is only ever using a single thread even when I start it with the default of 16 threads or more. I've set up a fresh rails app, then gone through ...
1
vote
2answers
115 views

ruby-on-rails app using webbrick server slow on some machines

I have a fairly simple ruby-on-rails app developed on mac, that was put into production on a debian web server. The web app uses the default webbrick server provided to run the app. The app runs ...
1
vote
0answers
115 views

How do I increase the logging level for Puma?

Currently I am only getting ActiveRecord and view-rendering output in my Rails application log file, since I switched to Puma from WEBrick. I haven't been able to find where I can modify the output ...
0
votes
1answer
116 views

NGINX on OSX Snow Leopard Server - extremely slow over network

I set up nginx to serve a rails application for our intranet. It runs on a osx server blade with snow leopard. When I work on the server and go to localhost:8444 it runs very smooth and fast, but when ...
10
votes
2answers
4k views

Optimal number of per CPU unicorn processes

We are running a Ruby on Rails web app under Unicorn. Our app is not strictly CPU bound (we have a dual Xeon E5645 system w/12 cores and a peak load average value is around 6). We started with 40 ...
0
votes
1answer
547 views

Reset Linode root password

I've recently been put in charge of a Ubuntu server in the Linode platform. This webserver is running a production Rails application with a MySQL database. I need to ssh into it to download a copy ...
0
votes
1answer
180 views

Which Ruby server for an app with lots of file uploads?

I'm currently building an application that will handle quite a lot of file uploads (images, so a few MB each). It'll also be handling mostly JSON requests on the frontend, behind a Javascript ...
0
votes
1answer
1k views

Nginx with Passenger setup problems

I'm trying to setup nginx webserver with Passenger support for Ruby on Rails application on Ubuntu 10.04 (on sub URI). All went fine until I tried to access the server/application from the browser. ...
6
votes
1answer
1k views

What causes a 400 Bad Request error for null (“”) and why would our nginx logs have so many?

Daily logs from Logwatch regularly report 400 Bad Request, null: 1744 Time(s) from our nginx logs. The log entries look like: 123.123.123.123 - - [25/Jan/2011:14:44:19 -0500] "-" 400 173 "-" "-" ...
1
vote
3answers
1k views

Rails 3 server requirements

I am planning to release a rails 3 app to the world. I want to start with a cheap hosting package. I wonder if these specs are OK to start. I did not find any benchmarks what rails 3 needs. I ...
1
vote
2answers
2k views

Ruby on Rails and PHP on Same Apache Web Server?

So I am really used to LAMP stacks and have an Apache and PHP setup on my Ubuntu server with about 30 PHP sites. I want to throw a new project up on the site that is built on Ruby on Rails. Is it ...
0
votes
2answers
353 views

Minimizing response time, maximizing requests/second

I'm testing out various Ruby on Rails hosting solutions, including nginx, apache, a couple of various ISPs and cloud computing systems, etc. I'm noticing that, when there's only one or two ...
2
votes
3answers
196 views

How can I distribute 1 application between 2 servers

HI I have an Email Marketing Rails application running on a CentOS QuadCore 16GB RAM server. But currently our webserver is taking too long to respond to requests on rush hours (Mongrel Cluster + ...
1
vote
0answers
102 views

How can I scale my RoR applications?

I am developing a Ruby On Rails application and would like to deploy in a production environment. I have multiple identically configured Ubuntu web servers I can use but I don't know how to scale ...
0
votes
2answers
885 views

Best lightweight. multithreaded windows web server for Ruby on Rails apps

I need to know what the best lightweight, multithreaded Windows web server is for running Ruby on Rails applications. I am currenlty using thin, but it is not multithreaded (by design). So, what are ...
1
vote
1answer
2k views

How to move a ruby on rails application to a new server

I have a rails app on an old Ubuntu server I need to move onto a new machine. I haven't worked with ruby on rails so I don't really know anything about the structure of the app. I want to load this ...
3
votes
3answers
761 views

What webserver should I use to host RoR apps in Windows? [closed]

I need to setup a dedicated server to host Redmine (an open source Ruby-on-Rails bug tracker). What is the best web server to accomplish this? Apache Mongrel IIS something else? It must run on ...