diff --git a/conf/storage.conf b/conf/storage.conf index 5b98ae9..f0d80bf 100644 --- a/conf/storage.conf +++ b/conf/storage.conf @@ -25,7 +25,7 @@ port=23000 # connect timeout in seconds # default value is 30s -connect_timeout=30 +connect_timeout=10 # network timeout in seconds # default value is 30s @@ -43,7 +43,8 @@ base_path=/home/yuqing/fastdfs # max concurrent connections the server supported # default value is 256 # more max_connections means more memory will be used -max_connections=256 +# you should set this parameter larger, eg. 10240 +max_connections=1024 # the buff size to recv / send data # this parameter must more than 8KB diff --git a/conf/tracker.conf b/conf/tracker.conf index 777a018..79a548d 100644 --- a/conf/tracker.conf +++ b/conf/tracker.conf @@ -12,7 +12,7 @@ port=22122 # connect timeout in seconds # default value is 30s -connect_timeout=30 +connect_timeout=10 # network timeout in seconds # default value is 30s @@ -22,7 +22,8 @@ network_timeout=60 base_path=/home/yuqing/fastdfs # max concurrent connections this server supported -max_connections=256 +# you should set this parameter larger, eg. 102400 +max_connections=1024 # accept thread count # default value is 1