76 lines
2.0 KiB
Plaintext
76 lines
2.0 KiB
Plaintext
# connect timeout in seconds
|
|
# default value is 30s
|
|
# Note: in the intranet network (LAN), 2 seconds is enough.
|
|
connect_timeout = 5
|
|
|
|
# network timeout in seconds
|
|
# default value is 30s
|
|
network_timeout = 60
|
|
|
|
# the base path to store log files
|
|
base_path = /opt/fastdfs
|
|
|
|
# tracker_server can ocur more than once for multi tracker servers.
|
|
# the value format of tracker_server is "HOST:PORT",
|
|
# the HOST can be hostname or ip address,
|
|
# and the HOST can be dual IPs or hostnames seperated by comma,
|
|
# the dual IPS must be an inner (intranet) IP and an outer (extranet) IP,
|
|
# or two different types of inner (intranet) IPs.
|
|
# IPv4:
|
|
# for example: 192.168.2.100,122.244.141.46:22122
|
|
# another eg.: 192.168.1.10,172.17.4.21:22122
|
|
#
|
|
# IPv6:
|
|
# for example: [2409:8a20:42d:2f40:587a:4c47:72c0:ad8e,fe80::1ee9:90a8:1351:436c]:22122
|
|
#
|
|
tracker_server = 192.168.0.196:22122
|
|
tracker_server = 192.168.0.197:22122
|
|
|
|
#standard log level as syslog, case insensitive, value list:
|
|
### emerg for emergency
|
|
### alert
|
|
### crit for critical
|
|
### error
|
|
### warn for warning
|
|
### notice
|
|
### info
|
|
### debug
|
|
log_level = info
|
|
|
|
# if use connection pool
|
|
# default value is false
|
|
# since V4.05
|
|
use_connection_pool = false
|
|
|
|
# connections whose the idle time exceeds this time will be closed
|
|
# unit: second
|
|
# default value is 3600
|
|
# since V4.05
|
|
connection_pool_max_idle_time = 3600
|
|
|
|
# if load FastDFS parameters from tracker server
|
|
# since V4.05
|
|
# default value is false
|
|
load_fdfs_parameters_from_tracker = false
|
|
|
|
# if use storage ID instead of IP address
|
|
# same as tracker.conf
|
|
# valid only when load_fdfs_parameters_from_tracker is false
|
|
# default value is false
|
|
# since V4.05
|
|
use_storage_id = false
|
|
|
|
# specify storage ids filename, can use relative or absolute path
|
|
# same as tracker.conf
|
|
# valid only when load_fdfs_parameters_from_tracker is false
|
|
# since V4.05
|
|
storage_ids_filename = storage_ids.conf
|
|
|
|
|
|
#HTTP settings
|
|
http.tracker_server_port = 80
|
|
|
|
#use "#include" directive to include HTTP other settiongs
|
|
##include http.conf
|
|
|