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 ...
随机推荐
- 题解 AT4170 【[ABC103A] Task Scheduling Problem】
翻译 有 \(3\) 个正整数 \(a\).\(b\).\(c\),请你输出这 \(3\) 个数中的最大值 \(-\) 最小值的差. 分析 求最大值 \(-\) 最小值的差,我们自然可以使用 for ...
- pom.xml文件中dependency标签的scope子标签
1.最近整合了公司的一个项目A,而A又依赖项目B,项目B中pom.xml中有一个依赖的<scope>provided</scope>,查了一下,原来provided属性,jar ...
- arm-linux下qt + opencv开发环境的搭建(Altera DE1 Soc)
arm-linux-gnueabihf-gcc下载 qt下载 arm-linux下qt + opencv开发环境的搭建(Altera DE1 Soc) Ubuntu 16.04 安装QT arm嵌入式 ...
- mysql慢日志分析pt-query-digest
一.pt-query-digest 安装pt-query-digest yum install perl-DBI yum install perl-DBD-MySQL yum install perl ...
- FireFox浏览器的about:config参数大全及其具体用途介绍
FireFox浏览器的about:config参数大全及其具体用途介绍,注意:这还远不是所有的about:config参数,由于设置参数太多,官方也只提供英文版本的说明,这里提供的FireFox ab ...
- Mybatis-生成逆向工程后对数据库的模糊查询详解
MyBatis-使用逆向工程中方法进行模糊查询 1.应用mybatis逆向工程会大大的提高我们的开发效率,如何应用mabatis 逆向生成的代码进行模糊查询那. 2.首先看一下pojo 层中examp ...
- 诡异的BUG
1.今天遇到一个诡异的BUG(一个很古老的项目),为什么说他诡异呢,我们本地都是OK的,但是现场部署就会报错? 2.描述下现象其实这个问题不难定位(关键是有个jar包没有源码不能进行验证性的编译) 我 ...
- 圆桌问题 (ArrayList+模拟)
圆桌上围坐着2n个人.其中n个人是好人,另外n个人是坏人.如果从第一个人开始数数,数到第m个人,则立即处死该人:然后从被处死的人之后开始数数,再将数到的第m个人处死……依此方法不断处死围坐在圆桌上的人 ...
- char nchar varchar nvarchar varchar2区别
char(n):长度不可变,长度为n个字节,非Unicode字符 nchar(n):长度不可变,长度为2n个字节,Unicode字符 varchar(n):长度可变,长度为n个字节,非Unicode字 ...
- util之Stack
定义 Stack<Integer>s = new Stack<>(); boolean isEmpty() 测试堆栈是否为空. Object peek( ) 查看堆栈顶部的对 ...