Performance problem in oidc_refresh_token_grant #1237
-
Hi OpenIDC team + community, Unfortunately, our hosting provider upgraded last Sunday to mod_auth_openidc version 2.4.14.4 which causes now some troubles in a clustered environment (with 4 nodes). The problem occurs in oidc_refresh_token_grant in the very beginning
Between
after that the refreshing of the token worked smoothly (so in the end the access was even granted after 90s of processing). So, it looks like a performance problem either in I know that upgrading to a newer version is the preferred way (also for me) - unfortunately, our hosting provider is not that flexible and it takes at least one month until a new version will be deployed: Therefore a short question - and may be you have an answer ad-hocly from your experience: Thx for your support. Martin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I cannot explain where the delay comes from, it seems to me that the culprit is |
Beta Was this translation helpful? Give feedback.
I cannot explain where the delay comes from, it seems to me that the culprit is
oidc_cache_mutex_lock
but I don't remember such an issue being reported before. As a workaround you may change the config to not rely on the refresh token grant by removingOIDCUserInfoRefreshInterval
and/orOIDCRefreshAccessTokenBeforeExpiry
.