From c6c9cae960bd8cbfa2feb801ca7079f6626b436b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 20 Apr 2011 16:02:51 +0000 Subject: KNOWN_ISSUES: document PRNG changes in 3.6.0 --- KNOWN_ISSUES | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES index 35dc9f3..4a6e490 100644 --- a/KNOWN_ISSUES +++ b/KNOWN_ISSUES @@ -3,8 +3,15 @@ Occasionally odd {issues}[link:ISSUES.html] arise without a transparent or acceptable solution. Those issues are documented here. +* PRNGs (pseudo-random number generators) loaded before forking + (e.g. "preload_app true") may need to have their internal state + reset in the after_fork hook. Starting with \Unicorn 3.6.0, we + have builtin workarounds for Kernel#rand and OpenSSL::Random users, + but applications may use other PRNGs. + * Under some versions of Ruby 1.8, it is necessary to call +srand+ in an - after_fork hook to get correct random number generation. + after_fork hook to get correct random number generation. We have a builtin + workaround for this starting with \Unicorn 3.6.0 See http://redmine.ruby-lang.org/issues/show/4338 -- cgit v1.2.3-24-ge0c7