/[gentoo-src]/bittorrent/bt_daemon.conf
Gentoo

Contents of /bittorrent/bt_daemon.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jun 16 08:46:48 2004 UTC (11 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +10 -1 lines
File MIME type: text/plain
Blah.

1 # Configuration file for bt_daemon.py -- Torrent Daemon
2 # $Id: bt_daemon.conf,v 1.2 2004/06/16 05:15:31 carpaski Exp $
3 # The config is reread every cycle actively.
4
5 # Base path for the stored/to-be-torrented files
6 file_base = "/space/releases"
7
8 # Base path for the torrent files.
9 torrent_base = "/space/torrents"
10
11 # Comment included in the torrent files we create.
12 comment = "Gentoo Linux BitTorrent Releases Mirror System"
13
14 # Server that has the tracker. Only important for the created torrents.
15 tracker = "http://torrents.gentoo.org:6969/announce"
16
17 # Is this node creating torrents?
18 # Enabling this will cause the daemon to create torrents if they don't exist.
19 master_seed = 0
20
21 # Produce Statistics?
22 stats = 1
23
24 # Delay between cycles (20) (stats calculations; torrents & files additions)
25 cycle_sleep = 20
26
27 # Do we rotate the logs (0). See loop_mod.
28 rotate_logs = 0
29
30 # Modulus for rotating logs (4320).
31 # It will create this number of files. One per cycle_sleep seconds.
32 loop_mod = 4320
33
34 # Port ranges for serving files.
35 # These MUST be open in both directions to seed files.
36 port_min = 6881
37 port_max = 7280
38
39 # Wait to meet 'last-modified X seconds ago' for files and torrents (120).
40 minimum_age = 120
41
42 # Shuffle the files when starting torrents
43 shuffle_files = 0
44
45 # Minimum file size we allow to create a torrent file for it (5000000).
46 min_file_size = 5000000
47
48 # The maximum simultaneous fetches at one time (3).
49 max_fetches = 3
50
51 # ###################################################### #
52 # BitTorrent options -- Not all non-default settings are #
53 # available on all clients. Be careful with any changes. #
54 # ###################################################### #
55
56 # When do we switch from random to rare selections when downloading (20).
57 min_uploads = 20
58
59 # How many outbound connections do we allow PER FILE (20).
60 max_uploads = 20
61
62 # How big is the chunk that we request (65536). VERY FICKLE.
63 download_slice_size = 65536
64
65 # What is the max size a client may request (131072). VERY FICKLE.
66 max_slice_length = 131072
67
68 # How many requests to we maintain in a queue PER FILE (20).
69 request_backlog = 20
70
71 # How long until we force timeout on a connection in seconds (90).
72 timeout = 90
73
74 # How often do we check for timed out connections in seconds (20).
75 timeout_check_interval = 20
76
77 # ###################################################### #
78 # You don't need to modify any of these unless you're #
79 # tweaking the settings for the seed threads themselves. #
80 # ###################################################### #
81
82 # Enable/Disable debug output (0)
83 debug = 0
84
85 # This is 2^x ... put the x below -- Chunk size for sha1 -- 18 == 256k
86 # Leave this as the default of 18. Potentially tempermental.
87 piece_size_pow2 = 18
88
89 # Number of threads to run at the same time when creating torrent files. (1)
90 # Do not set higher than number of processors.
91 max_starting_threads = 1
92
93 # Delay between the spawning of threads (0)
94 # Can help reduce load by pausing initialization of threads for X seconds.
95 spawn_thread_delay = 0
96
97 # Check the hashs against the files on disk to ensure they match. (1)
98 # If you turn this off you risk corruption or wasted time in the system.
99 check_hashes = 1

  ViewVC Help
Powered by ViewVC 1.1.20