beautify config files

pull/484/head
YuQing 2019-12-06 08:52:08 +08:00
parent e0d3d44f64
commit 322ee15cbe
5 changed files with 94 additions and 88 deletions

View File

@ -1,6 +1,7 @@
# connect timeout in seconds
# default value is 30s
connect_timeout=10
# Note: in the intranet network (LAN), 2 seconds is enough.
connect_timeout = 5
# network timeout in seconds
# default value is 30s

View File

@ -26,7 +26,7 @@ port=23000
# connect timeout in seconds
# default value is 30
# Note: in the intranet network (LAN), 2 seconds is enough.
connect_timeout=10
connect_timeout = 5
# network timeout in seconds for send and recv
# default value is 30
@ -44,7 +44,8 @@ stat_report_interval=60
# the base path to store data and log files
# NOTE: the binlog files maybe are large, make sure
# the base path has enough disk space
# the base path has enough disk space,
# eg. the disk free space should > 50GB
base_path = /home/yuqing/fastdfs
# max concurrent connections the server supported
@ -117,7 +118,7 @@ disk_recovery_threads = 1
# store path (disk or mount point) count, default value is 1
store_path_count = 1
# store_path#, based on 0, to configure the store paths to store file
# store_path#, based on 0, to configure the store paths to store files
# if store_path0 not exists, it's value is base_path (NOT recommended)
# the paths must be exist
#
@ -268,7 +269,7 @@ compress_old_access_log = false
# compress the access log days before
# default value is 1
# since V6.04
compress_access_log_days_before = 1
compress_access_log_days_before = 7
# if rotate the error log every day
# default value is false
@ -289,7 +290,7 @@ compress_old_error_log = false
# compress the error log days before
# default value is 1
# since V6.04
compress_error_log_days_before = 1
compress_error_log_days_before = 7
# rotate access log when the log file exceeds this size
# 0 means never rotates log file by log file size

View File

@ -1,4 +1,8 @@
# <id> <group_name> <ip_or_hostname[:port]>
#
# id is a natural number (1, 2, 3 etc.),
# 6 bits of the id length is enough, such as 100001
#
# storage ip or hostname can be dual IPs seperated by comma,
# one is an inner (intranet) IP and another is an outer (extranet) IP,
# or two different types of inner (intranet) IPs
@ -8,5 +12,5 @@
# the port is optional. if you run more than one storaged instances
# in a server, you must specified the port to distinguish different instances.
# 100001 group1 192.168.0.196
# 100002 group1 192.168.0.116
100001 group1 192.168.0.196
100002 group1 192.168.0.197

View File

@ -13,7 +13,7 @@ port=22122
# connect timeout in seconds
# default value is 30
# Note: in the intranet network (LAN), 2 seconds is enough.
connect_timeout=10
connect_timeout = 5
# network timeout in seconds for send and recv
# default value is 30
@ -32,7 +32,7 @@ max_connections=1024
# since V4.07
accept_threads = 1
# work thread count, should <= max_connections
# work thread count
# default value is 4
# since V2.00
work_threads = 4
@ -250,7 +250,7 @@ compress_old_error_log = false
# compress the error log days before
# default value is 1
# since V6.04
compress_error_log_days_before = 1
compress_error_log_days_before = 7
# rotate error log when the log file exceeds this size
# 0 means never rotates log file by log file size