Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...tabController.AddTab() gets slow ramdomlytabController.AddTab() gets slow ramdomly
Previous
 
Next
New Post
8/18/2011 11:30 AM
 
Thanks Cathal... really appreciate your help... if you ever around Costa Rica let me know. I'm attaching the sql trace when it normally works. Maybe you can spot something wrong

http://www.4shared.com/file/cddwcHGf/trace.html?

As mentioned before it gets stuck on the line to addnewtab of the core. We use DNN 5.5.0 and it happens when the site gets slow (we pressume for traffic)

thanks
 
New Post
8/18/2011 12:31 PM
 
hello, nothing particularly odd in that trace (though ill have to look at a trace of a "normal" site to be sure). It may be the case that there is a deadlock going on -next time it happens be sure to run sp_lock2 to see if thats the case. FYI 5.6.0 and 6.0.0 had a lot of sql optimisation enhancements, so I'd recommend considering upgrading to either 5.6.3 or 6.0.0, it may be that the better database operations solve any underlying locking issues caused by adding tabs under load.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/19/2011 2:31 AM
 
Once again thanks for your help. Another piece of information is that I had to setup pooling=false @ webconfig since the site was throwing. The line being mentioned below is:

newTab.TabID = tabController.AddTab(newTab);

I have also collected trace info and a dump of iis which I will post. Thanks.. I'm desperate to fix this.



=================================

Error 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.
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScalar(String ProcedureName, Object[] commandParameters)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScalar[T](String ProcedureName, Object[] commandParameters)
   at DotNetNuke.Entities.Content.Data.DataService.AddContentItem(ContentItem contentItem, Int32 createdByUserId)
   at DotNetNuke.Entities.Content.ContentController.AddContentItem(ContentItem contentItem)
   at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo objTab, Boolean includeAllTabsModules)
   at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean includeAllTabsModules)
   at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab)
   at Pernix.Modules.News.EditNews.CreateNewPage(Int32 ParentID, String pageTitle, String categoryName) in c:\HostingSpaces\adn\DesktopModules\News\EditNews.ascx.cs:line 738
   at Pernix.Modules.News.EditNews.SaveNewsInformation() in c:\HostingSpaces\adn\DesktopModules\News\EditNews.ascx.cs:line 511

 
New Post
8/19/2011 3:03 AM
 
Here are my trace and dump files from when the problem happens... 

I added the deadlock graph as well to deadlock and deadlock chain on my trace but nothing came up. We also tried to upgrade to 6.0.0 and we did on a test environment but we saw the same problem. Another piece of information is that we duplicate the problem by taking the filesystem and db from production to test.. we try to add a new page (using the news module we created) and then after 40-50 minutes the page gets added and we cannot reproduce the problem anymore (although it might continue happening in production)

Here's the trace file: http://www.4shared.com/file/0UI7Laz-/stuck.html?
Here are the dumps:
http://www.4shared.com/file/lX9FGhcT/w3wp.html?
http://www.4shared.com/file/vxQadt6L/w3wpV2.html?
http://www.4shared.com/file/D83Cnwry/w3wpv3.html?

I appreciate your time and help.
 
New Post
8/19/2011 7:38 AM
 
Big delays in a sql action are commonly associated with a sql index being corrupted.  It may be worth looking and forcing a manual reindex or your tabs and modules tables.

Westa
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...tabController.AddTab() gets slow ramdomlytabController.AddTab() gets slow ramdomly


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out