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

Increasing the number of "Abort client count" in mysql status, even remove pool. #167

Open
alawatta opened this issue May 19, 2015 · 3 comments

Comments

@alawatta
Copy link

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.

@alawatta
Copy link
Author

any update on this pls?

@jlouis
Copy link
Collaborator

jlouis commented May 28, 2015

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.

@jlouis
Copy link
Collaborator

jlouis commented May 28, 2015

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.

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

No branches or pull requests

2 participants