You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I add pool & then remove connection. Then it will increase the number of Abort client count in mysql status. Why is that ? Seems emysql:remove_pool not working as expected.
Br,
Shehan
here is the sample code:
case emysql:add_pool(db_conn_temp, Size, User, Password, Host, Port, Database, Encoding) of
ok ->
emysql:remove_pool(db_conn_temp);
_->
ok
end.
Aborted clients - The number of connections that were aborted because the client died without closing the connection properly.
The text was updated successfully, but these errors were encountered:
I'm not sure how actively this project is being developed anymore. I threw the mantle somewhere last year, because I wasn't using the project anymore and I grew frustrated with the code base as well as MySQLs insanely badly crafted communication protocol.
What you are seeing is one of those inconsistencies. removing a pool forcibly closes the client connections, so this is counted against aborted clients. But chances are that fixing this also removes the ability to find aborted clients in the first place.
Hi,
I add pool & then remove connection. Then it will increase the number of Abort client count in mysql status. Why is that ? Seems emysql:remove_pool not working as expected.
Br,
Shehan
here is the sample code:
case emysql:add_pool(db_conn_temp, Size, User, Password, Host, Port, Database, Encoding) of
ok ->
emysql:remove_pool(db_conn_temp);
_->
ok
end.
Aborted clients - The number of connections that were aborted because the client died without closing the connection properly.
The text was updated successfully, but these errors were encountered: