From 4d493d8ad203d7f13ac56b7d6ba2b3aaa481cbd2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 27 Oct 2010 16:26:28 -0700 Subject: examples/unicorn.conf: add a note about throttling signals Sending the same signal faster than the receiver can process means signals can get lost. --- examples/unicorn.conf.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.3-24-ge0c7