加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sample.conf 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
yuqing 提交于 2018-05-11 18:31 . log log_level
# connect timeout in seconds
# default value is 10s
connect_timeout = 2
# network timeout in seconds
# default value is 30s
network_timeout = 60
# the base path to store data and log files
base_path = /tmp
# bind an address of this host for inner port
# empty for bind all addresses of this host
inner_bind_addr =
# bind an address of this host for outer port
# empty for bind all addresses of this host
outer_bind_addr =
# the internal server port
inner_port = 5607
# the outer server port
outer_port = 5608
# max concurrent connections this server supported
# default value is 256
max_connections = 1024
# accept thread count
# default value is 1
accept_threads = 1
# work thread count
# default value is 4
work_threads = 16
min_buff_size = 4KB
max_buff_size = 64KB
# max pkg size
# default value is 16K
max_pkg_size = 64KB
# thread stack size, should >= 64KB
# default value is 64KB
thread_stack_size = 256KB
#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 =
# sync log buff to disk every interval seconds
# default value is 10 seconds
sync_log_buff_interval = 10
# if rotate the error log every day
# default value is false
rotate_error_log = true
# keep days of the log files
# 0 means do not delete old log files
# default value is 0
log_file_keep_days = 7
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化