High memory usage with nginx on 3.0.3

Henri Cook <[email protected]> Tue, 5 Jan 2021 17:13:56 +0000
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <CALag=sUKw6C2hTd5itymfx6_4YGy9_HndxvULVM5OLTtd4R-4A@mail.gmail.com>
Hi all,

I'm running modsecurity 3.0.3 and modsecurity-nginx 1.0.0

Recently i've been working with a new payload, which is about 5.5MB of
JSON. When anyone POSTs this to my nginx instance memory on the container
goes from about 30MB (resting rate) to 140MB!

I've tried turning off the rule engine (ctl:ruleEngine=off) for traffic to
this specific path (@beginsWith /foo) but memory usage is still jumping
massively.

Can anyone think that might be causing this? and how I might stop it? I
could live without having this content inspected if that's what it takes.

Best Regards,

Henri

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/