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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationMajor issue with Active Directory 1.0.5 timing out on user loginMajor issue with Active Directory 1.0.5 timing out on user login
Previous
 
Next
New Post
3/23/2009 7:53 AM
 

Hi I wonder if you can help me out.

We have a coporate intranet and we have just upgraded from 3.3.7 to 4.9.2. Everything went well with the upgrade and the testing of the upgrade until this morning when people were authenticated for the first time. About 200 people went through the login process at between 9:15 - 9:30 GMT and all hell broke loose. The WindowsSignin.aspx page was timing virtually everyone out except those that had already been authenticated. Our IIS server was running at 100% (Dual Xeon 3GHz Processors with 4Gb ram on Windows 2003) and the memory usage ramped up to 500Mb on the IIS Application Pool (w3wp.exe). I am using version 1.05 of the Active Directory authentication module.

When individual users are authenticated, the IIS App Pool memory goes up by 2-3Mb and the processor hit between 50-75% during authentication. When many people are attempting authentication the processor hits 100% constantly, the IIS App-pool goes through the roof and people get timeouts. The issue seems to be that the ISS App pool does not free up the memory after authentication and I phically have to kill the ISS memory process.

Has anyone seen anything like this before and do you have any suggestions?

Thanks

 
New Post
3/24/2009 12:19 AM
 

The only time I've heard of that happening is when there are too many groups in the DNN portal (> 50) as it has to try synchronizing against all the DNN groups. Do you have role synchronization turned on? Perhaps try turning it off temporarily and see if that makes a difference.

 
New Post
3/24/2009 7:14 AM
 

I've run into sluggishness here also, due to the high number of authentications (at peak periods, we run up to about 100 logins a minute).  I've narrowed our main culprit down to being mostly a problem with our domain controller being over-taxed, and the SQL Express not able to keep up with recording logins fast enough in the event log.

I suggest you clean up your event log, turn down the number of things recorded, create a seperate application pool for DNN, and tweak the setting of that pool a tiny bit to allow more memory usage and faster cleanup. But, be careful with the settings, as there are a couple of them (like number of worker threads) that will wreak havoc with DNN. 

 
New Post
3/25/2009 5:50 AM
 

Dan Ball wrote
 

I've run into sluggishness here also, due to the high number of authentications (at peak periods, we run up to about 100 logins a minute).  I've narrowed our main culprit down to being mostly a problem with our domain controller being over-taxed, and the SQL Express not able to keep up with recording logins fast enough in the event log.

I suggest you clean up your event log, turn down the number of things recorded, create a seperate application pool for DNN, and tweak the setting of that pool a tiny bit to allow more memory usage and faster cleanup. But, be careful with the settings, as there are a couple of them (like number of worker threads) that will wreak havoc with DNN. 

Thanks for the responses Dan and Mike. While we attempt to solve this issue, I had to revert back to 3.3.7.

It seems from both your responses that it is to do with the AD sync. We have 65 possible roles on our DNN install but only 8 exist in AD. The users, when they authenticate will always have 1 role that exists in AD along with Registered User and Subscriber. All the other roles will not exist. We do have a mixture of AD authentication for all users and DNN authentication for content editors. Those 57 odd roles are for the editors and shouldn't apply during AD authentication. I do not know how the authentication module works, but I'm wondering if it syncs all Roles regardless of whether a user has them?

As for my IIS settings, I have a seperate pool for the DNN installation, and there is no limit to the memory available. We have 4GB Ram + virtual memory on the box. How often should I recycle the worker process or are there any recommended settings for IIS and DNN?

Thanks

 
New Post
3/25/2009 11:02 AM
 

I'd have to load up the code to be ultimately sure but it goes like this:

All DNN roles are loaded into an array
All the DNN roles the user belongs to are loaded into an array
The AD roles the user belongs to are loaded into an array

A loop is done between the DNN  roles the user belongs and the AD roles to verify that the user should still be in the matching DNN roles.
A loop is done between all the DNN roles and the AD roles the user belongs to to make sure the user hasn't been added to any new roles.

Unfortunately there's no easy way to signify whether a DNN role is there to act as an AD role or not so I'm forced to pull all roles. I'm always looking for faster ways to do this but I don't know if I'm going to find one and I pretty sure that's the reason why Tam (the original author of the AD authentication) only sync'd on the very first login by a user.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationMajor issue with Active Directory 1.0.5 timing out on user loginMajor issue with Active Directory 1.0.5 timing out on user login


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