--- Coro/myhttpd/config.pl.dist 2001/08/29 01:32:50 1.15 +++ Coro/myhttpd/config.pl.dist 2001/11/28 03:40:15 1.24 @@ -1,8 +1,10 @@ -$MAX_CONNECTS = 40; # maximum simult. connects -$MAX_TRANSFER = 1; # the maximum number of sim. file transfers +$MAX_CONNECTS = 1000; # maximum simult. connects +$MAX_TRANSFERS_SMALL = 10; # the maximum number of sim. file transfers +$MAX_TRANSFERS_LARGE = 15; # the maximum number of sim. file transfers +$TRANSFER_SMALL = 3_000_000; # size of a "small" file -$MAX_CONN_IP = 4000; # maximum simult. connects per ip -$BLOCKTIME = 7200; # block time +$MAX_CONN_IP = 4; # maximum simult. connects per ip +$BLOCKTIME = 60*60*2; # block time $NO_SEGMENTED = 1; # allow segmented downloads? @@ -10,7 +12,7 @@ $RES_TIMEOUT = 180; # response timeout $PER_TIMEOUT = 120; # persistent connection timeout -$MAX_POOL = 3; # max. number of idle workers +$MAX_POOL = 20; # max. number of idle workers $DB_HOME = "db"; # database home directory @@ -21,7 +23,10 @@ $CMDSHELL_PORT = 7262; # open a command shell on this port -$BUFSIZE = 16*1024; # buffer size +$WAIT_INTERVAL = 60*5; +$WAIT_BUFSIZE = 512; + +$BUFSIZE = 32*1024; # buffer size $AIO_PARALLEL = 1; # how many reader threads for i/o?