When attempting to update the value of a shared dictionary using direct nginx injection, Kong fails to start with an error similar to the below:
nginx: [emerg] the size 25165824 of shared memory zone "kong_rate_limiting_counters" conflicts with already declared size 12582912 in /usr/local/kong/nginx-kong.conf:45Note: The size, dictionary name and line number references may vary depending on which value you are updating.
For example, adding the below to your kong configuration will produce this error:
nginx_http_lua_shared_dict = kong_rate_limiting_counters 128m