Welcome! Log In Create A New Profile

Advanced

Re: Geoip cache options patch

December 20, 2010 02:00PM
On Mon, Dec 20, 2010 at 09:41:28PM +0300, Igor Sysoev wrote:

> On Mon, Dec 20, 2010 at 01:29:20PM -0500, Akins, Brian wrote:
>
> > 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.
>
> Thank you for the patch.
> How large bases do you use ? As far as I remember MaxMind bases are too

Sorry, typo: are NOT too big, of course.

> big, at least no more than 50M. I think this is not big issue to keep
> it entirely in memory.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Geoip cache options patch Attachments

Akins, Brian 2463 December 20, 2010 01:30PM

Re: Geoip cache options patch

Akins, Brian 803 December 20, 2010 01:38PM

Re: Geoip cache options patch

Igor Sysoev 833 December 20, 2010 01:42PM

Re: Geoip cache options patch

Igor Sysoev 826 December 20, 2010 02:00PM

Re: Geoip cache options patch

Akins, Brian 692 December 20, 2010 05:46PM

Re: Geoip cache options patch

Eugaia 725 December 20, 2010 05:58PM

Re: Geoip cache options patch

Akins, Brian 673 December 20, 2010 06:26PM

Re: Geoip cache options patch

Eugaia 730 December 20, 2010 07:42PM

Re: Geoip cache options patch

Igor Sysoev 791 December 21, 2010 07:28AM

Re: Geoip cache options patch

Akins, Brian 1000 December 21, 2010 09:20AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready