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
It will create a new connection, when the connection exceeds the maximum limit, it will close it when put it back to the pool. We need to close every connection that exceeds the maximum limit, and close will cause this problem. TIME_WAIT is a common TCP issue.
Perhaps you can increase the maximum limit or change the code as @donchev7 suggested.
Or if you want to limit concurrent connections, you can use a channel to restrict concurrency.
usage :
main.go
and this in my service called by controller
connection always create new connection grater than max capacity pool
monitoring my connection
netstat -tupn | grep 1500
in my terminal
how to set up connection just maximum established ?
The text was updated successfully, but these errors were encountered: