How GeoIP database stored in memory?

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?

Posted at Nginx Forum:

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 D.