Geoip cache options patch
Brian.Akins at turner.com
Mon Dec 20 21:29:20 MSK 2010
The attached patch allows you to change the geoip cache option in the
config. For example:
geoip_country /usr/share/GeoIP/GeoIP.dat mmap;
Will use GEOIP_MMAP_CACHE. The default is memory ( GEOIP_MEMORY_CACHE ),
the same as today. The mmap option can make a large difference in memory
usage when using the large city data files.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2920 bytes
Desc: not available
More information about the nginx-devel