Comment 14 for bug 1666072

Revision history for this message
Julien Danjou (jdanjou) wrote :

I guess you did not understand completely the hypothesis I formulated. I'll reply to your comments:

> Since it's "capabilities" requests that blocked all preforks in apache, could it be that gnocchi can't neither serve them nor drop?
> And just blocking on them. Maybe some problem with serving capabilities request?

Yes, it can't serve them because it has to verify the authentication through Keystone. But Keystone is unreachable since Apache is already full.
Capabilities is static data, so the problem is not *in* Gnocchi, it's just before in the Keystone middleware it uses for authentication.

> 1) Too much parallel same requests from ceilometer to gnocchi. It's definetly a bug.

Not really. It's just Ceilometer spawning threads to handle concurrently messages, and each threads need to do this request. I'll try to see if it can be lowered.

> Gnocchi shouldn't block request, need some timeout and release the apache prefork after it.

This is not Gnocchi blocking. This is the Keystone auth token middleware.

At least, if my scenario is correct and unless proven otherwise. :-)