about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-10-27 16:26:28 -0700
committerEric Wong <normalperson@yhbt.net>2010-10-27 16:26:28 -0700
commit4d493d8ad203d7f13ac56b7d6ba2b3aaa481cbd2 (patch)
treedfc912b66d7477ed45a931806faec5a5e6172e51
parent054c7df93db61839648925cfd881ae880709a210 (diff)
downloadunicorn-4d493d8ad203d7f13ac56b7d6ba2b3aaa481cbd2.tar.gz
Sending the same signal faster than the receiver can process
means signals can get lost.
-rw-r--r--examples/unicorn.conf.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/unicorn.conf.rb b/examples/unicorn.conf.rb
index 37c3e81..28a9e65 100644
--- a/examples/unicorn.conf.rb
+++ b/examples/unicorn.conf.rb
@@ -63,7 +63,10 @@ before_fork do |server, worker|
   #   end
   # end
   #
-  # # *optionally* throttle the master from forking too quickly by sleeping
+  # Throttle the master from forking too quickly by sleeping.  Due
+  # to the implementation of standard Unix signal handlers, this
+  # helps (but does not completely) prevent identical, repeated signals
+  # from being lost when the receiving process is busy.
   # sleep 1
 end