-
Notifications
You must be signed in to change notification settings - Fork 842
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
业务高峰时段数据库操作报异常System.AggregateException: One or more errors occurred. (Name or service not known) #1795
Comments
你现在已经把问题矛头,放在FreeSql上面了。 提示已经很明显了,检查网络情况。特别是在报错的时候,你应该在程序中启动一份代码,用原生ado.net访问数据库测试的代码。 |
@2881099 你好,都是在获取池子里连接的时候报异常 业务请求量大的时候会出现,请问要加测试代码加在哪里? |
提示操作被取消了,检查程序逻辑执行顺序。 |
问题描述:
UseAdoConnectionPool(false)时报
UseAdoConnectionPool(true)时报
看着像是获取不到数据库连接了,但查询阿里云SQL server时连接数并不高,100左右
连接字符串里尝试配置了
无效果问题依然存在,异常基本都出现在业务高峰时段
数据库版本
阿里云RDS SQL Server 2016 标准版
安装的Nuget包
3.2.815
.net framework/. net core? 及具体版本
.netcore 6.0
The text was updated successfully, but these errors were encountered: