--- Coro/myhttpd/config.pl.dist 2001/08/30 02:58:17 1.16 +++ Coro/myhttpd/config.pl.dist 2001/12/03 04:57:42 1.25 @@ -1,18 +1,16 @@ -$MAX_CONNECTS = 2000; # maximum simult. connects -$MAX_TRANSFERS_SMALL = 100; # the maximum number of sim. file transfers -$MAX_TRANSFERS_LARGE = 300; # the maximum number of sim. file transfers -$TRANSFER_SMALL = 1_000_000; # size of a "small" file +$MAX_CONNECTS = 1000; # maximum simult. connects +$MAX_TRANSFERS = 15; # the maximum number of sim. file transfers -$MAX_CONN_IP = 4000; # maximum simult. connects per ip -$BLOCKTIME = 7200; # block time +$MAX_TRANSFERS_IP = 4; # maximum simult. connects per ip +$BLOCKTIME = 60*60*2; # block time -$NO_SEGMENTED = 1; # allow segmented downloads? +$NO_SEGMENTED = 0; # allow segmented downloads? $REQ_TIMEOUT = 60; # request timeout $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 @@ -23,8 +21,13 @@ $CMDSHELL_PORT = 7262; # open a command shell on this port -$BUFSIZE = 16*1024; # buffer size +$WAIT_INTERVAL = 60*4; +$WAIT_BUFSIZE = 256; + +$BUFSIZE = 32*1024; # buffer size $AIO_PARALLEL = 1; # how many reader threads for i/o? $ACCESS_LOG = "logs/accesslog"; # access log +$ERROR_LOG = "logs/errorlog"; # access log +