[Backgroundrb-devel] BgDRb blocking in ActiveRecord

Frederick Cheung fred at 82ask.com
Sun Mar 4 18:53:35 EST 2007

The native msyql driver is blocking, and blocks the entire process  
(not just thread) in which it is running for the duration of the  
query. Would this explain what you're seeing ?


On 4 Mar 2007, at 18:45, Michael Siebert wrote:

> Hi Folks,
> I've got a tiny little problem using MySQL-backed ActiveRecord in my
> worker class. Sometimes it just blocks infinitely when I try to
> access it. I don't know whether it is in AR itself or in the SQL
> driver. It just stops doing anything, logging nothing, no exceptions
> are raised. I don't know if it matters that I call the worker's
> methods via backgroundrb_schedule.yml.
> Has anyone experienced a problem alike? Or can you give me a clue
> what could be wrong?
> PS: I'm not passing ANY AR objects via DRb
> -----------------------------
> Siebert Michael
> info at siebert-wd.de
> ---
> ACHTUNG potenzieller Amokläufer:
>    spiele Killerspiele (Scarface, GTA, UT)
>    schaue Horrorfilme (Wrong Turn, Texas Chainsaw Massacre)
>    höre Musik von Anarchisten und Dunklen (Rammstein, Tote Hosen,  
> Wizo)
>    höre Nazi-Musik von den Böhsen Onkelz, bin also auch noch Neonazi
>    war mal auf ner Antifa-Demo
>    war beim B.U.N.D.
>    ich mag Ironie
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel

More information about the Backgroundrb-devel mailing list