[chef] Re: chef-client segfaults on FreeBSD


Chronological Thread 
  • From: Andrea Campi < >
  • To:
  • Subject: [chef] Re: chef-client segfaults on FreeBSD
  • Date: Tue, 31 Jan 2012 07:53:41 +0100



On Tue, Jan 31, 2012 at 5:28 AM, Tomoyuki Sakurai < "> > wrote:
hi,

i'm investigating chef-client segfault on FreeBSD. it's hard to reproduce
the issue but it happens often, saying "[BUG] Bus Error". it usually happens
somewhere in lib/chef/mixin/command/unix.rb.

Yeah, that sucks. I never really spent the time to figure out the root cause.

Another fix if you can upgrade your system ruby, is to move to ruby 1.9.2 or 1.9.3 (1.8 is EOL anyway).
We have been running almost [*] all of our FreeBSD hosts on 1.9.3 and so far it's been smooth sailing.
Anecdotally, convergence speed on 1.9.3 is measurably higher, although not dramatically so.


[*] the only exception are legacy servers running legacy Rails 2.3 apps.

Andrea



Archive powered by MHonArc 2.6.16.

§