Results 1 to 8 of 8
Thread: Need Help: Bandwith Problem
-
04-09-2003, 02:09 PM #1Newbie
- Join Date
- Apr 2002
- Posts
- 8
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.
-
04-09-2003, 02:30 PM #2Junior Guru
- Join Date
- Feb 2003
- Posts
- 246
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
-
04-09-2003, 03:21 PM #3Newbie
- Join Date
- Apr 2002
- Posts
- 8
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?
-
04-09-2003, 04:49 PM #4Web Hosting Evangelist
- 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
-
04-09-2003, 04:51 PM #5Web Hosting Evangelist
- 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
-
04-09-2003, 04:54 PM #6Web Hosting Evangelist
- 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
-
04-09-2003, 04:59 PM #7Web Hosting Evangelist
- 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
-
04-09-2003, 06:16 PM #8Aspiring Evangelist
- Join Date
- Jul 2001
- Posts
- 363
This could be useful : http://www.analogx.com/contents/down...etwork/nsl.htm
Carl