You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a plugin that sets a string to the Shared Context of Kong to be used in other plugins.
We noted that the memory consumption of the container increases during the workday. Apparently, the unused data is not being freed.
Based on the docs, it says that the data only exists during the existence of the request, so in my interpretation, when the request is over, the memory used would be freed, however, this does not seem the case.
I've already disabled the plugin during one day, and the memory consumption stabilizes.
Any idea how to handle this issue?
The text was updated successfully, but these errors were encountered:
Hi @lays147
I had a memory issue recently with KONG plugin written in Golang as well, could you please kindly share more code detail? It may help the investigation a lot, thanks!
The rest of the plugin can be found here. The only difference is that the corporate version of the plugin that I developed sets the JWT to the Kong cache, as shown in the snippet.
I have a plugin that sets a string to the Shared Context of Kong to be used in other plugins.
We noted that the memory consumption of the container increases during the workday. Apparently, the unused data is not being freed.
Based on the docs, it says that the data only exists during the existence of the request, so in my interpretation, when the request is over, the memory used would be freed, however, this does not seem the case.
I've already disabled the plugin during one day, and the memory consumption stabilizes.
Any idea how to handle this issue?
The text was updated successfully, but these errors were encountered: