set :stage, :production
set :branch, :master
set :server_name, "www.osirixnodes.com osirixnodes.com"
set :full_app_name, "#{fetch(:application)}_#{fetch(:stage)}"
server 'osirixnodes.com', user: 'deploy', roles: %w{web app db}, primary: true
set :deploy_to, "/home/#{fetch(:deploy_user)}/apps/#{fetch(:full_app_name)}"
set :rails_env, :production
set :unicorn_worker_count, 5
set :enable_ssl, true

set :stage, :production
set :branch, :master
set :server_name, "www.osirixnodes.com osirixnodes.com"
set :full_app_name, "#{fetch(:application)}_#{fetch(:stage)}"
server 'osirixnodes.com', user: 'deploy', roles: %w{web app db}, primary: true
set :deploy_to, "/home/#{fetch(:deploy_user)}/apps/#{fetch(:full_app_name)}"
set :rails_env, :production
set :unicorn_worker_count, 4
set :enable_ssl, true

Decrease Unicorn workers from 5 to 4
Decrease Unicorn workers from 5 to 4

...because we got some out of memory errors in production:

  E, [2014-12-23T07:41:25.036177 #28797] ERROR -- : Cannot allocate memory
    - fork(2) (Errno::ENOMEM)
