Why was OIDCCacheShmMax increased from 500 to 10000? #1243
Replies: 3 comments 3 replies
-
|
the 500 was on the very conservative side 10 years ago when this project was created; machines have far more RAM now on average - and the increase takes only a small margin of that - plus people reported unexpected warnings indeed when moving from test to full production; it is only the default setting, one can change it to their own requirements |
Beta Was this translation helpful? Give feedback.
-
|
@zandbelt Thank you for your work on this library. Does this change account for the default page sizes on different platforms? If my calculations are correct, for a 4 KiB page size (x86_64), this represents an increase from 2 MB to 40 MB. For a 64 KiB page size (PowerPC), this represents an increase from 32 MB to 640 MB. We noticed significant memory usage growth on PowerPC after upgrading from version 2.4.10 to 2.4.16 of mod_auth_openidc. To resolve this, we needed to specify a value for OIDC_DEFAULT_CACHE_SHM_SIZE/OIDCCacheShmMax, reverting it to the original default of 500. This raises two questions:
|
Beta Was this translation helpful? Give feedback.
-
|
you can override the defaults and tune them to your specific server with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
In 2.4.14, the
OIDCCacheShmMaxdirective's default value was increased from 500 to 10000. I am curious about the reason that led to such a big bump. Did the value of 500 generate too much bugs? Or is it due to a new feature in this version that works better with 10000?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions