diff options
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/conf/main.conf | 74 | ||||
| -rw-r--r-- | bin/conf/table_info.conf | 11 |
2 files changed, 85 insertions, 0 deletions
diff --git a/bin/conf/main.conf b/bin/conf/main.conf new file mode 100644 index 0000000..4b5bb2c --- /dev/null +++ b/bin/conf/main.conf @@ -0,0 +1,74 @@ +[NETWORK] +DataRecvPort=33082 +SurveySendPort=22080 + + +[SYSTEM] +ThreadNum=1 +RecvQueueMaxnum=2000000 + +MediaHashThreadSafe=1 +MediaHashSize=65536 +MediaHashElemNum=1048576 +MediaHashExpireTime=300 + +[MAAT] +TableInfo=./conf/table_info.conf +FullCfgDir=/home/mesasoft/dd/ddrule/full/index/ +IncCfgDir=/home/mesasoft/dd/ddrule/inc/index/ + +[LOG] +LogLevel=1 +LogPath=./log/runtime.log + +#resp msg log +RespLogPath= ./log/survey.log + +#media create log +MediaCreateLogPath= ./log/media_create.log + +#media expire log +MediaExpireLogPath= ./log/media_expire.log + +#field_stat +StatCycle=2 +StatFile=./log/dd_stat.log + +SysinfoCycle=2 +SysinfoFile=./log/dd_sysinfo.log + +[TANGO_CACHE] +#MINIO IP��ַ��Ŀǰֻ֧��һ�� + +MINIO_BROKERS_LIST=192.168.10.64:9000 + + + +#ÿ������������������ + +MAX_CONNECTION_PER_HOST=10 + + + +#bucket������ + +CACHE_BUCKET_NAME=openbucket + + + +#�������ռ�õ��ڴ�ռ��С�������ռ�ʱ�ϴ�ʧ�� + +MAX_USED_MEMORY_SIZE_MB=5120 + + + +#�ϴ�ʱExpiresͷ���Ĺ���ʱ�䣬��λ�룬��С60��1���ӣ� + +CACHE_DEFAULT_TTL_SECOND=60 + + + +#�Ƿ�Զ�������ƽ��й�ϣ��������ϣ����������ϴ����ص����� + +CACHE_OBJECT_KEY_HASH_SWITCH=0 + diff --git a/bin/conf/table_info.conf b/bin/conf/table_info.conf new file mode 100644 index 0000000..7be8d3e --- /dev/null +++ b/bin/conf/table_info.conf @@ -0,0 +1,11 @@ +#each collumn seperate with '\t' +#id (0~65535( +#name string +#type one of ip,expr,compile or plugin +#src_charset one of GBK,BIG5,UNICODE,UTF8 +#dst_charset combined by GBK,BIG5,UNICODE,UTF8,seperate with '/' +#do_merege yes or no +#id name type src_charset dst_charset do_merge +0 MM_COMPILE compile GBK GBK no 0 +1 MM_GROUP group GBK GBK no 0 +2 MM_FILE_DIGEST digest GBK GBK no 0 |
