Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly memory leak #88

Open
ittus opened this issue Mar 23, 2022 · 2 comments
Open

Possibly memory leak #88

ittus opened this issue Mar 23, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ittus
Copy link

ittus commented Mar 23, 2022

Is this a bug report or feature request?

  • Bug Report

Describe the bug
After a while, the authservice pod consume a lot of memory
Screen Shot 2022-03-23 at 11 39 05

How to Reproduce
Steps to reproduce the behavior:

  1. Deploy AuthService version e236439 with oidc provider
  2. Wait a while (6 hours) and check the authservice pod

Expected behavior
Memory consumption should be stable

@ittus ittus added the bug Something isn't working label Mar 23, 2022
@abaland
Copy link

abaland commented Aug 29, 2022

@ittus Did you by any chance find a solution for this?
We're hitting a similar issue with this pod in Kubeflow where the memory stays constant for some random amount of time (between a few minutes and 2 days), then suddenly the container's memory usage just increases very fast and the session DB in the PVC also explodes in size.
At the same time, the authservice stops accepting requests so we have to manually kill the pod and let it be recreated to be able to authenticate again....since this is an almost daily issue, I'd love to know if you found a fix.

@ittus
Copy link
Author

ittus commented Aug 30, 2022

@abaland

We've forked this repository, changing storage from boltdb to redis. In redis, the item is expired correctly.
It works for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants