1 | $MAX_CONNECTS = 500; # maximum simult. connects |
1 | $MAX_CONNECTS = 40; # maximum simult. connects |
|
|
2 | $MAX_TRANSFER = 1; # the maximum number of sim. file transfers |
2 | |
3 | |
3 | $MAX_CONN_IP = 4; # maximum simult. connects per ip |
4 | $MAX_CONN_IP = 4000; # maximum simult. connects per ip |
4 | $BLOCKTIME = 7200; # block time |
5 | $BLOCKTIME = 7200; # block time |
5 | |
6 | |
6 | $NO_SEGMENTED = 1; # allow segmented downloads? |
7 | $NO_SEGMENTED = 1; # allow segmented downloads? |
7 | |
8 | |
8 | $REQ_TIMEOUT = 60; # request timeout |
9 | $REQ_TIMEOUT = 60; # request timeout |
9 | $RES_TIMEOUT = 180; # response timeout |
10 | $RES_TIMEOUT = 180; # response timeout |
|
|
11 | $PER_TIMEOUT = 120; # persistent connection timeout |
10 | |
12 | |
11 | $MAX_POOL = 20; # max. number of idle workers |
13 | $MAX_POOL = 3; # max. number of idle workers |
|
|
14 | |
|
|
15 | $DB_HOME = "db"; # database home directory |
12 | |
16 | |
13 | $DOCROOT = "/usr/www/htdocs"; # document root |
17 | $DOCROOT = "/usr/www/htdocs"; # document root |
14 | $INDEXPROG = "/usr/www/bin/dols"; # indexing program (nph-cgi script) |
|
|
15 | |
18 | |
16 | $SERVER_HOST = "0.0.0.0"; # host to bind on |
19 | $SERVER_HOST = "0.0.0.0"; # host to bind on |
17 | $SERVER_PORT = 84; # port to listen on |
20 | $SERVER_PORT = 80; # port to listen on |
18 | |
21 | |
19 | $CMDSHELL_PORT = 7262; # open a command shell on this port |
22 | $CMDSHELL_PORT = 7262; # open a command shell on this port |
20 | |
23 | |
21 | $BUFSIZE = 64*024; # buffer size |
24 | $BUFSIZE = 16*1024; # buffer size |
|
|
25 | |
|
|
26 | $AIO_PARALLEL = 1; # how many reader threads for i/o? |
|
|
27 | |
|
|
28 | $ACCESS_LOG = "logs/accesslog"; # access log |