yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12195
[Bug 1282089] Re: keystone client is leaving hanging connections to the server
** Changed in: python-keystoneclient
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1282089
Title:
keystone client is leaving hanging connections to the server
Status in Django OpenStack Auth:
In Progress
Status in OpenStack Dashboard (Horizon):
New
Status in Python client library for Keystone:
Fix Released
Bug description:
This is remarkable noticeable from Horizon which use keystoneclient to
connect to the keystone server and at each request this later is left
hanged there which consume the keystone server and at one point this
will result to having keystone server process exceeding the limit of
connection that is allowed to handle (ulimit of open filed).
## How to check:
If you have horizon installed so just keep using it normally (creating
instances ....) while keeping an eye on the server number of opened
files "lsof -p <keystone-pid>" you can see that the number increment
pretty quickly.
To reproduce this bug very fast try launching 40 instances at the same time
for example using "Instance Count" field.
## Why:
This because keystone client doesn't reuse the http connection pool,
so in a long running service (e.g. horizon) the effect will be a new
connections created for each request no connection reuse.
Patch coming soon with more details.
To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1282089/+subscriptions