Open TokuiNico opened 5 months ago
@TokuiNico: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
Hello!
I also stumbled on this issue and it's actually a "bug" in coraza. I reported it to them and it's fixed but will be released in version 3.2
https://github.com/corazawaf/coraza/issues/922#issuecomment-2095964206
My hotfix for this is to run a scheduled cron once a day to cleanup.
find /tmp/ -type f -regex '.*/\(crzmp.*\|body.*\)' -mmin +5 -delete
Thank you for your help. I will apply hotfix first.
What happened?
I started to use AppSec component 1 month ago and everything went well. However, I found After starting AppSec, the /tmp folder will quickly increase with a large number of files, the file names will be in a format like
crzmp1015053877
.In less than an hour, there will be an increase of over 200 MB of temporary files.
What are these files? Is there any way to remove them?
Thanks
What did you expect to happen?
I expected the AppSec component to run without generating a large number of temporary files in the /tmp folder.
How can we reproduce it (as minimally and precisely as possible)?
crzmp[digits]
.Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
Config show
Prometheus metrics
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.