RT
设置最大连接数3000,服务也重启了,但是实际上连接突破150左右的时候我的采集服务就会出现如下图问题。
超时也设置了,求大神指教
出错图可能看不清楚,
错误:error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
如果是.NET程序的话,需要在连接字符串中添加连接池的设置,比如:
Max Pool Size=1000
好的我试试看
非常感谢