Skip to content

Memory leaks when using rule with @validateSchema #1553

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

Closed
dennus opened this issue Sep 5, 2017 · 1 comment
Closed

Memory leaks when using rule with @validateSchema #1553

dennus opened this issue Sep 5, 2017 · 1 comment

Comments

@dennus
Copy link

dennus commented Sep 5, 2017

Hello!
I'm try to use libmodsecurity-3.0.0 rc1 with latest nginx-connector sources, and when I try to validate xml using @validateSchema rule, I see that nginx-worker process memory is grow very fast. No another rules is used, only validation.
E.g., I'm run ab with this params :
ab -T text/xml -p request.xml -n 10000 -c 100 -k http://localhost:8081/xml_request
Before running test, worker proccess used 68M memory
After second:
664,7813
After third:
1255,145
After fouth
1847,445
And finally, after five attempt:
2438,094

No memory cleared after all.

@victorhora victorhora self-assigned this Sep 6, 2017
@zimmerle zimmerle added this to the v3.0.0 feature complete milestone Oct 10, 2017
@zimmerle zimmerle self-assigned this Oct 10, 2017
@zimmerle
Copy link
Contributor

Fixed as part of 41bf7f7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants