Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

特定のMacOSバージョンでRedisインストールで失敗しないようにパッチをあてる #63

Merged
merged 12 commits into from
Jun 19, 2024

Conversation

yuki777
Copy link
Collaborator

@yuki777 yuki777 commented Apr 6, 2024

@yuki777
Copy link
Collaborator Author

yuki777 commented Jun 19, 2024

@DaichiYamazaki

#62 (comment)
こちらの件、もう一度確認したところ、makeでエラーになっていました。
あまりソースを修正したくないですが、インストールできないのも困るため、macでredis 6*の場合のみ、このパッチをあてることにします。

@yuki777 yuki777 mentioned this pull request Jun 19, 2024
@yuki777
Copy link
Collaborator Author

yuki777 commented Jun 19, 2024

  • UbuntuでRedis 7.2.5のテストを追加したところエラーがありました。
  • 下記の出力があるためcreate, restart, create-start時に、jsonフォーマットとしてinvalidになりjqにパイプできずテストfailとなっています。
  • warnメッセージの通り、CIテスト時にsysctl vm.overcommit_memory=1を設定するようにしました
7340:C 19 Jun 2024 02:23:00.734 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
Screenshot 2024-06-19 at 9 39 06

@yuki777 yuki777 changed the title 特定のMacOSバージョンでRedisインストールに失敗しないようにする 特定のMacOSバージョンでRedisインストールで失敗しないようにパッチをあてる Jun 19, 2024
@yuki777 yuki777 merged commit dc7d3aa into main Jun 19, 2024
16 checks passed
@yuki777 yuki777 deleted the fix/redis6-mac-patch branch June 19, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redisが起動しない
1 participant