Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: deadserious on October 12, 2012, 04:46:58 AM



Title: bitcoin-qt causing wireless problems
Post by: deadserious on October 12, 2012, 04:46:58 AM
I'm noticing some problems running bitcoin-qt on our local wireless mesh network (http://open-mesh.com OM2P). 

When bitcoin-qt is syncing the blockchain, eventually the wireless will stop taking new http (or IMCP) requests.  open connections still transmit data fine and DNS lookups resolve.  Exiting the bitcoin client causes the wireless to resume working after about a minute or two.

I've been in contact with the open-mesh support team for quite some time about seemingly random wireless dropouts but the discovery that starting the bitcoin client dependably reproduces the problem for me gives me a technical path to target.

So a couple questions...

Has anyone ever seen anything similar happen when starting bitcoin on your network?

What might bitcoin be doing during the blockchain download that could cause something like this to happen?  I know there are 8 connections and some downloading going on, but it can't be any more of a bandwidth hog than a big youtube or movie which both download fine without causing the network brownout.

Any help or hints you could give would be great.


Title: Re: bitcoin-qt causing wireless problems
Post by: Envious on October 18, 2012, 07:49:19 AM
Does you're ISP throttle P2P? If they do then bitcoin-qt downloading the bloackchain for the first time will look like you are downloading a large torrent file causing them to throttle the speed.

I've seen ISP's that throttle P2P down to 0.5 kpb/s before causing the program to time out.


Title: Re: bitcoin-qt causing wireless problems
Post by: deadserious on October 18, 2012, 09:41:50 PM
Does you're ISP throttle P2P? If they do then bitcoin-qt downloading the bloackchain for the first time will look like you are downloading a large torrent file causing them to throttle the speed.

I've seen ISP's that throttle P2P down to 0.5 kpb/s before causing the program to time out.

People download torrents all the time here.  They block VPNs and Skype though.

But the odd thing is that it's the mesh wireless  network that dies, not the dsl box.  Data through the dsl box is fine.


Title: Re: bitcoin-qt causing wireless problems
Post by: nobbynobbynoob on October 18, 2012, 09:51:03 PM
They block VPNs

Wow, that's something even totalitarian governments struggle to do.


Title: Re: bitcoin-qt causing wireless problems
Post by: deadserious on October 19, 2012, 02:38:44 AM
They block VPNs

Wow, that's something even totalitarian governments struggle to do.

Well, they're not very good at it if that makes you feel any better.


Title: Re: bitcoin-qt causing wireless problems
Post by: Serenata on October 19, 2012, 07:57:12 AM
As far as I know, network devices can handle certain number of connections at any one time. Bitcoin is based on a P2P protocol and as a result it opens many connections to different networks. That could cause the routers to slow down or even reboot if they can't handle that number of connections. Maybe that is your problem. The only solution I see, is to limit the number of connection that bitcoin-qt tries to open, but I don't know if this can be done or how.


Title: Re: bitcoin-qt causing wireless problems
Post by: nobbynobbynoob on October 19, 2012, 12:11:06 PM
They block VPNs

Wow, that's something even totalitarian governments struggle to do.

Well, they're not very good at it if that makes you feel any better.

I've encountered public free-internet portals that were mighty good at blocking free proxies though.


Title: Re: bitcoin-qt causing wireless problems
Post by: caveden on October 19, 2012, 12:31:13 PM
When bitcoin-qt is syncing the blockchain, eventually the wireless will stop taking new http (or IMCP) requests.  open connections still transmit data fine and DNS lookups resolve.  Exiting the bitcoin client causes the wireless to resume working after about a minute or two.
...
Has anyone ever seen anything similar happen when starting bitcoin on your network?

I have no idea, but couldn't it just be that the machine you're using is not handling the load?
I mean, bitcoin-qt does a lot of disk IO during blockchain synchronization. Maybe your OS ends up doing lots of swap too and it stops accepting new TCP connections because it is not managing to handle it? I don't know, just trying to guess.
Maybe the best way to test would be using a SDD. Or with the blockchain in a different disk than the rest of your system, including swap.


Title: Re: bitcoin-qt causing wireless problems
Post by: deadserious on October 19, 2012, 06:51:19 PM
I have no idea, but couldn't it just be that the machine you're using is not handling the load?
I mean, bitcoin-qt does a lot of disk IO during blockchain synchronization. Maybe your OS ends up doing lots of swap too and it stops accepting new TCP connections because it is not managing to handle it? I don't know, just trying to guess.
Maybe the best way to test would be using a SDD. Or with the blockchain in a different disk than the rest of your system, including swap.

I'm on a Core i7 with dual SSD's and 24GB of RAM.

But I don't think that would be it anyway.  When it goes down, the entire mesh network goes down.  I am connected to the Mesh Gateway router so I think I'm taking that down with Bitcoin. When that does down, none of the other mesh routers can talk to the gateway.

At the same time, a computer connected to the dsl directly pings out fine.