URGENT:Rails application crashed for 700 request per minute.

There’s a ‘pool’ setting you can put in database.yml (alongside the DB adapter, etc) to set the number of connections in the pool. By default it’s 5, so that would explain the crash - 30 Passenger workers x 5 connections per worker = more than 100. You may just want to bump the number up in Postgres.

–Matt Jones