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 ...
随机推荐
- zabbix4.4.2安装部署
1.下载阿里的源,执行 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 2 ...
- opencv 实现人脸检测(harr特征)
我这里用的是已经训练好的haar级联分类器. 眼睛检测 haarcascade_eye_tree_eyeglasses.xml 人脸检测 haarcascade_frontalface_alt2.xm ...
- C++-POJ1995-Raising Modulo Numbers[快速幂]
#include <cstdio> typedef long long ll; int quick_pow(ll a,ll b,ll mod){ ll ans=; ))ans=(ans*a ...
- AcWing 1027. 方格取数
#include<iostream> using namespace std ; ; *N][N][N]; int w[N][N]; int n; int main() { cin> ...
- 题解【BZOJ4472】[JSOI2015]salesman
题面 树形\(\text{DP}\)与贪心的结合. 首先考虑树形\(\text{DP}\). 设\(dp_i\)表示从\(i\)出发,访问\(i\)的子树,并且最后回到\(i\)能获得的最大收益. 转 ...
- Sql 语句常语法
以前感觉在这个方面很欠缺,于是就找了些这方面的材料,自己也做了些总结,汇总到了一块.便于以后的查阅. --1.获取表的主键字段SELECT name FROM SysColumns WHERE id= ...
- html中多选框变单选框
就是一个小js,直接上代码 $("input[name='checkboxlist']").each(function () { if (this.checked &&am ...
- [bzoj1905] [ZJOI2007] Hide 捉迷藏
题意简述 给定一棵 \(n\) 个点的树,起初每个点都为黑色. 2种操作,要么改变某个点的颜色(由黑至白或由白至黑),要么询问距离最远的两个黑点间的距离. 共 \(m\) 次操作. \(n\leq 1 ...
- [LOJ144] DFS 序 1 - DFS序 线段树
为熟悉机房键盘而划水 #include <bits/stdc++.h> using namespace std; #define int long long const int N = 4 ...
- python3练习100题——018
原题链接:http://www.runoob.com/python/python-exercise-example18.html 题目:求s=a+aa+aaa+aaaa+aa...a的值,其中a是一个 ...