vergecurrency / electrum-server

Electrum Server for Verge
MIT License
10 stars 3 forks source link

massive network traffic #3

Open swat69 opened 6 years ago

swat69 commented 6 years ago

I want to setup a new electrum-server with a fresh Debian 9 and I get up to 100 Megabyte/sec network traffic instantly with only about 100 clients connected. (We had a few DM in discord in the past regarding this issue) I can reproduce it with Ubuntu 16 !!

This is ifstat with 100 clients connected: root@e4:/home/verge# ifstat eth0
KB/s in KB/s out 1049.72 88401.77 1055.05 86256.49 1074.94 89017.52 1061.73 89256.17 1096.89 90347.79 1058.83 89652.58 1132.14 91059.95

My existing electrum server are running with Debian 8 with traffic in a normal range.

justinvforvendetta commented 6 years ago

this isnt because of the blockchain_headers file being downloaded by clients?

swat69 commented 6 years ago

Even If I reset my electrum client with 0 transactions and the blockchain_headers is up-to-date the electrum client generates traffic of 700-900 KBytes/sec, and it never stops. Maybe this traffic is caused by the "blockchain_headers not being updated issue", but why only on specific server OS. I tested win10 and ubuntu (VM) as client OS at that time, maybe give it a try: 195.201.120.214 : 50001.

swat69 commented 6 years ago

I tested also: Fedora release 27 (Twenty Seven) same insane network traffic: 130 clients, 80 MegaByte/sec

So I'm unable to run a new Electrum-Server with Debian 9, Ubuntu 16, Fedora rel 27.