NSCD is not caching the negative result of DNS query in Red Hat Enterprise Linux 6.6
Issue
- We have several machines where
httpdis running. - And,
nscdis used to cache the DNS query. - One machine only has a low cache hit rate (1%) for
hosts. - In a not-working machine:
# nscd -g
... snip ...
hosts cache:
... snip ...
72296 cache hits on positive entries
6 cache hits on negative entries
89820 cache misses on positive entries
5828692 cache misses on negative entries
1% cache hit rate
- What is the root cause of this?
Environment
Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
