Closed Matthias-vdE closed 1 month ago
so is it npmplus or crowdsec itself which uses this much ram?
It's the crowdsec container (so the issue might be better suited for the crowdsec github) but if it only starts acting this way when registering the bouncer in npmplus. Currently, crowdsec is running without any problems or memory issues. But the moment I follow the README to register the bouncer and restart everything it starts spewing these logs and fills the memory incredibly fast.
Yes, the reason could be the huge log, but I would recommand asking crowedsec
I recently moved all three components (npmplus, crowdsec, and geoipupdate) from three separate docker-compose files into one to make things a bit more manageable:
Everything seems to be working, but for some reason the crowdsec container's memory usage keeps growing over time:
Looking at the crowdsec log, it's also being flooded with these messages:
Which I haven't seen before. Are these logs expected and/or normal behavior? Perhaps the memory increase is just due to the logs being filled so quickly? And if that's the case, is there a way to disable these info logs?
I completely reset my configuration (removed all config files from /opt/crowdsec as well as /opt/npm/nginx/etc/crowdsec) and re-registered the crowdsec container using the README https://github.com/ZoeyVid/NPMplus?tab=readme-ov-file#crowdsec but the issue remains. Memory usage grew to 6GB and counting overnight.