how to debug keystone performance?

asked 2019-02-04 16:00:51 -0600

we have an openstack deployment running just fine but a simple curl command like this one: "time curl -k -v --max-time 30 https://localhost:5000%22 (https://localhost:5000") can take up to 30 seconds. For some calls it is very fast (like sub second) but some calls timeout. As far as I understand, it should just be fetching the version from the database. Other services on the box are running just fine.

A load balancer is running that consistently sends this request to the machines. I have toggled the global caching switch to on using memcache backend but that doesn't affect the performance of this simple curl command.

edit retag flag offensive close merge delete


Ensure keystone is configured to store its tokens in memcache instead of storing it in db.

Mohit gravatar imageMohit ( 2019-02-04 22:24:05 -0600 )edit

Is there a separate setting for it? What I read was all resources are set to be cache enabled and as long as the global cache switch is enabled. Can you point me to a config setting which I must ensure is set?

Babar Ismail gravatar imageBabar Ismail ( 2019-02-04 23:44:18 -0600 )edit