2017-07-31 14:14:33 +08:00
|
|
|
|
#inet_interfaces = all
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 默认的每个服务的最大进程数
|
2017-07-31 14:14:33 +08:00
|
|
|
|
default_process_limit = 250
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 用户属主
|
2017-07-31 14:14:33 +08:00
|
|
|
|
owner_user = root
|
|
|
|
|
master_owner = root
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 当停止 master 时是否等待所有子进程退出
|
2017-09-05 23:47:48 +08:00
|
|
|
|
waiting_on_stop = true
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 组主
|
2017-07-31 14:14:33 +08:00
|
|
|
|
owner_group = root
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 如果子进程服务异常退出,重启该子进程服务的时间间隔(秒)
|
2017-12-05 15:19:29 +08:00
|
|
|
|
service_throttle_time = 10
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 父进程进程名
|
2017-07-31 14:14:33 +08:00
|
|
|
|
process_name = acl_master
|
|
|
|
|
#daemon_timeout = 18000
|
|
|
|
|
buf_size = 81920
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 父进程与子进程通信时的读写超时时间(秒)
|
2017-07-31 14:14:33 +08:00
|
|
|
|
rw_timeout = 60
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 父进程通知子进程重新加载配置时获得子进程反馈的超时时间(毫秒)
|
2017-09-11 14:28:22 +08:00
|
|
|
|
reload_timeout = 5000
|
2017-07-31 14:14:33 +08:00
|
|
|
|
#max_use = 100
|
|
|
|
|
#max_idle = 100
|
|
|
|
|
#in_flow_delay = 1
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 调用 select 循环时的等待秒级值
|
2017-07-31 14:14:33 +08:00
|
|
|
|
event_delay_sec = 1
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 调用 select 循环时的等待微秒级值
|
2017-07-31 14:14:33 +08:00
|
|
|
|
event_delay_usec = 5000
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 所有服务进程程序所在的默认目录
|
2017-07-31 14:14:33 +08:00
|
|
|
|
daemon_directory = {install_path}/libexec
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# acl_master 进程运行时的日志记录文件
|
2017-07-31 14:14:33 +08:00
|
|
|
|
log_file = {install_path}/var/log/acl_master
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 所有服务进程的服务配置文件所在的目录
|
2017-07-31 14:14:33 +08:00
|
|
|
|
service_directory = {install_path}/conf/service
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 是否扫描并行 {install_path}/conf/service/ 目录下的子目录服务配置文件,0 -- 否,1 -- 是
|
2022-06-28 16:07:25 +08:00
|
|
|
|
scan_subdir = 1
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 扫描 service_directory 下的配置文件时,指定的文件扩展名
|
2017-11-12 00:20:15 +08:00
|
|
|
|
file_exts = .cf, .conf
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 指定了单独要启动的服务的配置文件列表
|
2017-11-12 00:20:15 +08:00
|
|
|
|
service_file = {install_path}/conf/services.cf
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# master 程序运行目录
|
2017-11-16 11:37:57 +08:00
|
|
|
|
queue_directory = {install_path}/var
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 记录 acl_master 运行时的进程号
|
2017-11-12 00:20:15 +08:00
|
|
|
|
pid_file = {install_path}/var/pid/acl_master.pid
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# 是否允许自动切换用户运行身份
|
2017-07-31 14:14:33 +08:00
|
|
|
|
# limit_privilege = 0
|
2017-12-08 09:36:06 +08:00
|
|
|
|
# acl_master 对外 WEB 管理接口地址
|
2017-07-31 14:14:33 +08:00
|
|
|
|
#manage_addr = 127.0.0.1:8190
|
|
|
|
|
manage_addr = {install_path}/var/public/master.sock
|
2018-02-23 23:35:31 +08:00
|
|
|
|
# the montitor listen addr for acl_master reports the children's exception
|
|
|
|
|
master_notify_addr = {install_path}/var/public/monitor.sock
|