google-code-export / rtgui

Automatically exported from code.google.com/p/rtgui
1 stars 0 forks source link

Too many torrents block the script #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have more than 1000 torrent files (open or closed)

What is the expected output? What do you see instead?
Only the head of the page appears, not the list of the transfers.

What version of the product are you using? On what operating system?
0.2.7

Please provide any additional information below.

none.

Original issue reported on code.google.com by oldfa...@gmail.com on 6 Jun 2009 at 6:17

GoogleCodeExporter commented 9 years ago
Thanks for the report, but I'm not surprised rtGui chokes with that many 
torrents.  
For 'hardcore' torrenting, you're probably much better off with the native 
interface.

..Unless anyone feels up for the job of optimizing the code for this many 
torrents, 
I won't be making any chages.

One question: did you set $displaytrackerurl=FALSE in config.php?  Doing so 
will 
reduce the number of RPC calls dramatically.

Original comment by lemonbe...@gmail.com on 6 Jun 2009 at 8:13

GoogleCodeExporter commented 9 years ago
First let me just say, you are insane for having that many torrents loaded at 
once.

I just checked this with ~1100 torrents loaded into rtorrent.  The xmlrpc call 
itself
returns fine; PHP, however, is failing due to lack of memory.  There's no error
message here since it's suppressed with the magical @.

This can be changed via php.ini or per-directory via some crazy Apache voodoo, 
no
doubt.  For testing, I changed the default memory limit of 16M to 32M and all 
was fine.

(And as mentioned, turn off the tracker display.  Makes loading a *lot* faster!)

Original comment by llamaXxX@gmail.com on 7 Jun 2009 at 4:07

GoogleCodeExporter commented 9 years ago
Thanks a lot!

After turning off the tracker display WORKS PERFECTLY again!

BTW -> what is your suggestion for setup with about 10k torrents? For 
superseeding 
purposes? What is the best torrent client/interface?

Original comment by oldfa...@gmail.com on 7 Jun 2009 at 5:52

GoogleCodeExporter commented 9 years ago
Just to comment, OMG that's a lot of torrents.  I wouldn't even use a front end 
gui,
just use rtorrent, and don't install a web server.  Are you using apache?  
Maybe try
using a different web server like lighttpd, which uses fastcgi to serve php.

Original comment by hlpimfal...@gmail.com on 30 Jun 2009 at 7:54