Skip to content

Bad performance when used with threaded mpms and a libapr compiled with "--enable-allocator-uses-mmap" option #768

Open
@zimmerle

Description

@zimmerle

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:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions