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

连接数不够用 #41

Closed
mitiger opened this issue Oct 30, 2017 · 2 comments
Closed

连接数不够用 #41

mitiger opened this issue Oct 30, 2017 · 2 comments

Comments

@mitiger
Copy link

mitiger commented Oct 30, 2017

并发量大的情况下, 连接数会不够用
image

我已经设置了MaxPoolSize=500
感觉像是连接没有释放, 但是 我有在每个操作之后, 都去调用Close方法
image

@mitiger
Copy link
Author

mitiger commented Oct 30, 2017

一开始报的错是 get client error , 跑一段时间之后,就变成Pool is busy了

@seefan
Copy link
Owner

seefan commented Oct 31, 2017

这种情况是因为瞬间并发太高造成的,你可以控制一下你的并发量再试一下。get client error要看一下具体的错误原因。

@seefan seefan closed this as completed Dec 20, 2017
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