← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1188301] Re: keystone kvs driver causes process to grow indefinitely and spin on CPU with thousands of keys in a single python dict

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1188301

Title:
  keystone kvs driver causes process to grow indefinitely and spin on
  CPU with thousands of keys in a single python dict

Status in OpenStack Identity (Keystone):
  Fix Released
Status in tripleo - openstack on openstack:
  Fix Released

Bug description:
  After about 10 days of being up, things got sluggish in our proof of
  concept rack.

  The kvs middleware for tokens is basically just for testing. It is in-
  process and there is no persistence, and no garbage collection or
  memory limit at all.

  We should use sql if we want to persist tokens, or memcache if we are
  fine with losing some.

    PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                                                  
   6955 keystone  20   0 3255m 3.0g 5640 S    92  3.2   6532:10 keystone-all

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1188301/+subscriptions