Developer forum

Forum » CMS - Standard features » The timeout period elapsed prior to obtaining a connection from the pool

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

Mats Lycken
Reply

Hi!

We are running out of connections in the connection pool for one of our sites. The error occurs when Items are being retrieved and rendered and it only occurs occasionally. We haven't modifeid any settings for the connection string, and I'm not even sure how to do that. Do you have any suggestions for fixes?

Error message and stack trace:
Exception information: Exception type: InvalidOperationException Exception message: 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. at Dynamicweb.DatabaseConnectionProvider.CreateConnection(String database) at Dynamicweb.Database.CreateConnection(String database) at Dynamicweb.Content.Items.Queries.Repository.SelectInternal(IEnumerable`1 ids, Query query) at Dynamicweb.Content.Items.Queries.Repository.SelectByIds(IEnumerable`1 ids, Query query, Boolean checkPermissions, Boolean includeInheritedItems) at Dynamicweb.Content.Items.Queries.Repository.SelectByIds(IEnumerable`1 ids, Query query, Boolean checkPermissions) at Dynamicweb.Content.Items.Queries.Repository.SelectById(String id, Query query) at Dynamicweb.Content.Items.Queries.StorageManager.GetById(String systemName, String id, Boolean draft, DateTime previewDate) at Dynamicweb.Content.Items.Queries.StorageManager.GetById(String systemName, String id) at Dynamicweb.Frontend.Content.WriteParagraph(ParagraphTemplateJoinClass PtRecord) at Dynamicweb.Frontend.Content.CreateLayoutContent(ParagraphTemplateJoinClass PtRecord) at Dynamicweb.Frontend.Content.CreateContentEXE() at Dynamicweb.Frontend.Content.GetContent(Int32 pageId) at Dynamicweb.Frontend.PageView.SetPageTemplateValues() at Dynamicweb.Frontend.PageView.Output() at Dynamicweb.Frontend.PageviewControl.ParseControls() at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

BR,
Mats


Replies

 
Merethe Vrå Andersen
Reply

Hi, 

It seems to be an issue that needs to be investigated.

I'll recommend you to create a case for our Service Desk with a copy of the solution and a description of how to reproduce the issue.

Kind regards,

Merethe

 

You must be logged in to post in the forum