I have a Asp.Net website. I have migrated some of the pages from existing website to DNN running as an independent website in IIS as https://www.domain.com/cms/
Both sites are in same Apppool.
I am handling urls using RewriteRules.
I have a separate DNN database lying on the same machine on which the IIS is running.
DB has MAX_CONNECTIONS set to 32767
My DNN connection string is something like this:
"Data Source=XX.XX.XX.XX;Initial Catalog=DNN_DB_NAME;User Id=USER_ID;Password=XXXXXX;Connection Timeout=3000;Application Name= APP_NAME"
Now I am trying to open a page created in DNN in roughly 80 tabs of Google Chrome simultaneously also in jMeter. Out of those 80 only 60-70% tabs work fine while others give the error as shown in the attached screenshot. Sometime the whole DNN site gives the same Error 500. Nothing works at all. Then I have to manually re-cycle the apppool. Everything starts to work fine afterwards.
Can anybody point me to reason and solution of this problem?
Screenshot: