Strange quit behavior

Alex Sharp ajsharp at gmail.com
Thu Sep 1 14:45:12 EDT 2011


On Tuesday, August 30, 2011 at 5:33 PM, Eric Wong wrote:
> Eric Wong <normalperson at yhbt.net (mailto:normalperson at yhbt.net)> wrote:
> > + trap(sig) do
> > + @logger.debug("received SIG#{sig}")
> 
> I'm even more glad I didn't apply this patch to Unicorn. I completely
> forgot Logger uses a mutex internally (even though it doesn't need to
> when writing to a POSIX-compliant file system).
> 
> Rainbows! has a similar issue I fixed/worked around:
> http://mid.gmane.org/20110830233232.GA19633@dcvr.yhbt.net
So are you saying that Unicorn is affected with the same issue? I'm confused -- does the master send USR1 signals to the workers when it receives a USR2? I'm not sending a USR1 signal to the master. 

- Alex


More information about the mongrel-unicorn mailing list