Maxmind GeoIP City Module

Igor Sysoev igor at sysoev.ru
Tue Aug 3 21:44:21 MSD 2010


On Tue, Aug 03, 2010 at 01:06:26PM -0400, KyleChristensen wrote:

> Igor,
> 
> I've got 0.8.48 installed, and the dma_code and area_code are working
> well. however, when I include $geoip_region_name via:
> 
> fastcgi_param   GEOIP_REGION            $geoip_region;
> fastcgi_param  GEOIP_REGION_NAME       $geoip_region_name;
> fastcgi_param   GEOIP_CITY              $geoip_city;
> fastcgi_param   GEOIP_DMA_CODE          $geoip_dma_code;
> fastcgi_param   GEOIP_AREA_CODE         $geoip_area_code;
> 
> My nginx workers start to segfault:
> 
> 2010/08/03 13:03:51 [alert] 16637#0: worker process 16733 exited on
> signal 11
> 2010/08/03 13:03:52 [alert] 16637#0: worker process 16734 exited on
> signal 11
> 2010/08/03 13:03:54 [alert] 16637#0: worker process 16732 exited on
> signal 11
> 
> The second I comment out that parameter and HUP nginx, it goes back to
> working as usual.

Could you try the attached patch ?


-- 
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.geoip_region_name.txt
Type: application/octet-stream
Size: 709 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20100803/0abe19a9/attachment.obj>


More information about the nginx mailing list