MicroWorldwide / namebench

Open-source DNS Benchmark Utility
https://code.google.com/p/namebench/
Apache License 2.0
0 stars 0 forks source link

namebench can get in an infinite wait loop during testing #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Schedule tests for 2500 nameservers
2. Wait..
3. Wait...

What is the expected output? What do you see instead?

I expect it to finish, but it gets stuck on the final one. Perhaps an external 
timer would be nice.

Original issue reported on code.google.com by helixblue on 2 Jul 2010 at 10:47

GoogleCodeExporter commented 9 years ago
Running MAC OS 10.8.2 with current name bench utility. Query Data Source is 
Safari (856). Stuck on waiting for wildcard cache queries from 22 servers.

Original comment by BailinSt...@gmail.com on 27 Oct 2012 at 11:54

GoogleCodeExporter commented 9 years ago
Same here - Mac OS X 10.8.2 - Query source is Chrome. Stuck on waiting for 
wildcard cache queries from 22 servers.

Original comment by blu...@gmail.com on 28 Oct 2012 at 2:16

GoogleCodeExporter commented 9 years ago
Same here.  Query source Chrome.  Hangs on waiting for wildcard queries from 22 
servers.

Original comment by and...@andrewbough.co.uk on 10 Nov 2012 at 7:22

GoogleCodeExporter commented 9 years ago
I use OSX 10.8.2 and I hit the same issue. Stuck waiting for wildcard cache 
queries which does not complete.

Original comment by shash...@gmail.com on 12 Nov 2012 at 10:28

GoogleCodeExporter commented 9 years ago
Same issue on OS X 10.8.2

Original comment by rop...@gmail.com on 3 Dec 2012 at 4:28

GoogleCodeExporter commented 9 years ago
Please see Issue 219 for the Mountain Lion issue with wildcard cache queries.

Original comment by logatron...@gmail.com on 17 Dec 2012 at 10:06

GoogleCodeExporter commented 9 years ago
Got it. Checking on the solution now. 

Change this file: namebench.app/Contents/Resources/libnamebench/health_checks.py
Old line 203: "hostname = 'namebench%s.%s' % (random.randint(1, 2**32), domain)"
New line 203: "hostname = 'namebench%s.%s' % (random.randint(1, 2**16), domain)"

Original comment by BailinSt...@gmail.com on 17 Dec 2012 at 7:53

GoogleCodeExporter commented 9 years ago
That line change seemed to do the trick. Working well now.

Original comment by BailinSt...@gmail.com on 18 Dec 2012 at 3:59