Looks like a Ruby bug, not a Mongrel issue.

Try Ruby 1.8.6 p287 or p369.  See if it goes away under one of those.

Don't forget to rebuild all your gem native libs if you switch Ruby builds.

Also, try the Rails list, see what those folks might have to say.

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p287.tar.gz

--

On Thu, Jun 11, 2009 at 12:08 PM, Nicholas J Kreucher <n...@kreucher.net>wrote:

>  Hi Everyone,
>
> Wondering if anyone has insight into my mongrel crashing problem before I
> dig deeper with gdb etc. Most of the crashes seem to be in
> connection_pool.rb (see below). I've got 4 of them running and a mongrel
> crashes about 1-3 times a day. Load varies from light (8 hits/min) to
> light-moderate (60 hits/min)... crash frequency seems to be directly related
> to load.
>
> I'm running a Rails 2.3.2 app under mongrel 1.1.5 (cluster 1.0.5) on Linux
> w/ ruby 1.8.7 (2009-04-08 patchlevel 160) [powerpc64-linux]. Backend is
> MySQL 5.0.18 on a shared host.
>
> Here is what I have in my mongrel logs... seems like some of the crashes
> are not logged:
>
> mongrel.30001.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:
> [BUG] Segmentation fault
> mongrel.30001.log:activerecord-2.3.2/lib/active_record/associations.rb:1859:
> [BUG] Segmentation fault
> mongrel.30002.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:351:
> [BUG] Segmentation fault
> mongrel.30002.log:activerecord-2.3.2/lib/active_record/associations/association_proxy.rb:213:
> [BUG] Segmentation fault
> mongrel.30003.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:
> [BUG] Segmentation fault
> mongrel.30003.log:activerecord-2.3.2/lib/active_record/attribute_methods.rb:345:
> [BUG] Segmentation fault
> mongrel.30004.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:
> [BUG] Segmentation fault
> mongrel.30004.log:activerecord-2.3.2/lib/active_record/attribute_methods.rb:345:
> [BUG] Segmentation fault
> mongrel.30004.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:
> [BUG] Segmentation fault
> mongrel.30004.log:actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/utils.rb:89:
> [BUG] Segmentation fault
> mongrel.30004.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:351:
> [BUG] Segmentation fault
> mongrel.30004.log:activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:351:
> [BUG] Segmentation fault
> mongrel.30004.log:activerecord-2.3.2/lib/active_record/attribute_methods.rb:345:
> [BUG] Segmentation fault
>
> Thanks!
>     - nick
>
>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to