
創(chuàng)新互聯(lián)是一家集網(wǎng)站建設(shè),德惠企業(yè)網(wǎng)站建設(shè),德惠品牌網(wǎng)站建設(shè),網(wǎng)站定制,德惠網(wǎng)站建設(shè)報(bào)價(jià),網(wǎng)絡(luò)營(yíng)銷,網(wǎng)絡(luò)優(yōu)化,
德惠網(wǎng)站推廣為一體的創(chuàng)新建站企業(yè),幫助傳統(tǒng)企業(yè)提升企業(yè)形象加強(qiáng)企業(yè)競(jìng)爭(zhēng)力??沙浞譂M足這一群體相比中小企業(yè)更為豐富、高端、多元的互聯(lián)網(wǎng)需求。同時(shí)我們時(shí)刻保持專業(yè)、時(shí)尚、前沿,時(shí)刻以成就客戶成長(zhǎng)自我,堅(jiān)持不斷學(xué)習(xí)、思考、沉淀、凈化自己,讓我們?yōu)楦嗟钠髽I(yè)打造出實(shí)用型網(wǎng)站。cat /app/redis/config/redis_6380.conf
#################### INCLUDES ####################
# include /path/local.conf
# include /path/other.conf
#################### GENERAL ####################
daemonize yes
pidfile "/app/redis/config/redis_6380.pid"
port 6380
tcp-backlog 511
# bind 192.168.1.100 10.0.0.1
# bind 127.0.0.1
# unixsocket /app/redis/tmp/redis.sock
# unixsocketperm 700
timeout 30
tcp-keepalive 0
loglevel notice
logfile "/app/redis/log/redis_6380.log"
databases 16
#################### SNAPSHOTTING ###############
# save ""
save 900 1
save 300 10
save 60 10000
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename "dump_6380.rdb"
dir "/app/redis/db_data"
#################### REPLICATION ###############
slave-serve-stale-data no
slave-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
# repl-ping-slave-period 10
# repl-timeout 60
repl-disable-tcp-nodelay no
# repl-backlog-size 1mb
# repl-backlog-ttl 3600
slave-priority 100
# min-slaves-to-write 3
# min-slaves-max-lag 10
#################### SECURITY ##################
# rename-command CONFIG ""
#################### LIMITS ####################
maxclients 20000
maxmemory 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 yes
appendfilename "appendonly_6380.aof"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
#################### LUA SCRIPTING ############
lua-time-limit 5000
#################### SLOW LOG #################
slowlog-log-slower-than 10000
slowlog-max-len 128
#################### LATENCY MONITOR ##########
latency-monitor-threshold 0
#################### EVENT NOTIFICATION #######
notify-keyspace-events ""
#################### ADVANCED CONFIG ##########
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-entries 512
list-max-ziplist-value 64
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
#################### Redis Auth ##############
masterauth "<<password>>"
requirepass "<<password>>"
slaveof 10.0.20.14 6380
########## Redis Cluster ##########
# cluster-enabled yes
# cluster配置文件(啟動(dòng)自動(dòng)生成)
# cluster-config-file nodes.conf
#節(jié)點(diǎn)互連超時(shí)的閥值
# cluster-node-timeout 15000
# cluster-slave-validity-factor 10
# cluster-migration-barrier 1
# cluster-require-full-coverage yes
#部署在同一機(jī)器的redis實(shí)例,把a(bǔ)uto-aof-rewrite搓開(kāi),防止瞬間fork所有redis進(jìn)程做rewrite,占用大量?jī)?nèi)存
# auto-aof-rewrite-percentage 80-100$cat /app/redis/config/sentinel_26380.conf
port 26380
daemonize yes
logfile "/app/redis/log/sentinel_26380.log"
dir "/app/redis/tmp"
#master 10.0.20.14 6380
sentinel monitor master_6380 10.0.20.14 6380 1
sentinel down-after-milliseconds master_6380 3000
sentinel failover-timeout master_6380 15000
sentinel parallel-syncs master_6380 1
sentinel auth-pass master_6380 XXXXXX
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。
分享題目:Redis3.0.7參數(shù)文件參考-創(chuàng)新互聯(lián)
本文網(wǎng)址:http://www.rwnh.cn/article22/cepscc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、網(wǎng)站營(yíng)銷、ChatGPT、標(biāo)簽優(yōu)化、軟件開(kāi)發(fā)、網(wǎng)站內(nèi)鏈
廣告
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源:
創(chuàng)新互聯(lián)