Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoIP Plugin: script executing of geopip.inc longer then 30 seconds #665

Closed
anonymous-matomo-user opened this issue Apr 16, 2009 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

Sometime is track in my php log that execution of geopip.inc takes longer than 30 seconds. It is not all the time.
The exact error:
[21:03:44](16-Apr-2009) PHP Fatal error: Maximum execution time of 30 seconds exceeded in D:\Webserver\stats.mvanlaar.net\htdocs\plugins\GeoIP\libs\geoip.inc on line 317

@robocoder
Copy link
Contributor

For the GeoLiteCity database, this line in geoip.inc is fread()’ing a 42 MB data file.

Please increase max_execution_time in php.ini. (Default is 30 seconds.)

You probably won’t need to increase the delay for Apache or IIS. (Both default to a timeout of 300 seconds.)

@mattab
Copy link
Member

mattab commented Apr 27, 2009

or, as suggested in the geoip ticket, install the apache geoip module, for higher performance.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants