On Jan 22, 2007, at 14:44, Matt L. wrote:
After running through aproximately 512 ip to name resolutions, the
resolv-replace library seems to become very slow and starts
blocking threads. Any ideas?
Any good alternatives for doing ip address to name lookups on
thousands of systems?
I’ve experienced this problem and assumed it was due to resolv-
replace waiting for the destination name servers to time out, but
didn’t verify. Have you examined this possibility?
If you’ve got 1000 bogus host names, 100 threads and a 30 second
timeout per thread you’ll still wait at least 5 minutes for all of
them to fail to resolve.
Eric H. - [email protected] - http://blog.segment7.net
I LIT YOUR GEM ON FIRE!