Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  DNN Meltdown - GetTabPermissionsByPortal
Previous Previous
 
Next Next
New Post 5/12/2008 6:18 AM
User is offline Brandon Potter
9 posts
10th Ranked


DNN Meltdown - GetTabPermissionsByPortal 

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 11:47 AM
User is offline Mitch Sellers
5372 posts
www.mitchelsellers.com
3rd Ranked




Re: DNN Meltdown - GetTabPermissionsByPortal 

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
MCITP, MCPD, MCTS
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 Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 5/13/2008 6:38 AM
User is offline Brandon Potter
9 posts
10th Ranked


Re: DNN Meltdown - GetTabPermissionsByPortal 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  DNN Meltdown - GetTabPermissionsByPortal
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP