The timeout period elapsed prior to obtaining a connection from the pool

前端 未结 4 1141
醉梦人生
醉梦人生 2021-01-22 15:31

I\'m getting this error every few days. I won\'t see the error for a few days then I\'ll get a flurry of 20 or so all with in a minute or so.

I\'ve been very thorough go

4条回答
  •  爱一瞬间的悲伤
    2021-01-22 16:03

    A quick question here. Are you by chance on an access DB because there is a limit on the number of connections that you can concurrently have on it which would result in your type of error. SQL serve shouldn't have the same problem.

    if you are runing SQL server then turn off connection pooling and see if it makes a difference to your app.

    I found out with our system about 5 years ago when our company was rapidly growing that we basically broke access when we started constantly hitting the user cap. We switched to SQL in about 24 hours and haven't had a problem since.

提交回复
热议问题