首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

windows log 中MSSQLSERVER的Error解决思路

2013-01-05 
windows log 中MSSQLSERVER的ErrorThe client was unable to reuse a session with SPID 70, which had be

windows log 中MSSQLSERVER的Error
The client was unable to reuse a session with SPID 70, which had been reset for connection pooling. The failure ID is 29. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message.

问下什么情况下会报这个错
[解决办法]
0.首先排除DB是否有死锁
1.最直接的办法就是增加IIS连接池大小
2.就是找出程序中大的会话请求,修改代码
3.限制IIS进程数上限,根据日常运行情况设置连接池大小(不推荐,迫不得已)
4.数据库端限制sql回话时常:SQL防火墙或数据库限制长连接(不推荐,迫不得已,没办法的办法)

热点排行