We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Kompira と DB サーバ間のコネクションが途中経路などで意図せず切断されないように、TCP keepalive を短く設定する。 tcp_keepalive_time のデフォルトは 7200 (2時間) であり、ある環境ではこれではアイドル時に切断されてしまう(その後ジョブフローが正常動作しない)事象が発生した。当該環境では以下のように tcp_keepalive_time を 1800 (30分) にすることで、セッションが切れることが無くなった。
sysctls: net.ipv4.tcp_keepalive_intvl: 75 net.ipv4.tcp_keepalive_probes: 9 net.ipv4.tcp_keepalive_time: 1800
※ 上記設定を docker-swarm.yml の DBアクセスするサービスに下記を追記して確認した。
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
fixpoint-hasan
Successfully merging a pull request may close this issue.
Kompira と DB サーバ間のコネクションが途中経路などで意図せず切断されないように、TCP keepalive を短く設定する。
tcp_keepalive_time のデフォルトは 7200 (2時間) であり、ある環境ではこれではアイドル時に切断されてしまう(その後ジョブフローが正常動作しない)事象が発生した。当該環境では以下のように tcp_keepalive_time を 1800 (30分) にすることで、セッションが切れることが無くなった。
※ 上記設定を docker-swarm.yml の DBアクセスするサービスに下記を追記して確認した。
The text was updated successfully, but these errors were encountered: