diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-03 00:09:16 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-03 02:16:51 -0700 |
commit | 539ca9a0efc692edde5448d3e4007d35372e033d (patch) | |
tree | 426e62a71fa3f54c7e9e3700b554804a92e438ec /README | |
parent | ff59e34b6957bc6da2ac3e6c1453adcac9f591b4 (diff) | |
download | unicorn-539ca9a0efc692edde5448d3e4007d35372e033d.tar.gz |
Reword and expand a bit
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -21,13 +21,15 @@ and DESIGN documents for more details regarding this. * Does not care if your application is thread-safe or not, workers all run within their own isolated address space and only serve one - client at a time... + client at a time. * Supports all Rack applications, along with pre-Rack versions of Ruby on Rails via a Rack wrapper. -* Builtin log rotation of all log files in your application via USR1 - signal. +* Builtin reopening of all log files in your application via + USR1 signal. This allows logrotate to rotate files atomically + and quickly via rename instead of the racy and slow + copytruncate method. * nginx-style binary re-execution without losing connections. You can upgrade Unicorn, your entire application, libraries @@ -35,10 +37,12 @@ and DESIGN documents for more details regarding this. installed in the same path. * before_fork and after_fork hooks in case your application - has special needs when dealing with forked processes. + has special needs when dealing with forked processes. These + should not be needed when the "preload_app" directive is + false (the default). * Can be used with copy-on-write-friendly memory management - to save memory. + to save memory (by setting "preload_app" to true). * Able to listen on multiple interfaces including UNIX sockets, each worker process can also bind to a private port via the |