Created
June 2, 2011 23:23
-
-
Save rubymerchant/1005562 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UNICORN_CONF="/data/<%= @app %>/shared/config/unicorn_custom.rb" | |
# GC Tuning | |
RUBY_GC_MALLOC_LIMIT=60000000;export RUBY_GC_MALLOC_LIMIT | |
# Set the malloc to 60mb | |
RUBY_HEAP_MIN_SLOTS=3500000;export RUBY_HEAP_MIN_SLOTS | |
# Rails in general takes 250k slots by default. | |
RUBY_HEAP_SLOTS_GROWTH_FACTOR=3;export RUBY_HEAP_SLOTS_GROWTH_FACTOR | |
RUBY_HEAP_SLOTS_INCREMENT=250000;export RUBY_HEAP_SLOTS_INCREMENT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment