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...Module ForumsModule ForumsStoreStoremembershipprovider errormembershipprovider error
Previous
 
Next
New Post
3/5/2012 7:12 PM
 

Hi Dan,

I better understand now! :-) The huge number of users is the source of your problem. The Store module use standard DNN API to get the users list, then you could encounter similar problems with other modules and even DNN.

The Store module can run with different modes, one of them allow to order without having a DNN user account. In this mode, orders have to be linked to an impersonated user account defined in the Store Admin module. That's why you can't start normaly the Store Admin module, because the interface try to fill a dropdown list with user accounts to select this impersonated account.

I could try to ask for a role, then get users from the selected role to fill the dropdown list. Whatever the workaround, you could avoid this kind of problem if you try to increase the timeout value in your web.config file. By default, ASP.NET automatically kills a non responding request after 90 seconds. If your SQL Server instance is too slow because a huge db and/or a too slow server hardware then any long request will fails! Also, you should read my last blog post. I suppose that your users have been imported, then your log file could be huge and this can slow down SQL Server access!

Please give me a few days to apply the workaround (asking the role at first) and send me an email, I will send you a beta version when this will be done.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
3/6/2012 11:33 AM
 

Thanks for working on the work around Gilles. Funny, that you mention this might be a larger issue. Yesterday, one of our content editors had a similar problem with the file manager. I'm going to run some cleanup scripts on the log file and user tables to try to speed things up on our end.

 

thanks again,

Dan

 

 
New Post
3/6/2012 5:41 PM
 

Hello Gilles -

I applied the various pills from your article including:

1. dbcc shrnkdatabase

2. verified simple revoery model

3. reindexed tables

4. Cleaned up users that have not been in the system for awhile (we still have well over 100k)

5. increased the executiontimeout to 10800 in the web.config

Once the timeout was increased, they system memory was getting maxed out as well as the cpu usage. We're on a 2.4 ghz with 1mb ram. I went ahead and submitted the issue to dnn support since we're also experiencing this on the file manager. Seems like those admin pages should just default to admin users only instead of loading up all users in the system.

take it easy,

Dan

 

 
New Post
3/7/2012 1:33 AM
 

Hi Dan,

You have to shrink your db after the steps 3 and 4! Please tell me the size of both files after the shrink.

Using 10800 for the executionTimeout is not required, it should be max defined to 300 (5 min.). Also, you could try to add/increase the shutdown attribute. Look at this article at MSDN.

A server with 1MB of ram if it run SQL Server is not enough. Do you use a second server for SQL Server? The more data you have the more memory you should have, because SQL Server can optimize requests but only with enough memory.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
3/7/2012 11:49 AM
 

Hello -

We were already set to simple recovery, I did not have to modify that setting. We have separate web servers, our test environment uses a 2 ghz with 1 gb ram for the web server. The database is its own server and has 2 ghz with 4 gb ram.

name                 IsDataFile IsLogFile     size             spaceused     CurrentSizeMB     SafeSizeMB
dnn_Data             1                 0             393848         358176             3076.94             2798.25
dnn_Log               0                 1             864                 261                 6.75                     2.04

We can always throw more hardware at the problem, but it seems loading all users (160,000) into a datareader and then individually grabbing the profile data for them on a page load could be done more efficiently. For instance, on an admin page just load up admin users. I can't imagine ever going through a list of users that long would be useful? That statement is more directed at how the core dnn functionality is working, not the store :)

I might be missing something there.

 

thanks again!

Dan

 

 

 

 

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoremembershipprovider errormembershipprovider error


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