ory / hydra

The most scalable and customizable OpenID Certified™ OpenID Connect and OAuth Provider on the market. Become an OpenID Connect and OAuth2 Provider over night. Broad support for related RFCs. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=hydra
Apache License 2.0
15.64k stars 1.5k forks source link

Hydra is consuming a lot of memory in prod #3828

Closed brenobaptista closed 1 month ago

brenobaptista commented 2 months ago

Preflight checklist

Ory Network Project

No response

Describe the bug

Hydra is consuming a lot of memory in prod, which is only getting bigger, like a cache Is there a way for us to free the resources?

image image

Reproducing the bug

We're self-hosting it. We don't see any config that could be causing this.

Relevant log output

No response

Relevant configuration

No response

Version

2.1.1

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Kubernetes

Additional Context

No response

aeneasr commented 2 months ago

Please upgrade to the latest version