Dear Maintainer,
We are using Apache2 mpm_event and under high load we see a lot of error messages from modsecurity that look like this:
ModSecurity: collections_remove_stale: Failed deleting collection (name "ip", key "1.2.3.4_3d0740369120b3ec6f500b2539b7d0aa268882b8"): Internal error (specific information not available)
and also hundreds of apache threads that are stuck in the "Logging" state. This bug was fixed upstream: https://github.com/SpiderLabs/ModSecurity/issues/576
In order to activate the fix one has to add --enable-collection-global-lock to the configure options.
We already built our own package package from the deb-src with this option added and can confirm that it works, without the need to change any other configuration.
It would be nice to have this option added in future releases of the package.
Best Regards
Robin Koch