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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Went live and having issues where DNN timeouts on IIS Restart/RecylingWent live and having issues where DNN timeouts on IIS Restart/Recyling
Previous
 
Next
New Post
6/16/2009 12:17 PM
 

Thanks Sebastian.  I am looking at it but in not sure what to look at.  What would be some other key facts to look at in this execution plan?  In the past would look for the largest Cost and the one that I found was at 38%

MANY-TO-MANY MERGE:([dnn_TabModules].[ModuleID])=([dnn_Modules].[ModuleID]), RESIDUAL:([dnn_Modules].[ModuleID]=[dnn_TabModules].[ModuleID])

 

Thanks Chris

 
New Post
6/16/2009 4:24 PM
 

I did some more search and found this post about CommandTimeout but that relates to the SQL statement itself and since this is core code can change but would like to understand why it loads ok with the connection to the outside cutoff it boots up no problems.  Only when we have a large amount of traffic and for some reason IIS restarts it can not recover if to many people on connecting to the site.  What that number is I am not sure but it does make a differences.

 

 

 
New Post
6/16/2009 6:01 PM
 

Found another good post about Recompile because of Plan Caching Issues in SQL.  Not sure how often this query is used in DNN if it will hurt to change how it is setup? 

/****** Object:  StoredProcedure [dotnet].[dnn_GetModuleByDefinition]    Script Date: 06/16/2009 15:52:34 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER procedure [dotnet].[dnn_GetModuleByDefinition]
      @PortalId int,
      @FriendlyName nvarchar(128)
AS
    SELECT dotnet.dnn_vw_Modules.*  
    FROM dotnet.dnn_vw_Modules
        INNER JOIN dotnet.dnn_ModuleDefinitions as MD ON dotnet.dnn_vw_Modules.ModuleDefID = MD.ModuleDefID
    WHERE ((PortalId = @PortalId) or (PortalId is null and @PortalID is null))
          AND MD.FriendlyName = @FriendlyName
          AND IsDeleted = 0

Best Practice: "CREATE PROCEDURE ... WITH RECOMPILE" can be used to mark stored procedures that are called with widely varying parameters, and for which best query plans are highly dependent on parameter values supplied during calls. From http://technet.microsoft.com/en-us/library/cc966425.aspx

Was thinking if we could add the recompile to help remove this problem I am having. I am still not sure if I am looking at the plan excuation correct but some of the post make sense just grab for any help would be great.

 
New Post
6/16/2009 6:46 PM
 

I am not sure if it makes sense, since there are 2 parameters only, I still assume there is some other issue.

How did you specify caching in Host settings?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/17/2009 11:49 AM
 




  Heavy Caching

ServerandNoCache

No Compression

 
Above are my setting.  Sorry for all the other post just trying to see if I can get comments out of people or if other have had this issue and how they corrected it.  I am agree that does not make much sense why that one store proc is taking up all the time.  Like I mentioned before it only an issue when the server is on a live domain that outside world is hitting.  It just does not come back during heavy load times.  If I discount the server from the outside world it comes back up.  I don't under stand why the Store Proc is getting called so many times back to back when we do a recyle of the IIS.  SiteSettings I would think only needs to be called once on intail setup.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Went live and having issues where DNN timeouts on IIS Restart/RecylingWent live and having issues where DNN timeouts on IIS Restart/Recyling


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