-
Notifications
You must be signed in to change notification settings - Fork 25
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 leak #249
Comments
Hey, thanks for the report. @anuraaga has carried out a lot of work around memory management and https://github.com/wasilibs/nottinygc, but maybe something has to be still taken care of. How is your traffic? Are you experiencing the same behavior even disabling the body analysis ( Thanks for your help |
I did some new tests today.
So it looks kind of stable without Request Body Access, but than again continually growing with it, but not as bad as with Response Body Access in the pictures above. What do you mean by "How is your traffic?" |
Thanks for the additional information. I meant how the traffic that your ingress gateway is receiving, such as mostly |
The WAF is attached to the ingress gateway of a kubernetes cluster in the public internet. Therefore, it's really hard to determine what kind of traffic it gets. There is a lot of normal HTTP and REST traffic. There's probably also a good amount of file uploads. Some request looks weird as they have complex parameters. Grafana queries are usally a good example of that. Additionally, we get a lot of scanner and potential exploit traffic. |
Maybe related? wasilibs/nottinygc#46 |
Hello @timdittler @M4tteoP |
They slowed the leakage down, but not enough too be usable in our scenario |
While I will spend some time chasing this down I would say the next
milestone is to have Go Gc on board as per
https://github.com/wasilibs/nottinygc?tab=readme-ov-file#nottinygc.
…On Mon, May 13, 2024 at 9:25 AM Tim Dittler ***@***.***> wrote:
They slowed the leakage down, but not enough too be usable in our scenario
—
Reply to this email directly, view it on GitHub
<#249 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAR76YTDYMA73BAH6SLZCBTIDAVCNFSM6AAAAABAC5AQYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWHA2DANZQHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hello @jcchavezs Thank you guys for your efforts 🙏🏻 |
Hey, thank you very much for your extremely interesting project. I would like to try it out with Istio 1.18.5.
This is what my config looks like
However, it looks like there might be a memory leak in the proxy. The memory consumption of the ingressgateway is stable before enabling the
coraza-proxy-wasm
, but grows continues after enabling it. Memory growth when disablingcoraza-proxy-wasm
.Have you seen this behavior before? Can I help debug the problem?
The text was updated successfully, but these errors were encountered: