source: subversion/sites/rails_port/config/initializers/limits.rb @ 6267

Last change on this file since 6267 was 6267, checked in by tomhughes, 12 years ago

Migrate web site to use rails 2.0.1.

File size: 206 bytes
Line 
1# Limit each rails process to a 512Mb resident set size
2Process.setrlimit Process::RLIMIT_AS, 640*1024*1024, Process::RLIM_INFINITY
3
4# Force a restart after every 10000 requests
5COUNT = 0
6MAX_COUNT = 10000
Note: See TracBrowser for help on using the repository browser.