Bug 1008865
Summary: | keystone-all process reaches 100% CPU consumption | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Community] RDO | Reporter: | Nir Magnezi <nmagnezi> | ||||||
Component: | openstack-keystone | Assignee: | Adam Young <ayoung> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | yeylon <yeylon> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | unspecified | CC: | apevec, arvindks, ayoung, nkinder, srevivo, yeylon | ||||||
Target Milestone: | --- | Keywords: | Reopened, Triaged | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-03-19 22:38:11 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Nir Magnezi
2013-09-17 08:56:30 UTC
Created attachment 798678 [details]
packstack answer file
Created attachment 798679 [details]
keystone.log
Keystone log attached with debug and verbose enabled.
Ran mysql query: SELECT token.id AS token_id, token.expires AS token_expires, token.extra AS token_extra, token.valid AS token_valid, token.user_id AS token_user_id, token.trust_id AS token_trust_id FROM token WHERE token.expires > NOW() AND token.valid = 0 copy & paste from mysql: 1294 rows in set (0.55 sec) it took 55 seconds to get the full response (not a typo). So how do you measure 55s ? You can also trying profiling: http://dev.mysql.com/doc/refman/5.1/en/show-profile.html Please see upstream bug related to MySQL setup: https://bugs.launchpad.net/keystone/+bug/1182481 And confirm that you have set up mysql approapriatly. If that fixes it, please close this issue. (In reply to Adam Young from comment #6) > Please see upstream bug related to MySQL setup: > > https://bugs.launchpad.net/keystone/+bug/1182481 > > And confirm that you have set up mysql approapriatly. If that fixes it, > please close this issue. Adam, I followed your comment[1] and I still see high CPU utilization by keystone-all. [1] https://bugs.launchpad.net/keystone/+bug/1182481/comments/3 This should have been fixed by the upstream change to create the index on the token table. Hello All, We are using Juno on RHEL 7 and we are also facing the same issue :( All requests takes long time... Please help us :) This is from OS controller node: KiB Mem : 26376526+total, 23464988+free, 19374300 used, 9741064 buff/cache KiB Swap: 4194300 total, 4194300 free, 0 used. 24385766+avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5631 keystone 20 0 2838596 684948 7804 S 115.7 0.3 57:34.22 httpd keystone is consuming 100% CPU Please see comment 8. If there is still a problem, please open a new bug with the context, logs, and steps to replicate/ |