Memory leak in Python plugin server

Hi all,

We ran into a pretty bad memory issue in the plugin server that does not allow us to go live with Kong. More details could be found in GitHub - vtlkvl/kong-python-pluginserver-memory-leak. We tried to downgrade Python to 3.9, use malloc and jemalloc, but nothing helped. Did anyone have a similar experience and what are possible options to resolve it?

Thanks,
Vitalii

It turned out to be an issue in the plugin server. I’ve reported a bug - Memory leak in server.py · Issue #120 · Kong/kong-python-pdk · GitHub.

It should be resolved in Kong PDK 0.35.