Index: si_installbtimage
===================================================================
--- si_installbtimage (revision 4445)
+++ si_installbtimage (working copy)
@@ -239,7 +239,7 @@
print "Starting first image server seeder...\n";
if ($quiet) {
$PIDFILE = '/var/run/systemimager-server-btseeder.pid';
- open(PID, "$launchmany $TORRENT_DIR --max_upload_rate 0
--rerequest_interval 1 $twisted $trackerless $upnp --bind $image_server
0</dev/null 1>/dev/null 2>&1 & echo \$!|");
+ open(PID, "$launchmany $TORRENT_DIR --max_upload_rate 0
--rerequest_interval 300 $twisted $trackerless $upnp --bind $image_server
0</dev/null 1>/dev/null 2>&1 & echo \$!|");
my $pid = <PID>;
close(PID);
open(OUT, ">$PIDFILE") or die("ERROR: cannot open $PIDFILE for
writing!\n");
@@ -265,7 +265,7 @@
EOF
`;
my $bt_ui = ($?) ? $launchmany : $launchmany_curses;
- system "$bt_ui $TORRENT_DIR --max_upload_rate 0 --rerequest_interval 1
$twisted $trackerless $upnp --bind $image_server";
+ system "$bt_ui $TORRENT_DIR --max_upload_rate 0 --rerequest_interval
300 $twisted $trackerless $upnp --bind $image_server";
}
print "done.\n";
Thanks, Thomas Krause -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Andrea Righi Gesendet: Dienstag, 22. April 2008 12:51 An: [email protected] Betreff: Re: [sisuite-users] bittorrent: rerequest_interval set too low? Thomas Krause wrote: > IIRC the bittorrent seeder running on the image-server will register > himself at the tracker, so that the tracker can give other clients the > ip of the image server. For these other clients a small interval may be > good, so that they are informed early when new sources are available. > However, since the peer running on the image server is only a seeder and > doesnt need clients to download from, I dont think this is needed. Or > am I missing something? Correct. > I changed the interval on my server to the default of 5 minutes and I > will see in a few days if the imaging still works. Seems absolutely reasonable. Post a patch please and I'll check it in trunk. Thanks, -Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
adjust_btrerequest_interval.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
