亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

開啟activedefrag參數報錯

redis-server redis.conf *** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 1352 >>> 'activedefrag yes' active defrag can't be enabled without proper jemalloc support 出現這種問題怎么辦

正在回答

1 回答

127.0.0.1:6379>?config?set?activedefrag?yes
(error)?ERR?Active?defragmentation?cannot?be?enabled:?it?requires?a?Redis?server?compiled?with?a?modified?Jemalloc?like?the?one?shipped?by?default?with?the?Redis?source?distribution

So I guess what you are saying is that what I was trying basically isn't possible. I'd need to install Redis completely from source rather than using a yum repo like EPEL or Remi?

I presume the only method that will work is to completely remove Redis and then build all from source? The reason I want to avoid that is because I want to have the active defrag enabled on a production server. If I need to manually upgrade redis each time then I will obviously have more down time and there is a greater possibility for things to go wrong (even if I do test the upgrade via test server) Where as updating via YUM has its clear advantages - assuming you have an up to date repo


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
Redis5.0之12項新特性
  • 參與學習       7281    人
  • 解答問題       20    個

解剖 Redis5.0 的12項新特性。

進入課程

開啟activedefrag參數報錯

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號