The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slow SSH login and SMTP rcpt to

Discussion in 'E-mail Discussions' started by luis, Sep 13, 2006.

  1. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I have had this problem for a while now, can't find a solution for it so far...

    When loggin in into SSH it hangs for about 30 - 40 seconds before doing it. Once logged it works normally.

    When trying to send email the same occurs (just sending). After a manual chat with the server I found that the delay is after the "rcpt to" command.
    Also, when rcpt to is accepted it works normally.

    I use ev1 DNS servers as resolvers, contacted them but they say they are working ok... don't know where else to look.

    This is my /etc/resolv.conf

    root@rva [~]# more /etc/resolv.conf
    search localdomain
    nameserver 207.218.192.38
    nameserver 207.218.192.39

    Any help would be much appreciated :)
     
  2. loststryk

    loststryk Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, UK.
    you tried running your own dns ?
     
  3. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for your response

    Yes, I tried using 127.0.0.1 at the top of resolv.conf and it worked great with both SSH and rcpt to but that action led to more problems specially with email (lots of problems). Besides, if you use 127.0.0.1 WHM alerts you of security issues.

    I also tried changing to other DNS resolvers (another DC at EV1) with no luck.
     
  4. luis

    luis Well-Known Member

    Joined:
    Sep 3, 2001
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Today the ev1 techs changed the DNS servers to the other ones thay have. Now I'm even more confused, they worked ok for a while but now is back to where it was.

    Just noticed this: you know that when you log into SSH it greets you with the last login message... well, when it works fine it will show a hostname and when it is not working ok it hangs for 30-40 secs and show you just the IP.

    Any clues?
     
Loading...

Share This Page