Hello, we are experiencing kernel panics when developing on OSX Panther on an imac and to a lesser extent on Tiger. We don''t know the precise cause, but the common thing is this happens when we start or stop event machine using various methods, like forking, daemons, or plain starting the server process. Here is a core dump message: http://pastie.org/209819 Do you think this is related to Event Machine? Thanks, Brian
may want to recompile everything [including ruby] as -g so that the backtraces are more helpful [?] maybe run it in gdb after that. pmap_flush_tlbs doesn''t appear to be references in EM code anywhere. Not that I know what it is, so I''m not a good one to ask. -R On Jun 5, 2008, at 4:10 PM, Brian Takita wrote:> Panther on an imac and to a lesser extent on Tiger.
On Thu, Jun 5, 2008 at 5:25 PM, Roger Pack <rogerpack2005 at gmail.com> wrote:> may want to recompile everything [including ruby] as -g so that the > backtraces are more helpful [?] maybe run it in gdb after that. > pmap_flush_tlbs > doesn''t appear to be references in EM code anywhere. Not that I know what > it is, so I''m not a good one to ask.Unfortunately the machine is crashing and we do not get a stack trace or core dump from ruby. It is from the OSX kernel.> -R > > On Jun 5, 2008, at 4:10 PM, Brian Takita wrote: > >> Panther on an imac and to a lesser extent on Tiger. > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >
Is EventMachine using kqueue or select? You could try disabling kqueue in the EventMachine code and see if that helps. (I don''t even use a Mac, so I can''t be much more specific than that, sorry.) Chris On Thu, 2008-06-05 at 17:46 -0700, Brian Takita wrote:> On Thu, Jun 5, 2008 at 5:25 PM, Roger Pack <rogerpack2005 at gmail.com> wrote: > > may want to recompile everything [including ruby] as -g so that the > > backtraces are more helpful [?] maybe run it in gdb after that. > > pmap_flush_tlbs > > doesn''t appear to be references in EM code anywhere. Not that I know what > > it is, so I''m not a good one to ask. > Unfortunately the machine is crashing and we do not get a stack trace > or core dump from ruby. It is from the OSX kernel. > > -R > > > > On Jun 5, 2008, at 4:10 PM, Brian Takita wrote: > > > >> Panther on an imac and to a lesser extent on Tiger. > > > > _______________________________________________ > > Eventmachine-talk mailing list > > Eventmachine-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk
On Thu, Jun 5, 2008 at 6:55 PM, Chris "?" Heath <chris at heathens.co.nz> wrote:> Is EventMachine using kqueue or select? You could try disabling kqueue > in the EventMachine code and see if that helps. (I don''t even use a > Mac, so I can''t be much more specific than that, sorry.)It turns out it was lsof that was causing the Kernel panics. We were monitoring whether the server was started using lsof. When we stopped using lsof, the kernel panics also stopped.> > Chris > > > On Thu, 2008-06-05 at 17:46 -0700, Brian Takita wrote: >> On Thu, Jun 5, 2008 at 5:25 PM, Roger Pack <rogerpack2005 at gmail.com> wrote: >> > may want to recompile everything [including ruby] as -g so that the >> > backtraces are more helpful [?] maybe run it in gdb after that. >> > pmap_flush_tlbs >> > doesn''t appear to be references in EM code anywhere. Not that I know what >> > it is, so I''m not a good one to ask. >> Unfortunately the machine is crashing and we do not get a stack trace >> or core dump from ruby. It is from the OSX kernel. >> > -R >> > >> > On Jun 5, 2008, at 4:10 PM, Brian Takita wrote: >> > >> >> Panther on an imac and to a lesser extent on Tiger. >> > >> > _______________________________________________ >> > Eventmachine-talk mailing list >> > Eventmachine-talk at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/eventmachine-talk >> > >> _______________________________________________ >> Eventmachine-talk mailing list >> Eventmachine-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/eventmachine-talk > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >
Good to know. Thanks. 2008/6/8 Brian Takita <brian.takita at gmail.com>:> On Thu, Jun 5, 2008 at 6:55 PM, Chris "?" Heath <chris at heathens.co.nz> > wrote: > > Is EventMachine using kqueue or select? You could try disabling kqueue > > in the EventMachine code and see if that helps. (I don''t even use a > > Mac, so I can''t be much more specific than that, sorry.) > It turns out it was lsof that was causing the Kernel panics. We were > monitoring whether the server was started using lsof. > When we stopped using lsof, the kernel panics also stopped. > > > > Chris > > > > > > On Thu, 2008-06-05 at 17:46 -0700, Brian Takita wrote: > >> On Thu, Jun 5, 2008 at 5:25 PM, Roger Pack <rogerpack2005 at gmail.com> > wrote: > >> > may want to recompile everything [including ruby] as -g so that the > >> > backtraces are more helpful [?] maybe run it in gdb after that. > >> > pmap_flush_tlbs > >> > doesn''t appear to be references in EM code anywhere. Not that I know > what > >> > it is, so I''m not a good one to ask. > >> Unfortunately the machine is crashing and we do not get a stack trace > >> or core dump from ruby. It is from the OSX kernel. > >> > -R > >> > > >> > On Jun 5, 2008, at 4:10 PM, Brian Takita wrote: > >> > > >> >> Panther on an imac and to a lesser extent on Tiger. > >> > > >> > _______________________________________________ > >> > Eventmachine-talk mailing list > >> > Eventmachine-talk at rubyforge.org > >> > http://rubyforge.org/mailman/listinfo/eventmachine-talk > >> > > >> _______________________________________________ > >> Eventmachine-talk mailing list > >> Eventmachine-talk at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > > _______________________________________________ > > Eventmachine-talk mailing list > > Eventmachine-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20080608/45017811/attachment.html>