We've seen this behavior as well with 1.4.2 on our production beanstalkd
instance, unfortunately it's been practically unreproducible in a development
environment.
Running beanstalkd under valgrind doesn't give me the impression that
beanstalkd is leaking memory so much as it's being over-ambitious in its
allocation of memory for its internal job management.
Haven't gotten any good idea of what it might be, our load is on average quite
low but has periodic spikes, so I've not tracked down anything entirely useful
:(
Cheers,
-R. Tyler Ballance
--------------------------------------
GitHub: http://github.com/rtyler
Twitter: http://twitter.com/agentdero
Blog: http://unethicalblogger.com
beanstalkd should handle that scenario reasonably. It will start
refusing new connections until the number of open connections drops.
If you're seeing different behavior, I'd like to fix it.
> I've been
> able to limit the connection leakage and it seems to be doing much
> better now. I also use HEAD of the Ruby client. Would it be possible
> to push a release soon? It's much easier to use a gem and it's been a
> while.
Yeah, I'm (slowly) working on it, with enormous help from several
other developers (as you can see in the commit logs).
kr