Centos6.10-FastDFS-Tracker.conf示例配置
FastDFS_Tracker.conf示例配置
# is this config file disabled
# false for enabled
# true for disabled
disabled = false # bind an address of this host
# empty for bind all addresses of this host
bind_addr = # the tracker server port
port = 22122 # connect timeout in seconds
# default value is
# Note: in the intranet network (LAN), seconds is enough.
connect_timeout = # network timeout in seconds for send and recv
# default value is
network_timeout = # the base path to store data and log files
# base_path = /home/yuqing/fastdfs
base_path=/opt/fastdfs/tracker # max concurrent connections this server support
# you should set this parameter larger, eg.
# default value is
max_connections = # accept thread count
# default value is which is recommended
# since V4.
accept_threads = # work thread count
# work threads to deal network io
# default value is
# since V2.
work_threads = # the min network buff size
# default value 8KB
min_buff_size = 8KB # the max network buff size
# default value 128KB
max_buff_size = 128KB # the method for selecting group to upload files
# : round robin
# : specify group
# : load balance, select the max free space group to upload file
store_lookup = # which group to upload file
# when store_lookup set to , must set store_group to the group name
store_group = group2 # which storage server to upload file
# : round robin (default)
# : the first server order by ip address
# : the first server order by priority (the minimal)
# Note: if use_trunk_file set to true, must set store_server to or
store_server = # which path (means disk or mount point) of the storage server to upload file
# : round robin
# : load balance, select the max free space path to upload file
store_path = # which storage server to download file
# : round robin (default)
# : the source storage server which the current file uploaded to
download_server = # reserved storage space for system or other applications.
# if the free(available) space of any stoarge server in
# a group <= reserved_storage_space, no file can be uploaded to this group.
# bytes unit can be one of follows:
### G or g for gigabyte(GB)
### M or m for megabyte(MB)
### K or k for kilobyte(KB)
### no unit for byte(B)
### XX.XX% as ratio such as: reserved_storage_space = %
reserved_storage_space = % #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 #unix group name to run this program,
#not set (empty) means run by the group of current user
run_by_group= #unix username to run this program,
#not set (empty) means run by current user
run_by_user = # allow_hosts can ocur more than once, host can be hostname or ip address,
# "*" (only one asterisk) means match all ip addresses
# we can use CIDR ips like 192.168.5.64/
# and also use range like these: 10.0..[-] and host[-,-].domain.com
# for example:
# allow_hosts=10.0..[-,]
# allow_hosts=host[-,-].domain.com
# allow_hosts=192.168.5.64/
allow_hosts = * # sync log buff to disk every interval seconds
# default value is seconds
sync_log_buff_interval = # check storage server alive interval seconds
check_active_interval = # thread stack size, should >= 64KB
# default value is 256KB
thread_stack_size = 256KB # auto adjust when the ip address of the storage server changed
# default value is true
storage_ip_changed_auto_adjust = true # storage sync file max delay seconds
# default value is seconds (one day)
# since V2.
storage_sync_file_max_delay = # the max time of storage sync a file
# default value is seconds
# since V2.
storage_sync_file_max_time = # if use a trunk file to store several small files
# default value is false
# since V3.
use_trunk_file = false # the min slot size, should <= 4KB
# default value is bytes
# since V3.
slot_min_size = # the max slot size, should > slot_min_size
# store the upload file to trunk file when it's size <= this value
# default value is 16MB
# since V3.
slot_max_size = 4MB # the trunk file size, should >= 4MB
# default value is 64MB
# since V3.
trunk_file_size = 64MB # if create trunk file advancely
# default value is false
# since V3.
trunk_create_file_advance = false # the time base to create trunk file
# the time format: HH:MM
# default value is :
# since V3.
trunk_create_file_time_base = : # the interval of create trunk file, unit: second
# default value is (one day)
# since V3.
trunk_create_file_interval = # the threshold to create trunk file
# when the free trunk file size less than the threshold,
# will create he trunk files
# default value is
# since V3.
trunk_create_file_space_threshold = 20G # if check trunk space occupying when loading trunk free spaces
# the occupied spaces will be ignored
# default value is false
# since V3.
# NOTICE: set this parameter to true will slow the loading of trunk spaces
# when startup. you should set this parameter to true when neccessary.
trunk_init_check_occupying = false # if ignore storage_trunk.dat, reload from trunk binlog
# default value is false
# since V3.
# set to true once for version upgrade when your version less than V3.
trunk_init_reload_from_binlog = false # the min interval for compressing the trunk binlog file
# unit: second, means never compress
# FastDFS compress the trunk binlog when trunk init and trunk destroy
# recommand to set this parameter to (one day)
# default value is
# since V5.
trunk_compress_binlog_min_interval = # the interval for compressing the trunk binlog file
# unit: second, means never compress
# recommand to set this parameter to (one day)
# default value is
# since V6.
trunk_compress_binlog_interval = # compress the trunk binlog time base, time format: Hour:Minute
# Hour from to , Minute from to
# default value is :
# since V6.
trunk_compress_binlog_time_base = : # if use storage server ID instead of IP address
# if you want to use dual IPs for storage server, you MUST set
# this parameter to true, and configure the dual IPs in the file
# configured by following item "storage_ids_filename", such as storage_ids.conf
# default value is false
# since V4.
use_storage_id = false # specify storage ids filename, can use relative or absolute path
# this parameter is valid only when use_storage_id set to true
# since V4.
storage_ids_filename = storage_ids.conf # id type of the storage server in the filename, values are:
## ip: the ip address of the storage server
## id: the server id of the storage server
# this paramter is valid only when use_storage_id set to true
# default value is ip
# since V4.
id_type_in_filename = id # if store slave file use symbol link
# default value is false
# since V4.
store_slave_file_use_link = false # if rotate the error log every day
# default value is false
# since V4.
rotate_error_log = false # rotate error log time base, time format: Hour:Minute
# Hour from to , Minute from to
# default value is :
# since V4.
error_log_rotate_time = : # if compress the old error log by gzip
# default value is false
# since V6.
compress_old_error_log = false # compress the error log days before
# default value is
# since V6.
compress_error_log_days_before = # rotate error log when the log file exceeds this size
# means never rotates log file by log file size
# default value is
# since V4.
rotate_error_log_size = # keep days of the log files
# means do not delete old log files
# default value is
log_file_keep_days = # if use connection pool
# default value is false
# since V4.
use_connection_pool = true # connections whose the idle time exceeds this time will be closed
# unit: second
# default value is
# since V4.
connection_pool_max_idle_time = # HTTP port on this tracker server
# http.server_port =
http.server_port= # check storage HTTP server alive interval seconds
# <= for never check
# default value is
http.check_alive_interval = # check storage HTTP server alive type, values are:
# tcp : connect to the storge server with HTTP port only,
# do not request and get response
# http: storage check alive url must return http status
# default value is tcp
http.check_alive_type = tcp # check storage HTTP server alive uri/url
# NOTE: storage embed HTTP server support uri: /status.html
http.check_alive_uri = /status.html
Centos6.10-FastDFS-Tracker.conf示例配置的更多相关文章
- FastDFS 配置文件 tracker.conf
FastDFS 版本5.05 配置文件分为三部分 控制器:tracker.conf存储器:storage.conf 客户端:client.conf 文件位置:/etc/fdfs 基本配置(基础配置 ...
- FastDFS 集群 安装 配置
这篇文章介绍如何搭建FastDFS 集群 FastDFS是一个开源的轻量级分布式文件系统,它对文件进行管理,功能包括:文件存储.文件同步.文件访问(文件上传.文件下载)等,解决了大容量存储和负载均衡的 ...
- [转]Centos7 fastdfs/nginx 安装与配置
https://blog.csdn.net/alex_bean/article/details/78625131 参考文章 分布式文件系统-FastDFS 使用FastDFS搭建图片服务器单实例篇 C ...
- 分布式文件系统 - FastDFS 在 CentOS 下配置安装部署
少啰嗦,直接装 看过上一篇分布式文件系统 - FastDFS 简单了解一下的朋友应该知道,本次安装是使用目前余庆老师开源的最新 V5.05 版本,是余庆老师放在 Github 上的,和目前你能在网络上 ...
- centos 系统下安装FastDFS+nginx+fastdfs-nginx-module安装配置
前言: 以前的项目上传的文件都是保存到本地或者是局域网内的共享文件夹下,由于数据量,服务器的负载均衡(分机的某些图片无法访问的问题处理)等因素的情况下,就想到用fastdfs来文件管理,花了几天时间硬 ...
- 转载:分布式文件系统 - FastDFS 在 CentOS 下配置安装部署(1)
原文:http://blog.mayongfa.cn/192.html 一.安装 libfastcommon 和 FastDFS 1.下载安装 libfastcommon ,这里是通过wget下载(我 ...
- Dubbo入门到精通学习笔记(十七):FastDFS集群的安装、FastDFS集群的配置
文章目录 FastDFS集群的安装 FastDFS 介绍(参考:http://www.oschina.net/p/fastdfs) FastDFS 上传文件交互过程: FastDFS 下载文件交互过程 ...
- Docker部署FastDFS(附示例代码)
1. FastDFS简介 FastDFS是一个开源的分布式文件系统,它对文件进行管理,功能包括:文件存储.文件同步.文件访问(文件上传.文件下载)等,解决了大容量存储和负载均衡的问题.特别适合以文 ...
- Centos6.10源码部署zabbix-3.2.6
环境:Centos6.10 已有lnmp环境 mysql5.7 php7.2 创建zabbix数据库 mysql> create database zabbix character se ...
随机推荐
- PTA-1003 我要通过!
1003 我要通过!https://pintia.cn/problem-sets/994805260223102976/problems/994805323154440192 “答案正确”是自动判题系 ...
- centos7下自动备份mysql数据库
环境:centos7 .mysql5.7 第一步:创建自动备份脚本文件 mkdir backup cd backup touch backup.sh 第二步:在备份脚本文件中写入备份脚本 vim ba ...
- 08 部署nginx web服务器(转发fastDFS请求)
先准备两个文件: fastdfs-nginx-module-master.tar.gz:fastDFS nginx安装包 nginx-1.17.3.tar.gz:nginx安装包 注:这两个包文件要匹 ...
- 用Object.prototype.toString.call(obj)检测对象类型原因分析
用Object.prototype.toString.call(obj)检测对象类型原因分析 更新时间:2018年10月11日 08:46:33 投稿:laozhang 我要评论 在本 ...
- STM32------SYSCLK
重要的时钟:PLLCLK, SYSCLK, HCKL, PCLK1, PCLK2 之间的关系要弄清楚; 1.HSI:高速内部时钟信号 stm32单片机内带的时钟(8M频率)精度较差2.H ...
- linux异常 - unzip: 未找到命令
问题描述 unzip: Command Not Found 或 zip: Command Not Found 或unzip: 未找到命令 解决方法 如果是Ubuntu的的系统可以用下面的命令安装:su ...
- npx工具
参考文章:阮一峰的网络日志 - npx 使用教程 npx的作用 1.调用项目模块 即node_modules目录下的模块,而不用加上相对路径 $ npx mocha --version 原本应该是这样 ...
- CentOS 7防火墙快速开放端口配置方法
CentOS升级到7之后,发现无法使用iptables控制Linuxs的端口,baidu之后发现Centos 7使用firewalld代替了原来的iptables.下面记录如何使用firewalld开 ...
- js -- 正则表达式集合
在做项目中,有时需要进行正则验证,但我又不太会正则表达式. 在一次又一次的寻找正则表达式的过程中,我最后总结了一个用于验证的函数,把我们常用的正则写在方法里,就不用每次都去网上找了. 可以根据需求进行 ...
- IntelliJ IDEA 2017.3百度-----文件树状结构