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

Last change on this file since 15161 was 14772, checked in by tomhughes, 10 years ago

Remove old code to exit after 10000 requests as the memory limit code
should do a better job of controlling things.

File size: 182 bytes
1# Set a hard limit of 1Gb on the virtual size of the process
2if Process.const_defined?(:RLIMIT_AS)
3  Process.setrlimit Process::RLIMIT_AS, 1024*1024*1024, Process::RLIM_INFINITY
Note: See TracBrowser for help on using the repository browser.