-
Notifications
You must be signed in to change notification settings - Fork 1
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
geoipserver hangs, logging output not useful #6
Comments
Seems like it suffices to connect to the server, e.g. with Potential solutions:
|
I'm setting a default timout for all sockets used by the geoip_server. Inspiration: https://stackoverflow.com/questions/372365/set-timeout-for-xmlrpclib-serverproxy We may still consider making the server multi-threaded, and/or time out in slightly more elegant (higher-layer) ways.
The problem isn't too prevalent btw. The backup geoip server hung on a connection only last week, ~18 months after the first report of this issue. I've patched it using the "interim fix" from above, i.e. a five second socket timeout. |
The geoipserver is prone to hangs, and the logging it provides isn't adequate to debug the problem.
From a recent hiccup that left the server hanging intermittently (until I
^C
'd one of the threads and thus unblock it):Also,
Thanks @us341 for debugging support.
The text was updated successfully, but these errors were encountered: