From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Mon 30 Dec 2002 - 22:04:55 GMT
On Sun, 29 Dec 2002 20:12:02 -0500, Herbert Poetzl wrote
> On Sun, Dec 29, 2002 at 01:44:39PM -0500, Dinesh Mistry wrote:
> >
> > All,
> >
> > Maybe I have my vserver's misconfigured but I am running into a problem
> > where the socket connection takes a very long time to connect sometime more
> > than 10seconds.
> >
> > For example if I telnet to the IP port 25 of one of my vserver's it just
> > sits there for a about 15seconds before actually making the connection. I
> > have tried from the host server itself and from a remote server.
> >
> > telnet IP 25
> > Trying IP...
> > Connected to IP.
> > Escape character is '^]'.
>
> check if your name services (especially nis,nis+,dns)
> are working within the virtual server ..
>
> # dig <some domain>
>
> to verify enter the host/ip you are connecting from
> in /etc/hosts ...
>
> often delays in connections (telnet, ssh, ...)
> are caused by reverse name lookups/timeouts ...
Even that is not enough (filling /etc/hosts). It still perform other dns queries.
Still don't know why. I think it is related to ipv6 (although I have no ipv6 configured
on the box).
---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc