change max_connection in config file

pull/192/head
yuqing 2018-02-24 14:40:39 +08:00
parent 429804107b
commit 9f0cef2faf
2 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,7 @@ port=23000
# connect timeout in seconds # connect timeout in seconds
# default value is 30s # default value is 30s
connect_timeout=30 connect_timeout=10
# network timeout in seconds # network timeout in seconds
# default value is 30s # default value is 30s
@ -43,7 +43,8 @@ base_path=/home/yuqing/fastdfs
# max concurrent connections the server supported # max concurrent connections the server supported
# default value is 256 # default value is 256
# more max_connections means more memory will be used # 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 # the buff size to recv / send data
# this parameter must more than 8KB # this parameter must more than 8KB

View File

@ -12,7 +12,7 @@ port=22122
# connect timeout in seconds # connect timeout in seconds
# default value is 30s # default value is 30s
connect_timeout=30 connect_timeout=10
# network timeout in seconds # network timeout in seconds
# default value is 30s # default value is 30s
@ -22,7 +22,8 @@ network_timeout=60
base_path=/home/yuqing/fastdfs base_path=/home/yuqing/fastdfs
# max concurrent connections this server supported # max concurrent connections this server supported
max_connections=256 # you should set this parameter larger, eg. 102400
max_connections=1024
# accept thread count # accept thread count
# default value is 1 # default value is 1