Unicorn / Daemontools

Curtis j Schofield curtis.schofield at gmail.com
Mon Apr 25 19:18:58 EDT 2011


I read one possible patch - it doesn't do pid handling - just lets svc
send different signals

My understanding of how unicorn responds to USR2 is that it changes it's pid and
respawns - this would mean that Daemontools is now monitoring the
wrong pid and will
think the process went down.



On Mon, Apr 25, 2011 at 3:07 PM, snacktime <snacktime at gmail.com> wrote:
> There are USR2 patches for daemontools, we used them for unicorn on a
> large production app worked just fine.  Can't remember the url but
> google should show it.
>
> Chris Ochs
>
> On Mon, Apr 25, 2011 at 9:37 AM, Curtis j Schofield
> <curtis.schofield at gmail.com> wrote:
>> Hi  -
>>
>> I tried to get Daemontools and Unicorn working together a while back -
>> there are issues on USR2 restart because of the pid
>> change - I'm hoping someone  in the community will have some
>> understanding of this issue
>>
>> I documented my experience and eventual defeat here :
>> http://log.robotarmyma.de/post/2053448029/daemontools-ubuntu-rvm-bundler-unicorn-install
>>
>>
>> Any help would be received graciously.
>>
>> --
>> make haste slowly \
>> festina lente  \
>> -
>> mobile  +1_415_632_6001
>> curtis.schofield at gmail.com
>> http://robotarmyma.de
>> _______________________________________________
>> Unicorn mailing list - mongrel-unicorn at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
>> Do not quote signatures (like this one) or top post when replying
>>
> _______________________________________________
> Unicorn mailing list - mongrel-unicorn at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
> Do not quote signatures (like this one) or top post when replying
>



-- 
make haste slowly \
festina lente  \
-
mobile  +1_415_632_6001
curtis.schofield at gmail.com
http://robotarmyma.de


More information about the mongrel-unicorn mailing list