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
99% CPU on ubuntu 12.04 when clients connect #144
Comments
I tried to reproduce this using the description you gave, |
I upgraded from 1.4.6 to 1.7 and got this issue. I think this maybe an issue with the ruby beanstalkd-client gem. I'll do some more testing and report back. |
If you run version 1.7 with |
Awesome, I ran it with the -VVV and got the 99% CPU usage again right away. Full log: http://pastie.org/4931070 |
If that can help, I have the same issue with 1.7 on CentOS (actually Amazon Linux), and I do not use the Ruby gem on the client side. Logs:
The 100% CPU usage actually occurs not when I connect the consumer client but when I quit it. |
I downgraded to 1.4.6 and got the same issue. So the issue must be with a dependency. |
KR where you able to replicate the issue? Using EC2 official ubuntu/centos AMIs i get this issue right away. |
I've reproduced it with 1.7 on Ubuntu 12.04. However, the bug |
Oops, that's wrong. It definitely happens on master. |
For reference, a further reduced test case is:
|
This issue is a little strange. I have one server (lets call it server-a) with ubuntu 10.04 that doesn't have this issue, all the other other linux distro and even the clones of the good server server-a i tested gets this issue. |
kr, any luck tracking down this issue? I been trying to fix it by self with no luck. Seems to be effecting all versions after 1.4.6. |
We're seeing this as well on a CentOS 5 box running in EC2 with version 1.7. We never saw 1.4.6 eat this much CPU (running on the same size EC2 instance, but not the same instance itself). Queue activity hasn't changed from 1.4.6 to 1.7. |
This bug was introduced in a9d4367. The problem is that when the client sends I have a fix prepared, once I get a chance to test the fix more, |
Beanstalkd process is showing 99% cpu on ubuntu 12.04 (fresh install) when 2 or more clients connect.
I'm using beanstalkd 1.7.
The text was updated successfully, but these errors were encountered: