-
Notifications
You must be signed in to change notification settings - Fork 47
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
Memory leaks when using module #44
Comments
Hello, Maybe you can downgrade the module version or the libjwt version to check if it still occurs. |
Was there ever any resolution to this? In looking at using this module I'd be fearful of a known memory leak |
I am not able to reproduce the leak with last version of everything :
Dockerfile I used
|
I found a memory leak the the create_token() function (see pull request #55). I doubt this is the same leak, but thought it worth mentioning |
Hello!
Using this module for a high-traffic web application, I've observed that the server gradually runs out of memory due to ever-increasing httpd worker process memory usage.
I've reproduced the issue with a very basic configuration, please see attached Dockerfile, it builds the module, enables JWT token auth, starts
httpd
and runsab
to generate requests.Sample output of build:
As you can see, after 1M requests, RSS column adds up to almost 4GiB.
If
Require valid-user
is commented out, this does not happen.The text was updated successfully, but these errors were encountered: