Results 1 to 8 of 8
  1. #1

    Exclamation Need Help: Bandwith Problem

    I am currently collocating 4 Win2K web servers and for the last month, I have been getting bandwith spikes usage which have pretty much double my hosting bill. These spikes occur every hour or so and go up to 5mb/s per the MRTG graph the data center provides. This is data that is coming from the server and not into it. Since MRTG does not break it down the usage by IP, I am having a hard time finding out which server is the one that is generating the traffic. What can I do get to get to the bottom of this issue?

    Any suggestions will be greatly appreciated.

  2. #2
    If you're colocating, you should have managed switches.

    Running MRTG on a managed switch will tell you the usage per port.

    How else do you do bandwidth accounting to bill your customers?
    Hugh Buchanan
    harveyopolis corporation
    userfriendly.com / killersecurity.com

  3. #3
    That is part of the problem, I have an umanaged switch. I dont charge my customers for bandwith since hosting is an added bonus to other services I offer to them. Hosting is not my core business. Is there any software I can use to see which IPs and ports using the bandwith traffic?

  4. #4
    Join Date
    Dec 2002
    Location
    Toronto, Canada
    Posts
    522
    Each Win2k system has a program 'netstat'. It tells you exactly which ports are open and where they are connected to. You can run the following command that will write it to file:

    netstat 1000 > file_full_path.log

    Basically, it will repeat every 1000 ms and write all output to the file. Make sure to include the full path to the file.
    Nokhrin - http://www.nokhrin.com/
    ~ e-commerce application development

  5. #5
    Join Date
    Dec 2002
    Location
    Toronto, Canada
    Posts
    522
    Sorry, that's in seconds, not ms.
    Nokhrin - http://www.nokhrin.com/
    ~ e-commerce application development

  6. #6
    Join Date
    Dec 2002
    Location
    Toronto, Canada
    Posts
    522
    Run 'netstat -help' for full command details. Great program
    Nokhrin - http://www.nokhrin.com/
    ~ e-commerce application development

  7. #7
    Join Date
    Dec 2002
    Location
    Toronto, Canada
    Posts
    522
    Sorry for so many posts. Just a notice regarding netstat: you may need to shut it down before it flushes the log files. It has a buffer of about 500KB, I think, and won't flush until the buffer is filled.
    Nokhrin - http://www.nokhrin.com/
    ~ e-commerce application development

  8. #8
    Join Date
    Jul 2001
    Posts
    363

Posting Permissions

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