Author

Topic: bitcoin wallet has 56 connections and uses nearly 1mbps (Read 3126 times)

legendary
Activity: 1512
Merit: 1036
You are getting more than 8 connections because Bitcoin now supports uPnP, communicating with your router and automatically configuring port forwarding, so you are able to make a full network connection, also allowing inbound traffic.

Just as you had to download 5GB of blockchain from other peer-to-peer nodes in order to use Bitcoin, Bitcoin is now sharing your copy of the blockchain and relaying transactions to others.

Bitcoin has no native rate limiting, although here is a thread discussing third-party solutions:

https://bitcointalksearch.org/topic/bitcoin-client-upload-saturating-my-dsl-connection-no-bandwidth-throttling-100779
sr. member
Activity: 434
Merit: 250
I put in the changes and it's been working well. I noticed it's at 8 connections but it did spike for a while earlier tonight at nearly 1mbps. Is there any way to limit the max bandwidth that goes to the wallet?
sr. member
Activity: 476
Merit: 250
Tangible Cryptography LLC
You don't "need" anything.  The config file simply overrides default behavior.  Like in this case you want to limit the number of connections.  If you want to see what is possible ...

https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
sr. member
Activity: 434
Merit: 250
other than
Quote
# Maximum number of inbound+outbound connections.
maxconnections=20

what else should I have in the bitcoin.conf file?
legendary
Activity: 2058
Merit: 1452
is the bitcoin.conf something I need to create or can it be found somewhere in the /program files/bitcoin folder?
create it in:
%appdata%\bitcoin\
yes, it's a folder.

sr. member
Activity: 434
Merit: 250
is the bitcoin.conf something I need to create or can it be found somewhere in the /program files/bitcoin folder?
sr. member
Activity: 476
Merit: 250
Tangible Cryptography LLC
Add this to the bitcoin.conf

# Maximum number of inbound+outbound connections.
maxconnections=20

You probably got a spike of new users (bootstraping the blockchain) because the sustained network traffic is nowhere need 900kbps.
sr. member
Activity: 434
Merit: 250
Strange issue. I've got a small server on a relatively slow connection. I run it as a node on the bitcoin network. Normally my wallet connects to about 8 connections maximum. The server I've got running (with UPnP enabled) has 56 connections and was using a steady 900kbps. The upload on this connection is 800kbps and download is 1mbps. Needless to say the bitcoin wallet is nearly using the entire amount of bandwidth on the network.

I've never had more than 13 connections before. I'm not sure how I can limit the bitcoin wallet.

Any suggestions?
Jump to: