Giter Site home page Giter Site logo

Resume Seeding via RPC ? about aria2 HOT 6 CLOSED

aria2 avatar aria2 commented on May 5, 2024
Resume Seeding via RPC ?

from aria2.

Comments (6)

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

I think bt-seed-unverified should work. You may need to supply correct directory path for the files using dir option.
What kind of error did you get when you tried?

from aria2.

ravageralpha avatar ravageralpha commented on May 5, 2024

My mistake , now i can resume seeding via RPC , but not that convenience .
When a torrent finished and i paused the task , next time i have to reupload the same torrent to resume .

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

Do you mean aria2.pause RPC command? Then, yes, currently when aria2.pause is issued to seeding torrent, it is not paused but it goes to stopped state, so aria2.unpause can not be used. I think it should go to pause state and aria2.unpause can resume seeding. I'll fix it in the next release.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

Fixed in 763c7a0.

from aria2.

ravageralpha avatar ravageralpha commented on May 5, 2024

Great , What is the new option enable-mmap do , disk cache ?

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 5, 2024

With --enable-mmap, files are mapped onto memory and aria2 just writes the data to that mapped region. The actual write to the disk will be done by kernel. If kernel wisely schedules the disk IO, it will reduce disk seek. Actually, I observed that the disk access was much reduced. So if you have a bunch of RAM, yes it will work like a cache.
Please note that the option is marked as experimental because currently aria2 does not ask the kernel to flush the unwritten data to the disk during the download. It totally relays on the kernel when to write the data. This means that if accidental power loss happens, the unwritten downloaded data will be lost. If the download is BitTorrent or Metalink with piece hash, the download can be repaired with -V option.

from aria2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.