37signals/pow — Issue #266: SystemExit (exit) during high load
Author: NoICE
Created: 2012-03-05 19:02:39+00:00
State: open

PUT request with JSON body (but it crashes on random request).
Ruby 1.9.3p0, Rails 3.2.1.

I'm making high load of API calls to my app and I just can't complete one phase without crash.
Sometimes it crashes right away, sometimes after longer period (e.g. one minute).

I'm frustrated.

```
SystemExit (exit):
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:39:in `exit'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:39:in `block in initialize'
activesupport (3.2.1) lib/active_support/file_update_checker.rb:99:in `call'
activesupport (3.2.1) lib/active_support/file_update_checker.rb:99:in `updated_at'
activesupport (3.2.1) lib/active_support/file_update_checker.rb:66:in `updated?'
railties (3.2.1) lib/rails/application.rb:228:in `map'
railties (3.2.1) lib/rails/application.rb:228:in `reload_dependencies?'
railties (3.2.1) lib/rails/application.rb:262:in `block (2 levels) in default_middleware_stack'
actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:63:in `call'
actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:63:in `call'
actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call'
railties (3.2.1) lib/rails/engine.rb:479:in `call'
railties (3.2.1) lib/rails/application.rb:220:in `call'
railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:146:in `handle'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:86:in `each'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:86:in `block in start'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:66:in `loop'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:66:in `start'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/lib/nack/server.rb:13:in `run'
/Users/noice/Library/Application Support/Pow/Versions/0.3.2/node_modules/nack/bin/nack_worker:4:in `

'
```