Bob Halley wrote: > On 11 Jan 2010, at 08:55, Nils Breunese (Lemonbit) wrote: > >> This code gets called for a number of domains, but every once in a while >> this call to dns.query.tcp raises an EOFError for this first domain. > > [snip] > >> >> It seems the EOFError is raised by the _net_read method in query.py from >> dnspython. Does this EOFError being raised indicate a network error or could >> the cause be something else? > > It's probably the other end simply hanging up on you. That can happen if you > exceed the maximum number of concurrent tcp connections supported by a > server, or if you take too long to do I/O (i.e. the server thinks you're > idle).
The other end is a PowerDNS slave that I'm running myself. Somehow I always only seem to get this EOFError for the first SOA query in a batch the script is sending. I'm pretty sure the number of connections is not maxed out and the exception is raised very quickly, so it doesn't look like a timeout of any kind. Nils Breunese. _______________________________________________ dnspython-users mailing list [email protected] http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users
