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...Administration ...Administration ...DNN Meltdown - GetTabPermissionsByPortalDNN Meltdown - GetTabPermissionsByPortal
Previous
 
Next
New Post
5/12/2008 9:18 AM
 

I am hoping someone has some sort of idea on how to troubleshoot this one before I go insane :)

With increasing frequency DNN will just have a meltdown. Stops serving pages, CPU on server @ 100% for about 10-15 minutes. When I run SQL profiler I just see an endless stream of

exec dbo.GetTabPermissionsByPortal @PortalID=<portalID>

and

exec dbo.GetHostSettings

Over and over again. The Portal IDs change in GetTabPermissionsByPortal in no apparent order. The thing that baffles me is that I can understand if there's some kind of permissions indexing process that needs to happen that would explain the multiple hits to GetTabPermissionsByPortal with different portal IDs. But doesn't explain why there would be a thousand calls to GetHostSettings with no parameters.

I've seen other posts on this subject that point to a circular tab reference but we've gone through all tabs (and run the script somebody posted on another forum to verify no circular references). Cleared out IsDeleted tabs & modules too.

What gives? Hopefully someone will have some suggestions before I go throw hardware at the problem.

Thanks!

 
New Post
5/12/2008 2:47 PM
 

Brandon,

I have helped people resolve this issue before and I would guess that you have a fairly large DNN site.  Typically I have found that this is related to the Search Engine Indexer looking through the content for the portal and indexing items.  Have you looked at the frequency and run durations of your scheduler items?

Typically I have resolved this for clients by modifying the run schedule for the scheduler to be more usable to their needs.

If you want drop me an e-mail at msellers@iowacomputergurus.com and I can try to help you more.  (I don't always see replies here due to the lack of notifications)


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/13/2008 9:38 AM
 

Good news / bad news...

The bad news is that I still don't know what originally causes this issue, or even why it's happening.

The good news is that we reconfigured the install to run on multiple servers with a load balancer and everything runs a LOT more solid.

For those interested that may be attempting this I'll provide the steps we took here to hopefully eliminate someone's headache down the road. We did not use a file replication method and reconfigure the DNN install at all, as the DNN Web Farm PDF suggests. We have just enough files riding around on a daily basis to make me uncomfortable with a multimaster file replication method. Also we did not do any SQL replication.

  1. Created an active directory account for DNN to run under (this is within a domain).
  2. Configured IIS default site on distributed application servers to host off a UNC share from the central server.
  3. Adjusted .NET security policy to allow FullTrust on the share (via Caspol.exe)
  4. Configured IIS to use the DNN account for access and configured appropriate permissions on the install.
  5. When ASP.NET runs, it establishes a file monitoring object on each folder in the application. This became a problem very quickly ("the network BIOS command limit has been reached" errors). Contacted Microsoft in regard to KB 911272 and obtained the ASP.NET hotfix that allows you to turn File Change Notification on and off. Downside here is that we will manually need to restart the 'cluster' to recompile the application. Note that KB 911272 hotfix does NOT work with .NET Framework 2.0 SP1; only the pre-SP1 Framework 2.0. Also adjusted the lanmanserver and lanmanworkstation parameters in the registry to allow for more requests across a SMB share just in case.
  6. Configured MIME types in IIS (by going to properties of the Server object) and adding .flv as flv-application/octet-stream to the MIME types list. (Wondered why flash videos weren't displaying at random).
  7. Implemented a load balancing device in front of the distributed servers. Initially tried with plain Windows Network Load Balancing services but even if it hadn't totally freaked out our Cisco infrastructure by spoofing ARP addresses to make it happen, I wasn't feeling comfortable enough with it to sleep well.

The .NET framework permissions and the load balancing were probably the most difficult and frustrating pieces to get in place but now we probably have the best DNN performance under load we've ever had.

Oh, and no GetTabPermissionsByPortal endless queries as of yet, either! :)

Brandon

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Meltdown - GetTabPermissionsByPortalDNN Meltdown - GetTabPermissionsByPortal


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