Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Managing bandwidth (problem with the file transfer service)

Got problems with your B2 or B3? Share and get helped!
Post Reply
B3M
Posts: 12
Joined: 09 Jan 2011, 09:42

Managing bandwidth (problem with the file transfer service)

Post by B3M »

Hi

Whenever I have the file transfer service running (FTP/BitTorrent) running the B3 consumes all available bandwidth. I’ve tried setting Torrent limits ridiculously low, and from the Web UI they appear to be respected. But still there is no bandwidth available to anything else.

If I turn off the service I don’t have this problem with all up and down bandwidth being consumed.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Managing bandwidth (problem with the file transfer servi

Post by RandomUsername »

Are you sure it's bandwidth? It could be the number of connections the ftd is trying to open.
B3M
Posts: 12
Joined: 09 Jan 2011, 09:42

Re: Managing bandwidth (problem with the file transfer servi

Post by B3M »

RandomUsername wrote:Are you sure it's bandwidth? It could be the number of connections the ftd is trying to open.
This actually sounds more plausible. Is there an easy way to manage that?
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Managing bandwidth (problem with the file transfer servi

Post by RandomUsername »

Not that I'm aware of. The configuration options in the FTD seem fairly limited.
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Managing bandwidth (problem with the file transfer servi

Post by Ubi »

I *guess* you can check this by running lsof and counting the number of ports FTD is connected to. This doesn't stop it though. Limiting the port numbers on the firewall or in the FTD config might, but it's an ugly hack.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Managing bandwidth (problem with the file transfer servi

Post by Cheeseboy »

This might give you a better idea about what is going on:

Code: Select all

# apt-get install iptraf

Code: Select all

# iptraf
B3M
Posts: 12
Joined: 09 Jan 2011, 09:42

Re: Managing bandwidth (problem with the file transfer servi

Post by B3M »

I don’t know what I’m looking for in IPTraf. But there are tens of thousands of TCP:80 requests. But I don’t have the server available externally, nor do I use it for anything on port 80 myself. Must be the FTD, right?
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Managing bandwidth (problem with the file transfer servi

Post by Cheeseboy »

I don’t know what I’m looking for in IPTraf. But there are tens of thousands of TCP:80 requests. But I don’t have the server available externally, nor do I use it for anything on port 80 myself. Must be the FTD, right?
Wrong, probably.
Look at:

Code: Select all

# grep port /etc/ftd/*
You will probably see something like this:

Code: Select all

proxyport=0
listenportstart=10000
listenportend=14000
dhtsupport=false
metadatasupport=true
peerexchangesupport=true
Port 80 is not in there.

The only thing that is configured to listen to port 80 by default is Apache.
Try turning it it off and see if things improve.

Cheers,

StinkyFeet

EDIT:
Check /var/log/apache2/access.log
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Managing bandwidth (problem with the file transfer servi

Post by Ubi »

Is all that port 80 (i.e. HTTP) traffic going into your local network or to exteranl unkown people?
B3M
Posts: 12
Joined: 09 Jan 2011, 09:42

Re: Managing bandwidth (problem with the file transfer servi

Post by B3M »

Ubi wrote:Is all that port 80 (i.e. HTTP) traffic going into your local network or to exteranl unkown people?
Port 80 is not forwarded to B3 from my router. So it must be internal stuff.
Post Reply