You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/06/16 03:29:05 UTC

[GitHub] [servicecomb-service-center] fuziye01 opened a new issue #1052: go mongo driver连接池占满

fuziye01 opened a new issue #1052:
URL: https://github.com/apache/servicecomb-service-center/issues/1052


   问题描述:
   在并发量高的情况下,会报如下错误
   create service failed {"error": "timed out while checking out a connection from connection pool}
   
   问题原因:
   原因是go mongo driver的默认最大连接数量为100
   
   解决方法:
   新增配置项registry.mongo.cluster.maxPoolSize,把该参数设置为可以配置的,默认设置为1000
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-service-center] robotLJW closed issue #1052: go mongo driver连接池占满

Posted by GitBox <gi...@apache.org>.
robotLJW closed issue #1052:
URL: https://github.com/apache/servicecomb-service-center/issues/1052


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org