Redis 3.0.7 参数文件参考
发表于:2024-10-26 作者:千家信息网编辑
千家信息网最后更新 2024年10月26日,cat /app/redis/config/redis_6380.conf #################### INCLUDES ##################### include /p
千家信息网最后更新 2024年10月26日Redis 3.0.7 参数文件参考
cat /app/redis/config/redis_6380.conf #################### INCLUDES ##################### include /path/local.conf# include /path/other.conf#################### GENERAL ####################daemonize yespidfile "/app/redis/config/redis_6380.pid"port 6380tcp-backlog 511# bind 192.168.1.100 10.0.0.1# bind 127.0.0.1# unixsocket /app/redis/tmp/redis.sock# unixsocketperm 700timeout 30tcp-keepalive 0loglevel noticelogfile "/app/redis/log/redis_6380.log"databases 16#################### SNAPSHOTTING ################ save ""save 900 1save 300 10save 60 10000stop-writes-on-bgsave-error yesrdbcompression yesrdbchecksum yesdbfilename "dump_6380.rdb"dir "/app/redis/db_data"#################### REPLICATION ###############slave-serve-stale-data noslave-read-only yesrepl-diskless-sync norepl-diskless-sync-delay 5# repl-ping-slave-period 10# repl-timeout 60repl-disable-tcp-nodelay no# repl-backlog-size 1mb# repl-backlog-ttl 3600slave-priority 100# min-slaves-to-write 3# min-slaves-max-lag 10#################### SECURITY ################### rename-command CONFIG ""#################### LIMITS ####################maxclients 20000maxmemory 10gb# volatile-lru -> remove the key with an expire set using an LRU algorithm # allkeys-lru -> remove any key accordingly to the LRU algorithm # volatile-random -> remove a random key with an expire set # allkeys-random -> remove a random key, any key # volatile-ttl -> remove the key with the nearest expire time (minor TTL) # noeviction -> don't expire at all, just return an error on write operations maxmemory-policy allkeys-lru #################### APPEND ONLY MODE #########appendonly yesappendfilename "appendonly_6380.aof"appendfsync everysecno-appendfsync-on-rewrite noauto-aof-rewrite-percentage 100auto-aof-rewrite-min-size 64mbaof-load-truncated yes#################### LUA SCRIPTING ############lua-time-limit 5000#################### SLOW LOG #################slowlog-log-slower-than 10000slowlog-max-len 128#################### LATENCY MONITOR ##########latency-monitor-threshold 0#################### EVENT NOTIFICATION #######notify-keyspace-events ""#################### ADVANCED CONFIG ##########hash-max-ziplist-entries 512hash-max-ziplist-value 64list-max-ziplist-entries 512list-max-ziplist-value 64set-max-intset-entries 512zset-max-ziplist-entries 128zset-max-ziplist-value 64hll-sparse-max-bytes 3000activerehashing yesclient-output-buffer-limit normal 0 0 0client-output-buffer-limit slave 256mb 64mb 60client-output-buffer-limit pubsub 32mb 8mb 60hz 10aof-rewrite-incremental-fsync yes#################### Redis Auth ############## masterauth "<>"requirepass "< >"slaveof 10.0.20.14 6380########## Redis Cluster ########### cluster-enabled yes # cluster配置文件(启动自动生成) # cluster-config-file nodes.conf #节点互连超时的阀值 # cluster-node-timeout 15000 # cluster-slave-validity-factor 10# cluster-migration-barrier 1 # cluster-require-full-coverage yes#部署在同一机器的redis实例,把auto-aof-rewrite搓开,防止瞬间fork所有redis进程做rewrite,占用大量内存 # auto-aof-rewrite-percentage 80-100
$cat /app/redis/config/sentinel_26380.confport 26380daemonize yeslogfile "/app/redis/log/sentinel_26380.log"dir "/app/redis/tmp"#master 10.0.20.14 6380sentinel monitor master_6380 10.0.20.14 6380 1sentinel down-after-milliseconds master_6380 3000sentinel failover-timeout master_6380 15000sentinel parallel-syncs master_6380 1sentinel auth-pass master_6380 XXXXXX
文件
内存
实例
机器
自动生成
节点
进程
生成
配置
参数
参考
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
数据库的创建用什么工具
rs 读取数据库
崇明区创新数据库服务商清单
db2数据库索引文件损坏
网络安全问卷视频
伯尔尼报纸数据库
wmi数据库
浙商银行科技部软件开发
服务器管理盘安装图
数据库教程 w3
安全的数据库客户端支持安全管理
海南腾讯网络技术有限公司
免费云服务器 知乎
饥荒联机提示你的服务器
数据库日志清除工具2000
关于学生网络安全的故事
网络技术提取
网络技术包括
网络安全同源性分析
联盟获取服务器失败
微软云香港服务器线路
一般国企干软件开发
数据库测试多少节点合适
select监测串口数据库
网络安全大赛厉害吗
浙江pdu服务器电源报价
工控网络安全的规范
软件开发合同技术协议范本
安卓视频合并软件开发
流行的软件开发技能培训