I am getting "500 Internal Server" error while accessing my webapplication in SharePoint 2010. After some tracing I found that the actual error is :
"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"
After I perform IIS Reset everything works fine but only for few minutes. I have already tried following: increase the executionTimeout in web.config to 3600
edit all custom code to have dispose
change the Idle Time-out in IIS
Change the timeout value to 90 in SharePoint configuration DB connection string
This error has recently occurred, can any one suggest what possibly could be done here.