How GeoIP database stored in memory?

Maxim Dounin mdounin at mdounin.ru
Sat Jul 2 11:52:08 MSD 2011


Hello!

On Fri, Jul 01, 2011 at 08:49:05PM -0400, temma wrote:

> I use nginx with N worker processes.
> GeoIP City database is pretty big, how does it stored in memory ? Is
> every worker process have it's own geoip database ? Or are the using
> shared memory ? How does it work?

Already replied in Russian list, in short: it's loaded to memory 
on configuration parsing and inherited by workers on fork().  Very 
much like any other configuration.

Maxim Dounin



More information about the nginx mailing list