Sugree

Main menu

  • About
    • Self
  • Project
    • jibjib
    • microblog-purple
    • Mitter
  • English
  • Thai

rtorrent is not tough

Submitted by sugree on Sat, 02/16/2008 - 23:55.
  • BitTorrent
  • English

Actually, my favorite BitTorrent client is BTQueue but the latest version has some memory leak problems for long run which I have no idea how to solve. My plan is to replace its backend to something native because Python memory management is not suitable for long run and heavy memory consumption applications like BitTorrent client. My current backend is rtorrent written by rakshasa on top of libtorrent. Anyway, I unified rtorrent to make it run separately behind BTQueue and let BTQueue talk to rtorrent via XML-RPC. Unfortunately, the new BTQueue is not usable yet so I have to let web-based client to call XML-RPC directly to rtorrent.

XML-RPC APIs of rtorrent is very flexible. I mean too flexible for normal use. Client may specify value name to query. That is my problem. I would like to minimize XML-RPC request so I call a long list of values in a single request. As a result, rtorrent terminates so often . Now my workaround is to separate that long list into 2 short lists and call 2 times. It works! Don't know why but it works.

by mk (not verified) on Sun, 02/17/2008 - 00:54 #80

your first sentence makes me smile :D

  • reply
by Rakshasa (not verified) on Tue, 05/06/2008 - 14:16 #241

That bug is now fixed, so any number of calls with multicall, etc, should work.

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
Input format
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockcode> <pre>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • You can use Markdown syntax to format and style the text.

More information about formatting options

Popular Tags

Assumption BarCamp BarCampBangkok BarCampBangkok2 BarCampBkk2 Creature Drupal DrupalCamp DrupalCampBangkok Education Family Google Hardware Hardy Health Java JibCafe jibjib Joke NokNok OpenOffice.org Python Review SoC Social Network Trip TwittBKK TwittDay Twitter Ubuntu
more tags

Powered By

debian
apache
drupal
drupal.in.th
feedburner

© 2007-2008 Sugree Phatanapherom. Creative Commons [Feed Content / Comment]
RoopleTheme