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

Close connections to MySQL source, add mysql connection timeout #13851

Open
Artemeey opened this issue Aug 18, 2020 · 0 comments
Open

Close connections to MySQL source, add mysql connection timeout #13851

Artemeey opened this issue Aug 18, 2020 · 0 comments

Comments

@Artemeey
Copy link
Contributor

Artemeey commented Aug 18, 2020

Сейчас clickhouse не закрывает соединения, после обращения к движку MySQL.
В случае нечастых обращений к MySQL или при отсутствии постоянного использования всех открытых соединений, часть соединений будет закрываться сервером MySQL при превышении wait timeout.

При этом в лог ошибок MySQL поступает подообная информация:
[Warning] Aborted connection 21856569 to db: 'default' user: 'clickhouse' host: '172.20.0.2' (Got timeout reading communication packets)

Вместе с этим растут показатели MySQL Aborted clients и Aborted connects, это мешает адекватному анализу работы MySQL.

Похожее : #893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants