Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.0
-
Security Level: Public
-
None
-
Untriaged
-
Unknown
Description
Note that I'm not able to see this problem when our software is built for amd64. But both local development build and our package (I've just tried i386 ubuntu 12.04 package) see this problem.
Memcached eats up to 400% of cpu when idle. It's easy to reproduce. Just set up single node cluster and create default bucket.
I'm seeing lots of time spent in kernel and perf top shows kernel functions as hottest. Looking at other entries and doing strace I see that we're doing constant futex wakeups which correspond to either pthread_
{lock,unlock}or pthread_cond_
{signal,broadcast}.
Running amd64 version of our software on exact same box and exact same kernel I see no problem at all.