cms icon indicating copy to clipboard operation
cms copied to clipboard

The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 15 seconds)

Open cnfengjt opened this issue 8 years ago • 4 comments

连库串加一个MaxPoolSize参数?

cnfengjt avatar Oct 10 '18 01:10 cnfengjt

是PostgreSQL数据库吗?

starlying avatar Oct 12 '18 08:10 starlying

是PostgreSQL数据库吗?

是,我在webconfig文件连库串中加了个MaxPoolSize=512,这样能否解决?请教最终解决方法是?

cnfengjt avatar Oct 15 '18 03:10 cnfengjt

禁用或改大一下pgsql的max_connections也行吧?

cnfengjt avatar Oct 15 '18 07:10 cnfengjt

可以参考这里,改一下Web.config http://www.npgsql.org/doc/connection-string-parameters.html

starlying avatar Oct 17 '18 01:10 starlying