Hello, when I use ssh to connect to my domU, it takes between 10 and 30 seconds until I''m connected. It looks like incoming connections encounter a problem. When I try to connect from the domU to a physical machine, there is no such delay. Has anybody ever experienced such delays in domUs ? Thanks, fabienne _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
are you using some dns entries in resolve.conf ? On Sun, Apr 25, 2010 at 12:29 AM, fabienne <fabi.a169@gmail.com> wrote:> Hello, > > when I use ssh to connect to my domU, it takes between 10 and 30 seconds > until I''m connected. It looks like incoming connections encounter a problem. > When I try to connect from the domU to a physical machine, there is no such > delay. > Has anybody ever experienced such delays in domUs ? > > Thanks, > fabienne > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I addition to the resolve.conf I have found mapping the hostname to IP address in the /etc/hosts file also helps. I heard somewhere there is a setting in the sshd config file that disables dns lookup. Best regards, J. D. On Sat, Apr 24, 2010 at 3:04 PM, Arpan Jindal <jindalarpan@gmail.com> wrote:> are you using some dns entries in resolve.conf ? > > On Sun, Apr 25, 2010 at 12:29 AM, fabienne <fabi.a169@gmail.com> wrote: > >> Hello, >> >> when I use ssh to connect to my domU, it takes between 10 and 30 seconds >> until I''m connected. It looks like incoming connections encounter a problem. >> When I try to connect from the domU to a physical machine, there is no such >> delay. >> Has anybody ever experienced such delays in domUs ? >> >> Thanks, >> fabienne >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
by default useDNS value in sshd_config is set to yes change it to no On Sun, Apr 25, 2010 at 12:45 AM, J. D. <jdonline@gmail.com> wrote:> I addition to the resolve.conf I have found mapping the hostname to IP > address in the /etc/hosts file also helps. I heard somewhere there is a > setting in the sshd config file that disables dns lookup. > > Best regards, > > J. D. > > > On Sat, Apr 24, 2010 at 3:04 PM, Arpan Jindal <jindalarpan@gmail.com>wrote: > >> are you using some dns entries in resolve.conf ? >> >> On Sun, Apr 25, 2010 at 12:29 AM, fabienne <fabi.a169@gmail.com> wrote: >> >>> Hello, >>> >>> when I use ssh to connect to my domU, it takes between 10 and 30 seconds >>> until I''m connected. It looks like incoming connections encounter a problem. >>> When I try to connect from the domU to a physical machine, there is no such >>> delay. >>> Has anybody ever experienced such delays in domUs ? >>> >>> Thanks, >>> fabienne >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
--On 24 April 2010 20:59:51 +0200 fabienne <fabi.a169@gmail.com> wrote:> when I use ssh to connect to my domU, it takes between 10 and 30 seconds > until I''m connected. It looks like incoming connections encounter a > problem. When I try to connect from the domU to a physical machine, there > is no such delay. > Has anybody ever experienced such delays in domUs ?Is dd if=/dev/random of=/tmp/x bs=1 count=1024 slow? If so, that''s lack of random number entropy that''s doing it. -- Alex Bligh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 24 Apr 2010, at 22:58, Alex Bligh <alex@alex.org.uk> wrote:> > > --On 24 April 2010 20:59:51 +0200 fabienne <fabi.a169@gmail.com> > wrote: > >> when I use ssh to connect to my domU, it takes between 10 and 30 >> seconds >> until I''m connected. It looks like incoming connections encounter a >> problem. When I try to connect from the domU to a physical machine, >> there >> is no such delay. >> Has anybody ever experienced such delays in domUs ? > > Is > dd if=/dev/random of=/tmp/x bs=1 count=1024 > slow? > > If so, that''s lack of random number entropy that''s doing it. > > -- > Alex Bligh > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersDns wonky? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I know that I induce delays of this kind by not configuring reverse DNS correctly. Sent from my iPhone On Apr 24, 2010, at 6:15 PM, Tom Brown <tom@ng23.net> wrote:>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users