Comments (12)
how many transfers do you have?
from frostwire-jlibtorrent.
I'm seeding about 20k torrents, but actual currently uploading is usually no more than 0-2 torrents at a time.
from frostwire-jlibtorrent.
I just tried to run a forceRecheck()
, but it had no effect. The file in the torrent aren't corrupted, they're working fine.
from frostwire-jlibtorrent.
Also, noticing a lot are getting stuck on CHECKING_RESUME_DATA
from frostwire-jlibtorrent.
well, if I remember correctly, you want to use your resume data file so you don't have to re-check the files whenever you re-start, specially in a case like this one where you're starting 20k transfers.
perhaps it's just a matter of letting it finish.
Now, if they're getting stuck on CHECKING_RESUME_DATA
(I'm not sure), but it might be an issue with your resume data file.
from frostwire-jlibtorrent.
It shouldn't be doing any checks, since I have the flag_seed_mode
set. This is a tough one.
Here's what I can gather from the documentation:
http://libtorrent.org/reference-Session.html#add_torrent_params
If flag_seed_mode is set, libtorrent will assume that all files are present for this torrent and that they all match the hashes in the torrent file. Each time a peer requests to download a block, the piece is verified against the hash, unless it has been verified already. If a hash fails, the torrent will automatically leave the seed mode and recheck all the files. The use case for this mode is if a torrent is created and seeded, or if the user already know that the files are complete, this is a way to avoid the initial file checks, and significantly reduce the startup time.
So I suppose that its doing checks because for some reason the hashes are failing?
Should I reach out to @arvidn on this one?
from frostwire-jlibtorrent.
Do you think is this some how related: http://sourceforge.net/p/libtorrent/mailman/message/34455679/
from frostwire-jlibtorrent.
It shouldn't be doing any checks, since I have the flag_seed_mode set.
but then you say that you did this:
I just tried to run a forceRecheck()
so :)
from frostwire-jlibtorrent.
However, one problem that came out of this was force started torrents
(i.e. not auto-managed) would always be checked immediately and not wait
for any previous torrents to complete checking (causing quite a bit of
disk congestion normally).
That is the case for me, since all my torrents are not auto-managed. All force-started.
Iβm proposing solving this by always make every torrent subject to the
active_checking_limit (i.e. the number of torrents that are allowed to
be checked at one time). Regardless of whether itβs auto-managed or not.
This would remove some control, but also restore an important property
currently in 1.0.x.
What complicates my situation, is that I'm using seed_mode=true
, which means it doesn't do any initial checks at all. But obviously for me, some hashes are failing, because I have some random torrents that get stuck in either checking_files
, or checking_resume_data
.
EDIT: It appears all of the ones I'm having trouble with are now getting stuck on checking_resume_data
.
@gubatron True I did run forceRecheck()
on it, but only for the ones that are getting stuck. Why would a recheck require a save resume file?
from frostwire-jlibtorrent.
at that point you're right it wouldn't make any sense requiring any of that, ideially after the check is done and seeding begins it should add the information of such torrent to the resume.dat file.
from frostwire-jlibtorrent.
I will close this, you reported the issue in libtorrent and we do nothing related to it. If you are loading a lot of torrents, the calls to stat
files can be queued for a long time if the the underlying filesystem is under presure. Is this a VM or real hardware?
from frostwire-jlibtorrent.
Real hardware, that's fine to close.
from frostwire-jlibtorrent.
Related Issues (20)
- version mismatch HOT 22
- Force recheck crashing for finished torrent HOT 4
- No implementation found for void com.frostwire.jlibtorrent.swig.libtorrent_jni.swig_module_init() HOT 1
- Adding a download with changed priorities doesn't recognize the new priorities if download was finished earlier. HOT 9
- Downloads are not compatible HOT 4
- Download issues in Samsung Galaxy devices HOT 9
- How to Compile in embedded system, the platform is arm32. HOT 1
- [desktop] Calling SessionManager stop() takes forever after torrent is finished HOT 8
- dhtNodes Always 0 HOT 26
- Docker script Q&A HOT 5
- Error in Vectors.byte_vector2string
- sessionManager.stats().dhtNodes() always 0 HOT 4
- How to merge libraries into one? HOT 2
- Pure virtual function called! On Android 10+ [Using version 1.2.16.0] HOT 1
- Upgrading to libtorrent 2.0, it's time. HOT 1
- Low memory bug HOT 3
- Is it possible use your libtorrent.i wrap a c# version? HOT 11
- native crash HOT 1
- Debugging libtorrent crash on Android HOT 3
- iOS compatibility? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frostwire-jlibtorrent.