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

コネクションプールが一度壊れると再起動するまで直らない #62

Open
kory33 opened this issue Sep 10, 2022 · 1 comment

Comments

@kory33
Copy link
Member

kory33 commented Sep 10, 2022

https://grafana.onp-k8s.admin.seichi.click/explore?orgId=1&left=%7B%22datasource%22:%22Loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22editorMode%22:%22builder%22,%22expr%22:%22%7Bapp%3D%5C%22seichi-game-data-server%5C%22%7D%20%7C%3D%20%60%60%22,%22queryType%22:%22range%22%7D%5D,%22range%22:%7B%22from%22:%221662748445649%22,%22to%22:%221662757317077%22%7D%7D

この辺から、再起動するまでずっと

2022-09-10 05:59:31	
2022-09-09T20:59:31.575913Z ERROR infra_grpc::read_service: Received an error from data source: pool timed out while waiting for an open connection

のようなログが出ていた

@kory33
Copy link
Member Author

kory33 commented Sep 10, 2022

何らかの理由でacquireしたconnectionがpoolに返っていない可能性がある

https://docs.rs/sqlx/latest/sqlx/struct.Pool.html

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

No branches or pull requests

1 participant