Open
Description
Originally reported by: Nelson Elhage and Stefan Fritsch.
It seems that ModSecurity is having bad performance whenever used with threaded mpms and a libapr compiled with "--enable-allocator-uses-mmap" option.
According to Stefan that option is used on apr's Debian package for over 3 years.
It is somehow related to the way that ModSecurity is individually handling every connection, by created a new memory allocator.
Relevant piece of code:
Original report:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758068
Option "--enable-allocator-uses-mmap" was added on libapr by Stefan as of 1.4.3, ChangeLog: - http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/CHANGES?view=markup
Mail sent to ModSecurity devs mailing list: - http://sourceforge.net/p/mod-security/mailman/message/32723547/