Files | Admin

Notes:

Release Name: 4.1.1

Notes:
unicorn 4.1.1 - fix last-resort timeout accuracy

Unicorn is an HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.  Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between Unicorn and slow clients.

* http://unicorn.bogomips.org/
* mongrel-unicorn@rubyforge.org
* git://bogomips.org/unicorn.git
* http://unicorn.bogomips.org/NEWS.atom.xml

Changes:

The last-resort timeout mechanism was inaccurate and often
delayed in activation since the 2.0.0 release.  It is now fixed
and remains power-efficient in idle situations, especially with
the wakeup reduction in MRI 1.9.3+.

There is also a new document on application timeouts
intended to discourage the reliance on this last-resort
mechanism.  It is visible on the web at:

  http://unicorn.bogomips.org/Application_Timeouts.html



Changes: .document | 2 + Application_Timeouts | 77 ++++++++++++++++++++++++++++++++++++++++++++ GIT-VERSION-GEN | 2 +- lib/unicorn/const.rb | 2 +- lib/unicorn/http_server.rb | 14 ++++---- test/test_helper.rb | 5 --- 6 files changed, 88 insertions(+), 14 deletions(-) commit 8bed251777e9850b04f52f4c520e8b173bd1d756 Author: Eric Wong Date: Thu Aug 25 14:24:23 2011 -0700 unicorn 4.1.1 - fix last-resort timeout accuracy The last-resort timeout mechanism was inaccurate and often delayed in activation since the 2.0.0 release. It is now fixed and remains power-efficient in idle situations, especially with the wakeup reduction in MRI 1.9.3+. There is also a new document on application timeouts intended to discourage the reliance on this last-resort mechanism. It is visible on the web at: http://unicorn.bogomips.org/Application_Timeouts.html commit 34b400cbec2a05e9a1d9fad2d6bd34f54620fdcb Author: Eric Wong Date: Wed Aug 24 17:59:55 2011 -0700 doc: add Application Timeouts document Hopefully this leads to fewer worker processes being killed. commit b781e5b1a9b652ee3da73e16851e1f17f0cecd88 Author: Eric Wong Date: Tue Aug 23 19:50:03 2011 -0700 test_helper: remove needless LOAD_PATH mangling We do it in the Ruby invocation or RUBYLIB. commit e9da4ce4c8917934242037db0c2735bd7dab1586 Author: Eric Wong Date: Tue Aug 23 17:39:53 2011 -0700 fix sleep/timeout activation accuracy I've noticed in stderr logs from some folks that (last resort) timeouts from the master process are taking too long to activate due to the workarounds for suspend/hibernation. commit 8d8b500816371fb8f8fce5e9f21cf235ee8d26ae Author: Eric Wong Date: Mon Aug 22 20:04:47 2011 +0000 .document: re-add OobGC documentation Oops!