Limit retries in ping gethostbyname

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
fedux
Posts: 1
Joined: Tue Apr 13, 2010 2:06 pm

Limit retries in ping gethostbyname

Post by fedux »

Hi,

I have a local DNS that resolves queries from spine. If its internet conection is lost, then spine retries DNS queries as fast as it cans and the DNS servers uses 100% CPU trying to respond.

This patch limits the retries and introduces a small delay between each retry, giving the DNS time to recover.
Attachments
ping-dns-retry-limit.patch
0.8.7e
(1.39 KiB) Downloaded 219 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

SVN#5740 fixes this. Thanks for the contribution
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests