Sending TERM directly to the master process killed it.
--------------------------------------------
Jesse Cooke ::?N-tier Engineer
jc00ke.com?/ @jc00ke
On Mon, Jul 25, 2011 at 3:30 PM, Jesse Cooke <jesse at jc00ke.com>
wrote:>
> Sending TERM directly to the master process killed it.
>
> --------------------------------------------
> Jesse Cooke ::?N-tier Engineer
> jc00ke.com?/ @jc00ke
>
>
> On Mon, Jul 25, 2011 at 2:32 PM, Alex Sharp <ajsharp at gmail.com>
wrote:
>>
>> On Monday, July 25, 2011 at 2:22 PM, Eric Wong wrote:
>>
>> Jesse Cooke <jesse at jc00ke.com> wrote:
>>
>> Hi,
>> Unicorn is saying it''s terminating but it''s not
actually. Check out
>> the gist:?https://gist.github.com/1104930
>>
>> Using:
>> - Ruby 1.9.2p180
>> - unicorn 4.0.1
>> - kgio 2.6.0
>> - bundler 1.0.15
>> - Linux maynard 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17
>> UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Please let me know if there''s any other info I can provide.
>>
>> Since it''s a 2.6.38 kernel, I it could be this bug:
>> https://bugzilla.kernel.org/show_bug.cgi?id=32922
>>
>> Linux 2.6.38.4 should have the fix, but I''m not sure if Ubuntu
>> backported that fix to its 2.6.38-10 package.
>>
>> Rubyists have seen this issue a few times already:
>> http://redmine.ruby-lang.org/issues/4777
>> http://redmine.ruby-lang.org/issues/4939
>>
>>
>> Also, can you try sending signals directly to Unicorn without foreman?
>> I''m not familiar with foreman at all, maybe somebody else on
this list
>> is...
>>
>> Not familiar with foreman, but I''ve verified the issues
you''ve linked to with another non-unicorn problem (god, actually). As
of a couple of weeks ago, the kernel bug still existed in ubuntu 11.04, and to
my knowledge, this is the only affected major version. We''re in the
process of moving to ubuntu 10.10 (mostly specifically because of this bug),
which is the most recent LTS release, and not affected by the signal trapping
bug.
>>
>> --
>> Eric Wong
>> _______________________________________________
>> 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
>>
>