DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

URGENT: Intermittent Site-Wide 500 Errors Post-Migration (SQL Network Drop & Pool Exhaustion)

 0 Replies
 0 Subscribed to this topic
 24 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 1
New Around Here

We are experiencing critical, random website outages. The site goes down completely, returning 500 Internal Server Errors to all visitors. We urgently need your assistance to review our architecture and pinpoint the cause of these database disconnections.

Here are the specific fatal errors we are capturing simultaneously during a crash:

1. Hard Network Drop (Named Pipes Error)

System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The specified network name is no longer available

2. Connection Pool Exhaustion (Cascading Effect)

System.InvalidOperationException: 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.

3. Cascading Application Failure

DotNetNuke.Common.Initialize - The connection to the database has failed, however, the application is already completely installed, a 500 error page will be shown to visitors

 

What we have verified/attempted so far:

  • Connection Strings: Verified and tested. The site runs perfectly fine until these random drops occur.

  • Pool Size: We have already increased our Max Pool Size to 500, but the pool is still maxing out entirely when the network drop occurs.

 

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved