You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
gems/beaneater-1.0.0/lib/beaneater/connection.rb:238:in `_raise_not_connected!': Connection to beanstalk 'localhost:11300' is closed! (Beaneater::NotConnected)
The machine seems to run out of connections. Happens on Ubuntu 18.04 with the following settings:
Why we need to create new connection every time we enqueue a job?
https://github.com/nesquena/backburner/blob/master/lib/backburner/worker.rb#L39
It leads to a very huge number of connections. In my case it can even exhaust linux max open ports.
Maybe use one connection per thread is enough.
The text was updated successfully, but these errors were encountered: