boramalper / magnetico

Autonomous (self-hosted) BitTorrent DHT search engine suite.
http://labs.boramalper.org/magnetico/
GNU Affero General Public License v3.0
3.06k stars 344 forks source link

Why is magnetico uploading data during the 'Updating database' phase? #210

Open ranolfi opened 5 years ago

ranolfi commented 5 years ago

I downloaded the 0.8.1 release and tried running ./magneticod.

The console output is:

2019-08-04T20:09:49.094-0300 INFO magneticod v0.8.1 has been started. 2019-08-04T20:09:49.094-0300 INFO Copyright (C) 2017-2019 Mert Bora ALPER bora@boramalper.org. 2019-08-04T20:09:49.094-0300 INFO Dedicated to Cemile Binay, in whose hands I thrived. 2019-08-04T20:09:49.094-0300 INFO Compiled on 2019-05-21T12:33:32Z 2019-08-04T20:09:49.098-0300 WARN Updating database schema from 0 to 1... (this might take a while) 2019-08-04T20:09:49.098-0300 WARN Updating database schema from 1 to 2... (this might take a while) 2019-08-04T20:09:49.098-0300 WARN Updating database schema from 2 to 3... (this might take a while)

It remains stuck in the last step (Updating database schema from 2 to 3...) and I noticed my upload usage was quite high:

image

I though the network usage was restricted to the local machine and tried pulling my ethernet cable but the usage immediately dropped to zero.

What exactly is it doing?

skobkin commented 5 years ago

It's not "update database" phase. Try to run magneticod with verbose output and you'll most likely see that it's trying to find peers in the network.

kescherCode commented 4 years ago

I think there should be a "database upgrades are done, starting to find new peers" message, because I remember being confused by this before running verbose output as well.