Hi,
I would like to know when will these connections in stats_mysql_processlist be closed by default by proxysql. Why user and and client has some imaginary values ? Will this be counted in by proxysql to find the max front-end connections.
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 |
+----------+-----------+----------------------+----+------------+----------+-----------+------------+------------+----------+----------+-------------------+---------+------+--------------+---------------+
| 1 | 56508 | unauthenticated user | NULL | 10.59.2.50 | 40386 | -1 | NULL | NULL | NULL | NULL | Connecting client | 0 | NULL | NULL | NULL |
| 2 | 56529 | unauthenticated user | NULL | 10.59.2.50 | 58514 | -1 | NULL | NULL | NULL | NULL | Connecting client | 0 | NULL | NULL | NULL |
+----------+-----------+----------------------+----+------------+----------+-----------+------------+------------+----------+----------+-------------------+---------+------+--------------+---------------+
2 rows in set (0.01 sec)
mysql>
mysql> select * from stats_mysql_users;
+-----------------+----------------------+--------------------------+
| username | frontend_connections | frontend_max_connections |
+-----------------+----------------------+--------------------------+
| abcd | 0 | 5 |
| abc | 0 | 5 |
How to avoid/remove those stale entries. Any leads would be really helpful.
Thanks ahead!