Memcache pool locks on release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Alexander Makarov |
Bug Description
At some point Keystone stops processing HTTP requests and HAProxy moves the server out of pool. Once Keystones on all controllers stuck HAProxy starts to respond with HTTP 503 error.
Symptoms:
~~~~~~~~~
HAProxy log:
2014-12-
Keystone keeps accepting TCP connection, but hangs at HTTP level (meaning that telnet works, but curl hangs)
root@node-
Process 26330 attached - interrupt to quit
futex(0xe50420, FUTEX_WAIT_PRIVATE, 0, NULL
The last logged message from stuck process:
2014-12-05 17:01:20.749 26330 DEBUG keystone.
Memcache pool has asymmetric behaviour on aquire and release of a connection:
If pool is depleted a new connection is created
If pool has reached it's maximum size that connection excess still being pushed back to the pool causing thread lock.
Changed in keystone: | |
assignee: | nobody → Alexander Makarov (amakarov) |
Changed in keystone: | |
importance: | Undecided → Medium |
milestone: | none → kilo-2 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/140681
Review: https:/