少於 1 分鐘閱讀

##推薦

keylord

解決因快照功能失敗 導致排程無法繼續問題

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

$ redis-cli
redis> config set stop-writes-on-bgsave-error no

解決無原因queue被killed的問題

Yes, you need more RAM. Try using -c 5 to shrink Sidekiq’s memory usage a bit.

Reference

  1. http://stackoverflow.com/questions/19581059/misconf-redis-is-configured-to-save-rdb-snapshots
  2. http://blog.kankanan.com/posts/2012/12/16_89e351b34fdd5b585feb716759318d25540eredis65e06cd551995165768495ee9898.html
  3. http://stackoverflow.com/questions/23801259/sidekiq-got-killed-for-no-reason
  4. https://github.com/mperham/sidekiq/issues/672

更新時間:

留言