Hi - Thanks for the reply.
I've experienced the problem running Proxysql 2.0.4 on Debian Bookworm and also Proxysql 3.0.3 on Debian Trixie.
I've replicated with dumps of varying sizes, even as little as 1MB and as big as 70MB sql files. I've tried dumping the entire database and also just a single table. All with the same effect.
Latency between the proxysql server and the backend database is very low:
64 bytes from
10.9.67.57: icmp_seq=1 ttl=64 time=0.574 ms
64 bytes from
10.9.67.57: icmp_seq=2 ttl=64 time=0.929 ms
64 bytes from
10.9.67.57: icmp_seq=3 ttl=64 time=0.654 ms
64 bytes from
10.9.67.57: icmp_seq=4 ttl=64 time=1.04 ms
The CPU usage of proxysql seems unaffected when it hangs compared with other times - always around 2%.
When it hangs, it hangs within a few seconds. Regardless of the size of the table being dumped, it always gets between 300 and 500 KB before it hangs. Examples of exact amount of bytes dumped: 327680, 344064, 454656. Often it dumps the exact same amount of bytes when I run it over and over on the same table.
SELECT * FROM stats_mysql_processlist:
+----------+-----------+-----------+-----------+-----------+----------+-----------+------------+------------+------------+----------+---------+---------+------+--------------+---------------+
| ThreadID | SessionID | user | db | cli_host | cli_port | hostgroup | l_srv_host | l_srv_port | srv_host | srv_port | command | time_ms | info | status_flags | extended_info |
+----------+-----------+-----------+-----------+-----------+----------+-----------+------------+------------+------------+----------+---------+---------+------+--------------+---------------+
| 2 | 62 | testjamie | testjamie | localhost | NULL | 9 | 10.9.67.61 | 39444 | 10.9.67.57 | 3306 | Sleep | 44051 | NULL | 16 | NULL |
+----------+-----------+-----------+-----------+-----------+----------+-----------+------------+------------+------------+----------+---------+---------+------+--------------+---------------+
I don't get anything in the logs except:
[WARNING] Closing unhealthy client connection localhost:0
When I ctrl-c to cancel. Although I don't think I'm properly setting a high enough logging level - can you point me in the right direction to get more verbose logging for this?
Thanks for your help.
jamie