Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Celso Freitas de Andrade saw 'Detected slow or failing DNS service response' in the online.log of Informix 12.10.FC13. Hal Maner and SangGyu Jeong said it points to slow DNS resolution and the network administrator should check it. Andreas Legner suggested raising the NS_CACHE onconfig value (default 900 seconds), adjustable dynamically with onmode -wm/-wf.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
Hello everybody,
I have an Informix 12.10.FC13 server running and lately I have been seeing the following message on my online.log:
"02/24/20 13:31:02 WARNING: Detected slow or failing DNS service response 1 time(s)."
Does anyone know what is this message about?
Thanks,
Regards
------------------------------
Celso Freitas de Andrade
------------------------------
#Informix
↪ replying to Celso Freitas de Andrade
Hal Maner — source: IBM Community (ConnectedCommunity.org) Informix forum
It is exactly what it says. Slow DNS name resolution is a huge performance problem on database connections. Have your network administrator check your DNS name resolution for your database server host and your network.
This is a relatively recent (in the past couple of years to my knowledge) log message addition. We always had to check several other items to figure out the cause of slow connections. In my experience, this message in the log is accurate, so, involve your network administrator for DNS name resolution.
Hal Maner
M Systems International, Inc.
------Original Message------
Hello everybody,
I have an Informix 12.10.FC13 server running and lately I have been seeing the following message on my online.log:
"02/24/20 13:31:02 WARNING: Detected slow or failing DNS service response 1 time(s)."
Does anyone know what is this message about?
Thanks,
Regards
------------------------------
Celso Freitas de Andrade
------------------------------
#Informix
↪ replying to Celso Freitas de Andrade
SangGyu Jeong — source: IBM Community (ConnectedCommunity.org) Informix forum
Andreas Legner — source: IBM Community (ConnectedCommunity.org) Informix forum
In case of network not changing frequently and only a known set of applications, from known set of hosts, connecting to Informix, you might want to be more independent from DNS (and maybe temporary glitches) by taking advantage of DNS caching which can be done on OS as well as on Informix level.
On Informix level you're configuring the Name Service Cache through NS_CACHE onconfig parameter, defaulting to 900 seconds (15 minutes) cache entry expiration time for each type of cache, i.e. a new DNS call would be required (and could slow you down), for a given host, every 15 minutes.
Nothing should keep you from increasing the cache duration to a much higher value, and should you eventually have a need to expire and re-load some outdated cached information, you can temporarily lower this dynmaically, even to zero seconds (disabling a cache), at any time (onmode -w{m|f}).
------------------------------
Andreas Legner
------------------------------
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.