Geoip cache options patch

Akins, Brian Brian.Akins at
Tue Dec 21 17:19:36 MSK 2010

On 12/21/10 7:27 AM, "Igor Sysoev" <igor at> wrote:

> BTW when GeoIP_open() uses mmap(), it calls mmap() with MAP_PRIVATE flag,
> which means that pages modified in a worker ceased to be shared between
> workers, so basically there is no difference from malloc() method.

Ahh, I didn't realize that.  So yeah, no need for my patch ;)  It was good
practice in nginx for me if nothing else.

Brian Akins

More information about the nginx-devel mailing list