librelist archives

« back to archive

recursive deadlock

recursive deadlock

From:
Darren Boyd
Date:
2012-06-29 @ 20:43
I see this problem under heavy load from time to time.  I'm not entirely
sure where the error is, but I suspect I'm doing something that isn't
threadsafe.

  https://gist.github.com/e74ea526cff95d97d497

Is there something obvious I'm not doing, or doing wrong?

Thanks,
Darren

Re: [sidekiq] recursive deadlock

From:
Mike Perham
Date:
2012-06-30 @ 02:46
That's odd.  I don't see anything wrong with your code.  The problem
seems to be in AR's connection pool, I'd look in Rails's issue
tracking to see if anyone else has reported this.

On Fri, Jun 29, 2012 at 1:43 PM, Darren Boyd <dboyd@realgravity.com> wrote:
> I see this problem under heavy load from time to time.  I'm not entirely
> sure where the error is, but I suspect I'm doing something that isn't
> threadsafe.
>
>   https://gist.github.com/e74ea526cff95d97d497
>
> Is there something obvious I'm not doing, or doing wrong?
>

Re: [sidekiq] recursive deadlock

From:
Darren Boyd
Date:
2012-07-01 @ 19:55
On Fri, Jun 29, 2012 at 7:46 PM, Mike Perham <mperham@gmail.com> wrote:

> That's odd.  I don't see anything wrong with your code.  The problem
> seems to be in AR's connection pool, I'd look in Rails's issue
> tracking to see if anyone else has reported this.
>

fyi...

I couldn't find anything specifically related.

So, I opened a new issue: https://github.com/rails/rails/issues/6924