about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-07-03 19:20:17 +0000
committerEric Wong <e@80x24.org>2014-07-03 19:20:17 +0000
commit20f3b0c94474709fc6468a8a707b1c205ca80677 (patch)
treef273d8f853b5017f9e0f37c6c1ea668c15f5c4b0
parent5bd61b57d63ae86fc246531d3a483c15ee0dcd57 (diff)
downloadunicorn-20f3b0c94474709fc6468a8a707b1c205ca80677.tar.gz
Thanks to Cedric Maion for bringing this up on the mailing list:
http://bogomips.org/unicorn-public/m/20140703144048.GA6674@cedric-maion.com
-rw-r--r--FAQ10
1 files changed, 9 insertions, 1 deletions
diff --git a/FAQ b/FAQ
index c84a8af..66f1a09 100644
--- a/FAQ
+++ b/FAQ
@@ -1,6 +1,14 @@
 = Frequently Asked Questions about Unicorn
 
-===  I've installed Rack 1.1.x, why can't Unicorn load Rails (2.3.5)?
+=== Why aren't my Rails log files rotated when I use SIGUSR1?
+
+The Rails autoflush_log option must remain disabled with multiprocess
+servers such as unicorn.  Buffering in userspace may cause lines to be
+partially written and lead to corruption in the presence of multiple
+processes.  With reasonable amounts of logging, the performance impact
+of autoflush_log should be negligible on Linux and other modern kernels.
+
+=== I've installed Rack 1.1.x, why can't Unicorn load Rails (2.3.5)?
 
 Rails 2.3.5 is not compatible with Rack 1.1.x.  Unicorn is compatible
 with both Rack 1.1.x and Rack 1.0.x, and RubyGems will load the latest