Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange errors under high concurrency with Sidekiq #80

Closed
apa512 opened this issue Aug 14, 2014 · 3 comments
Closed

Strange errors under high concurrency with Sidekiq #80

apa512 opened this issue Aug 14, 2014 · 3 comments

Comments

@apa512
Copy link

apa512 commented Aug 14, 2014

NoBrainer often crashes in weird ways when I'm running too many Sidekiq jobs at the same time.

Communication with the Rethink server misbehaves in one of two ways:
can't modify frozen IOError: https://gist.github.com/apa512/61321dbb81ff529fc5f0
Server dropped connection with message: "SE": https://gist.github.com/apa512/15b8fb53b086e6a0935a
Exact message varies, but basically communication with the server seems to be cut off ("SE" should be "SUCCESS").

I can't find anyone else with the same problem and I'm not even sure if to look at NoBrainer, the Rethink client or something else. Any idea what the problem could be @nviennot ?

@apa512
Copy link
Author

apa512 commented Aug 14, 2014

Using server version rethinkdb 1.13.3-0ubuntu1~trusty (GCC 4.8.2) and Ruby client version 1.13.0.1.

@nviennot
Copy link
Collaborator

I've added a connection lock, until we get a real connection pool.
So that should fix the issue.

@apa512
Copy link
Author

apa512 commented Aug 15, 2014

Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants