From: Eric Wong <e@80x24.org>
To: unicorn-public@bogomips.org
Cc: Cedric Maion <cedric@maion.com>
Subject: [PATCH] FAQ: add entry for Rails autoflush_log
Date: Thu, 3 Jul 2014 19:28:43 +0000 [thread overview]
Message-ID: <20140703192843.GA26819@dcvr.yhbt.net> (raw)
In-Reply-To: <20140703172410.GA17685@dcvr.yhbt.net>
Thanks to Cedric Maion for bringing this up on the mailing list:
http://bogomips.org/unicorn-public/m/20140703144048.GA6674@cedric-maion.com
---
This updates http://unicorn.bogomips.org/FAQ.html
FAQ | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
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
--
EW
next prev parent reply other threads:[~2014-07-03 19:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 14:40 Log reopening broken on Rails 4 with config.autoflush_log = false? Cedric Maion
2014-07-03 17:24 ` Eric Wong
2014-07-03 19:28 ` Eric Wong [this message]
2014-07-04 9:13 ` Cedric Maion
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140703192843.GA26819@dcvr.yhbt.net \
--to=e@80x24.org \
--cc=cedric@maion.com \
--cc=unicorn-public@bogomips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).