Strange quit behavior

Eric Wong normalperson at yhbt.net
Thu Sep 1 15:46:29 EDT 2011


Alex Sharp <ajsharp at gmail.com> wrote:
> 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. 

No, Unicorn is not affected.  It /would have/ been, had I applied that
patch.

-- 
Eric Wong


More information about the mongrel-unicorn mailing list