Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]: lessons to learn
- Date: Tue, 18 Jan 2011 22:24:58 +0000
- From: Bruno Raoult <braoult@example.com>
- Subject: Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]: lessons to learn
- References: <4D306C45.8080109@example.com> <20110114165007.18eb5840.jep200404@example.com> <4D311CE8.5020106@example.com> <AANLkTikKX32FFRvLbETMOMwxZ_scOx8iABuszOkuuWfg@example.com> <4D31CCD1.20506@example.com> <4D323FC1.3080803@example.com> <4D327BEB.5070806@example.com> <20110116074025.GA21244@example.com> <B94AB967-6FDE-4F2E-BC9D-03E088817FA5@example.com> <4D32D104.9060807@example.com> <AANLkTik9NEEWtMX3nAtRbvZyT4xh3MoXXYh6ow9fBiaa@example.com> <8739os8b9f.fsf@example.com> <AANLkTikV3MSZYmgY4S6ExrtSmNEKaBsRSvJZ9x7z2szp@example.com> <4D345E12.1060808@example.com> <4D3581EA.4080209@example.com> <20110118125844.54de9055.jep200404@example.com>
Hi,On Tue, Jan 18, 2011 at 17:58, <jep200404@example.com> wrote:--> Basically, it amounted to editing a file called /etc/ssh/sshd_config and
> making two changes.
>
> One was to add this line to the bottom of the file:
>
> UseDNS no
Yup. DNS (and more broadly, name resolution) issues can cause no
end of grief. A consistent delay that is a nice round number can
be a clue.
[...]
It seems that although you have made the symptoms disappear,
you do not have a complete understanding of what happened,
why it happened, and exactly what resolved the problem.
In other words, you are not really done yet.
As mentioned before, DNS (and more broadly, name resolution) issues can
cause no end of grief. Use this opportunity to more better understand
that. Ask yourself what symptoms of some future problem would suggest
scrutiny of name resolution?
Name resolution can hurt a lot.
I used the same method a couple of years ago: We were connecting to another private domain outside our own network.
Both companies had their own firewalls, and we used double NAT configuration.
DNS was not working between the domains, and firewalls (both ours and the other party ones) were configured as "black holes" (no negative answer, just no answer). ssh daemon (server side) wanted to log the name of the connecting machine, and went to the whole time-out processes, it was extremely long, just to get the prompt (a couple of minutes).
Another alternative would have been to add hosts to /etc/hosts, and ensure that nsswitch.conf was properly configured to use the file first. But I asked the 2 infra teams not to go this way, because of the double NAT configuration which would had make everything a nightmare to maintain on multiple machines across 7 countries.
My 2 Yen,
Bruno.
2 + 2 = 5, for very large values of 2.
- References:
- [tlug] Slooooooow down
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: jep200404
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Romeo Theriault
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Darren Cook
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Christian Horn
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: mariod410
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Mario De Tore
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Stephen J. Turnbull
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Mario De Tore
- Re: [tlug] Slooooooow down: logs, smartctl, DNS?
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]
- From: Dave M G
- Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]: lessons to learn
- From: jep200404
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]: lessons to learn
- Next by Date: Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]
- Previous by thread: Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]: lessons to learn
- Next by thread: Re: [tlug] Slooooooow down: logs, smartctl, DNS? [SOLVED?]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links