ory / oathkeeper

A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=hydra
Apache License 2.0
3.2k stars 349 forks source link

Observed memory leak in v0.40.3 #1112

Closed shoujun closed 10 months ago

shoujun commented 1 year ago

Preflight checklist

Describe the bug

When upgrading from v0.38.14 to v0.40.3, we observed memory leak on our Oathkeeper instances, and we have to revert the upgrade.

SCR-20230616-irdc

SCR-20230616-iuii

Reproducing the bug

Need the instructions to reproduce the issue out of our PROD ENV.

Relevant log output

No response

Relevant configuration

No response

Version

v0.40.3

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Kubernetes

Additional Context

No response

aeneasr commented 1 year ago

Thank you for the report. The memory leak should be resolved on master. We also have a release in the pipeline!

z0lope0z commented 1 year ago

is the fix part of v0.40.4 release?

https://github.com/ory/oathkeeper/releases/tag/v0.40.4

aeneasr commented 1 year ago

I believe so!

alnr commented 10 months ago

Resolved in 0.40.4