[XML-SIG] 20 second socket.addrinfo() delay in SimpleXMLRPCServer
Fri, 3 Jan 2003 10:16:27 -0500
On Friday 03 January 2003 10:01 am, Martin v. L=F6wis wrote:
> Have you configured IPv6 interfaces for your system?
It's the standard RedHat 8.0 setup. I have no experience with IPv6.
> I would use glibcbug to report those nscd trace messages. Perhaps this
> is just a bug in the trace code, which would be harmless.
I'll wait a day or so to see if anyone else chimes in here, then I'll sub=
bug report. It's two very simple python programs, so they should be able=
duplicate it easily. My system has glibc-2.2.93-5.
Turn on the nscd log and set debugging to 5. Start the server, and then =
the client code in the interpreter and you should see the same entries in=
Here's the server:
server =3D SimpleXMLRPCServer.SimpleXMLRPCServer(("localhost", 8000))
and here's the client code:
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlrpclib
>>> server =3D xmlrpclib.Server("http://localhost:8000")