FastDFS配置说明(中英文)(3)

# network timeout in seconds

# default value is 30s

network_timeout=60

#client 网络超时时间,以秒为单位。发送或接收数据时,如果在超时时间后还不能发送或接收数据,则本次网络通信失败。

# the base path to store log files

base_path=/home/yuqing/fastdfs

#base_path目录,根目录必须存在,记录日志信息

# tracker_server can ocur more than once, and tracker_server format is

#  "host:port", host can be hostname or ip address

tracker_server=192.168.0.197:22122

# tracker_server 的列表(注意要写上端口号)

# 有多个tracker server时,每个tracker server写一行

#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

#是否从tracker加载fdfs的参数

# 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

# 是否使用server ID作为storage server标识

#只有当load_fdfs_parameters_from_tracker=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

# 在文件中设置组名、server ID和对应的IP地址,参见源码目录下的配置示例:conf/storage_ids.conf

#HTTP settings

http.tracker_server_port=8080

#tracker的web端口号(可以不设置,V4.0.6已经无效)

#use "#include" directive to include HTTP other settings

##include http.conf

# 设置为#include http.conf

FastDFS 的详细介绍请点这里
FastDFS 的下载地址请点这里

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/8af446cb651b0b62a232b51444dea9f2.html