one parameter missing from GeoIP data via FCGI

Igor Sysoev igor at
Tue Aug 24 10:10:45 MSD 2010

On Mon, Aug 23, 2010 at 09:00:26PM -0400, Dean wrote:

> I'm running v.0.8.49 with GeoIP using both a city and a country
> database.  All of the GeoIP-generated parameters passed via FGCI seem to
> work great, except that $geoip_postal_code comes through empty.  
> I've checked my fastcgi_param declarations several times (my symptoms
> seem to point to a config issue since only one variable is impacted) but
> everything looks in order.  MaxMind states that they don't have postal
> codes for all IPs, but I've tried on a few different IPs in the same
> general area here in the US with the same results--no postal code
> reported.  I don't believe it's an issue on the FCGI application side,
> since I'm just doing a dump of the whole environment at this point.
> Looking at the logfiles (debug level logging), the only thing out of
> order is 
>     2010/08/23 17:39:03 [notice] 13420#0: getrlimit(RLIMIT_NOFILE):
> 1024:1024
> which does not seem like an issue given that the number of served files
> will be less than 10 on this machine.  
> Any suggestions as to how to debug the parameter issue?

Could you test the IPs here:
Does the page show postal codes for these IPs ?

Igor Sysoev

More information about the nginx mailing list