LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-12-2004, 08:23 PM   #1
Laptop765
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
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...
 
Old 07-12-2004, 09:37 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Hard to guess what it might be. Try using tcpdump to get an idea of where the traffic is being generated.
 
Old 07-13-2004, 03:37 PM   #3
Laptop765
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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...
 
Old 07-13-2004, 05:09 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
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
 
Old 07-13-2004, 05:39 PM   #5
Laptop765
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I tried max_uploads 2 AND max_upload_rate 2, neither really hold to what they say...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inetrnet connection sharing between a Slackware box and windows box planetsheinker Slackware 10 09-23-2006 11:53 PM
Routing network connection to OSX via a SuSE box shankar13 Linux - Networking 2 09-02-2004 12:12 PM
Mandrake 9.2 box can't be pinged by network but is connected JohnLocke Linux - Networking 2 06-28-2004 05:32 PM
Network doesnt work on my Mandrake 9.1 box with Kernel 2.6.3 Klas Linux - Networking 2 03-02-2004 01:17 PM
box loses network connection BrianG Linux - Networking 6 01-17-2002 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration