Results 1 to 20 of 20
  1. #1
    Join Date
    Dec 2007
    Posts
    72

    * High Ping + Packet Loss at Dedicated Server

    I am facing high ping and packet loss issues with a server hosted at hetzner.de (CentOS + WHM)

    For some unknown reason pings go high and stay like this (average 1500ms) until I reboot the server.

    Here is a screenshot of tracert from server to me: http://www.imagebam.com/image/37409243863747

    Any tips and opinions are more than welcome.

    Thank you in advance!

  2. #2
    Join Date
    Jun 2004
    Location
    Atlanta, GA
    Posts
    55
    Just by looking at your traceroute the latency to your first hop is extraordinarily high.

    What are your loads on this server? How fast is your physical port speed?

    A little minor troubleshooting should point you in the right direction. Try checking your mrtg/rtg graph, or running top and iostat. Do you see a high percent of IOWAIT?

    When in doubt open up a trouble ticket with your provider and have them investigate the issue.
    AS46176SavvisAbovenetnLayerMzimaOneringLevel3CogentTelia Fully Route Optimized
    DC#1 55 Marietta St. Atlanta GA | DC#2 34 Peachtree St. Atlanta GA | DC#3 PhoenixNAP Phoenix AZ
    Follow us on twitter @SoutheastWeb or visit our website

  3. #3
    Join Date
    May 2006
    Location
    EU & USA
    Posts
    3,684
    Those high values solved by a reboot; would make me advise you to contact your server management company and let them look into it; either the server is to busy (to small for to many requests) or you may have some kind of attack to your server. Really there are to many reasons why this can happen.

  4. #4
    Join Date
    Jan 2004
    Location
    UK
    Posts
    3,207
    also, speak to your provider and ask them if any of the other servers in the same cab are bursting to port speed. (common cause of packet loss). sounds like to me they have over sold there network either that or a dogy switch some where.

    however considering you said its your server that gets sorted by a reboot. im more inclined to say its a dogy script or somthing on ur box giving you issues..done any scans for virues, trojans etc?

  5. #5
    Join Date
    Dec 2007
    Posts
    72
    Quote Originally Posted by SoutheastWeb View Post
    Just by looking at your traceroute the latency to your first hop is extraordinarily high.
    Correct, that's why I believe it's a server-side issue.

    What are your loads on this server? How fast is your physical port speed?
    Server loads are low (0.30 0.90 1.51), speed eth0: negotiated 100baseTx-FD flow-control, link ok

    A little minor troubleshooting should point you in the right direction. Try checking your mrtg/rtg graph, or running top and iostat. Do you see a high percent of IOWAIT?
    I have some troubles configuring mrtg, but here are other details.

    top: http://www.imagebam.com/image/fa69e443868602
    iostat: http://www.imagebam.com/image/bb70cd43868656

    When in doubt open up a trouble ticket with your provider and have them investigate the issue.
    I have, but they confirm it's nothing wrong with their network or HW, because after rebooting works normally.

    Any suggestions on what to do next?

  6. #6
    Join Date
    May 2006
    Location
    EU & USA
    Posts
    3,684
    Did you check your connections to your server ?

    i.e.
    netstat -an |grep tcp|awk '{print $5}'|cut -d: -f1|sort|uniq -c|sort -n
    might want to replace : grep tcp with : grep "tcp\|udp"

  7. #7
    Join Date
    Dec 2007
    Posts
    72
    Quote Originally Posted by 040Hosting View Post
    Did you check your connections to your server ?
    might want to replace : grep tcp with : grep "tcp\|udp"
    Does it look "ok" to you?

    udp: http://www.imagebam.com/image/50051043871198
    tcp: http://www.imagebam.com/image/cd545a43871266

  8. #8
    Join Date
    May 2006
    Location
    EU & USA
    Posts
    3,684
    Seems to be okay as well; one other thing you may have a problem with is the firewall; if you installed any; did you try what happens when disabling it; or completely flushing all added rules ?

  9. #9
    Join Date
    Dec 2007
    Posts
    72
    I haven't installed any additional firewall. Server was built a week ago, and working fine till yesterday.

  10. #10
    Join Date
    May 2006
    Location
    EU & USA
    Posts
    3,684
    I would install a firewall asap to block any unwanted traffic. I would suggest to look at CSF; http://www.configserver.com/cp/csf.html

    and let someone look at your server with server management skills to find out where this comes from.
    » cPanel Servers in Europe: Strasbourg (FR), Haarlem & Amsterdam (NL) & Kent (UK), USA (Los Angeles, St.Louis), Asia (Singapore) | Follow us at Twitter: @040hosting
    »
    Shared | Reseller | (managed) Dedicated Hosting | Domain Registrar | SSL Registrar | Cloudlinux Partner| 040Hosting (Registered company #17093425 KVK Eindhoven, The Netherlands)

  11. #11
    Join Date
    Dec 2007
    Posts
    72
    Do you recommend any management service I should contact?

  12. #12
    Join Date
    May 2006
    Location
    EU & USA
    Posts
    3,684
    There are plenty of companies; try to look at the WHT wiki for managed companies; and you will see a whole list of companies you can contact.

  13. #13
    Join Date
    Jun 2004
    Location
    Atlanta, GA
    Posts
    55
    Quote Originally Posted by Urosino View Post
    Server loads are low (0.30 0.90 1.51), speed eth0: negotiated 100baseTx-FD flow-control, link ok



    I have some troubles configuring mrtg, but here are other details.

    top: http://www.imagebam.com/image/fa69e443868602
    iostat: http://www.imagebam.com/image/bb70cd43868656
    The load seems fine, same with the iostat output. Is the server still showing high latency? Do these captures again when the server is slow. Your provider should have a traffic graph, if not try making a request. Are you bursting higher than the rate limit or physical port speed? There are any number of reasons for high latency, keep digging.
    AS46176SavvisAbovenetnLayerMzimaOneringLevel3CogentTelia Fully Route Optimized
    DC#1 55 Marietta St. Atlanta GA | DC#2 34 Peachtree St. Atlanta GA | DC#3 PhoenixNAP Phoenix AZ
    Follow us on twitter @SoutheastWeb or visit our website

  14. #14
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Provide the output of lspci, I believe hetzner use realtek nics which have an issue with the r8169 driver provided by centOS. Using the old version r8168 will correct it.
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  15. #15
    Join Date
    Dec 2007
    Posts
    72
    Your provider should have a traffic graph, if not try making a request.
    I have checked a graph, nothing special showing, no spikes.

    Quote Originally Posted by Scott.Mc View Post
    Provide the output of lspci, I believe hetzner use realtek nics which have an issue with the r8169 driver provided by centOS. Using the old version r8168 will correct it.
    Here is output of lscpi: http://www.imagebam.com/image/6b652e43965908

    Does this make sense Scott?

  16. #16
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Quote Originally Posted by Urosino View Post
    I have checked a graph, nothing special showing, no spikes.



    Here is output of lscpi: http://www.imagebam.com/image/6b652e43965908

    Does this make sense Scott?
    So it is the realtek driver, try what I said and install the r8168 driver which should correct the issue.
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  17. #17
    Join Date
    Jun 2004
    Location
    Atlanta, GA
    Posts
    55
    Quote Originally Posted by Urosino View Post
    I have checked a graph, nothing special showing, no spikes.



    Here is output of lscpi: http://www.imagebam.com/image/6b652e43965908
    Looks like a Core i7, your nic should compatible with CentOS (RT811/8168B).

    Paste the output of netstat -i, ifconfig eth0, and don't forget to cover up your IP address.
    AS46176SavvisAbovenetnLayerMzimaOneringLevel3CogentTelia Fully Route Optimized
    DC#1 55 Marietta St. Atlanta GA | DC#2 34 Peachtree St. Atlanta GA | DC#3 PhoenixNAP Phoenix AZ
    Follow us on twitter @SoutheastWeb or visit our website

  18. #18
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  19. #19
    Join Date
    Dec 2007
    Posts
    72
    I will try to install driver and get back to you.

    Just a question Scott, do I need to follow "Using kmod-r8168 from elrepo.org on CentOS" step only or "Installation from source" as well?

    Thank you Scott and SoutheastWeb.

  20. #20
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Quote Originally Posted by Urosino View Post
    I will try to install driver and get back to you.

    Just a question Scott, do I need to follow "Using kmod-r8168 from elrepo.org on CentOS" step only or "Installation from source" as well?

    Thank you Scott and SoutheastWeb.
    You can use either, no need to both. The kmod-r8168 will most likely be a prebuilt module for your CE kernel so you will only need to install this, this is likely the easier option for you.

    The other option is to install from source which base in mind you will need the kernel rpm to provide the sources in /usr/src before you can compile against it.
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

Similar Threads

  1. Packet Loss on Ping
    By Neokenzo in forum Web Hosting
    Replies: 21
    Last Post: 06-10-2009, 01:00 PM
  2. Nocster/BurstNET with a high ping and 75% packet loss...
    By thomas.smith in forum Providers and Network Outages and Updates
    Replies: 1
    Last Post: 11-02-2004, 12:43 PM
  3. Packet loss & high ping
    By okok in forum Hosting Security and Technology
    Replies: 6
    Last Post: 06-20-2004, 04:52 PM
  4. The Planet Packet Loss - Can someone ping this server for me?
    By Pheaton in forum Hosting Security and Technology
    Replies: 11
    Last Post: 06-07-2004, 01:08 AM
  5. Packet loss - Can someone ping this IP address?
    By Predator in forum Web Hosting Lounge
    Replies: 19
    Last Post: 03-25-2002, 11:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •