Describe the bug
We regularly see the following issue:
- clickhouse not being as fast as expected due to high load (not nice, things to optimize but these things can happen)
- chproxy receiving lots of inserts from applications without being able to forward them in time. It happily accepts hundreds of connections in parallel...
- chproxy being OOM killed
- chproxy restarted, introducing even more load on the clickhouse server due to new connections....
To Reproduce
- make clickhouse slow
- put chproxy under load with lots of big parallel inserts.
Expected behavior
No OOM. Better memory handling. Cancel connections or let them wait before running OOM.
Environment information
chproxy v1.26.2
clickhosue 24.3.2.23
Describe the bug
We regularly see the following issue:
To Reproduce
Expected behavior
No OOM. Better memory handling. Cancel connections or let them wait before running OOM.
Environment information
chproxy v1.26.2
clickhosue 24.3.2.23