LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Daemon on Mandrake box saturating network connection? (https://www.linuxquestions.org/questions/linux-networking-3/daemon-on-mandrake-box-saturating-network-connection-204284/)

Laptop765 07-12-2004 08:23 PM

Daemon on Mandrake box saturating network connection?
 
Hello, I've had a Mandrake server running (9.2 I believe) as a server hosting an HTTP server and a few other things at my house for personal items. It has ran fine for quite a few months, but just recently started causing problems. It has been saturating my cable connection to the point where all the other computers on the network start timing out on pings to my ISP, which are usually under 10ms. I'm not sure what may have caused this, and I was wondering if someone (or many people) could help me find out what's causing the big problem (Bittorrent maybe, but I limited the upload rate to 2kb/sec). I would appreciate any help, because I really don't want to go back to Windows 2000 Server...

Capt_Caveman 07-12-2004 09:37 PM

Hard to guess what it might be. Try using tcpdump to get an idea of where the traffic is being generated.

Laptop765 07-13-2004 03:37 PM

Hmm, it seems to be BitTorrent. Does anybody know how to prevent BitTorrent from destroying my connection? My ISP told me to limit the rate, which I did, I used --upload_rate 2 which should limit it to 2 kb/sec, but it doesn't seem to work...

Capt_Caveman 07-13-2004 05:09 PM

Did you try --max_upload_rate 2

There are also a number of ways to throttle bandwidth. One (and probably the better of the two) would be to use wonder shaper
http://lartc.org/wondershaper/

The other option would be to use iptables/netfilter to control connection speed on the torrent ports. It requires patching the kernel and recompiling and isn't the more elegant solution. http://www.netfilter.org/patch-o-mat...extra-connrate

Laptop765 07-13-2004 05:39 PM

I tried max_uploads 2 AND max_upload_rate 2, neither really hold to what they say...


All times are GMT -5. The time now is 04:44 AM.