You need to Register for free and Login to post a message in the forum.

Forum

Slow login
Last Post 2010-07-29 02:02 PM by Joseph Craig. 14 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-16 07:15 AM  
Hi there, We are having a massive problem with incredibly slow user logins on our site. After clicking the login button it can take anything up to a minute for a user to be sent to our homepage. The frustrating thing is that if after clicking login you then immediately use the navigation you are taken to the chosen page and you are logged in. I have used Fiddler (http://www.fiddler2.com) to track the HTTP requests and it is showing “home.aspx” as a page request almost immediately after clicking login, yet the home page only loads 30-60 seconds later. What could be causing this delay between the request and the render? We are running DNN Community Edition 05.04.01 (26) . Any help is greatly appreciated. Thanks, Donovan
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-16 07:52 AM  
Update: The issue is intermittent and I am wondering if it has something to do with application pooling and the site “going to sleep”. Although I have the KeepAlive.aspx page open on another machine and it is refreshing correctly. If I log out then log in again it’s quick, maybe 5 seconds, and remains quick if I keep logging in and logging out. Then all of a sudden it crawls again.
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-16 10:33 AM  
Update: After speaking to our hosting company this morning they are saying that DNN was hitting the server memory limit (500mb) and therefore resetting the application pool. This would make sense to me as it would explain why the site runs perfectly for about 10 minutes and then is slow before running well again, all down to the site having to reload into the application pool after each reset. They seem to feel that increasing the memory to 1000mb it will solve the problem but my concern is that we may have a memory leak somewhere and it will simply use the 1000mb as it has used up the 500mb... we obviously can’t keep throwing memory at the server. Does anyone have any idea on how much memory DNN needs, or uses, typically? How can I find out how much memory my current installation is using? Is there a setting in host that can be adjusted to monitor/maintain DNN’s memory usage? Thanks, Donovan
Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-07-16 01:20 PM  
I am not aware of any memory leaks.  Of course, you could have a module installed that does.

The amount of memory needed will depend on modules that are installed.  To minimize memory, I'd recommend that you uninstall modules that you are not using.  You can get a list of what is and what isn't being used from the Host's Dashboard.

The amount of memory assigned is not something that can be controlled inside of DotNetNuke as that is an IIS function.  But, 512 MB out to be sufficient.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-16 01:36 PM  
Hi Joseph, When setting up the site I only installed the modules we required. The site does run Active Social and Active Forums and all pages have the Active Social “Welcome Centre” on them. In the periods between the application pool resetting the site runs very well but obviously if it keeps falling over every 10 minutes the application pool is being reloaded it doesn’t matter how well it runs in between ;-) Our hosting company seem to feel that a 1000mb will do the trick... so I think we’re going to go ahead and let them upgrade it and see how it goes. Is there anything else that could obviously be wrong and cause the site to slow to a crawl periodically like that? I’d like to think it’s server related and not something I may have changed in DNN.
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-16 03:34 PM  
Update: After speaking with our hosting company and having them monitor the server whilst logging in the memory usage spiked by as much as 30mb on login for one user. Can you recommend a company who specialise in DNN who may be able to take a look at our Host and Portal settings to make sure there is nothing causing this issue, and also help to fine tune our setup?
Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-07-16 09:34 PM  
Don,

If you want to contact me privately using the form at patapscorg.com, I may be able to help you or put you in touch with someone who can.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-17 05:39 AM  
Hi Joe, I have completed the form and hope to be in touch with you shortly. The memory upgrade was completed last night and has not helped the problem, so I think we can safely conclude it is a problem with our DNN configuration. Thanks, Donovan
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-17 08:24 AM  
I have spent some time logging in and logging out of the site and recording the times. Like clockwork of the last hour and a half the site has gone from being fast and responsive to having a 1minute period of being slow.

Are there any tools, client side as we’re still trying to get our hosting company to help find this issue, which we can use to try and find out what event is occurring approximately every 6 minutes that’s slowing the site down?

Surely there must be an indication in the server event log which will show it resetting an application pool or something? This “event” is happening to regularily to not be noticed?

Our DNN site and event logs are only showing the successful logins and related activity. There is nothing to indicate a scheduled event or something from the DNN config performing a restart or reset.

As an aside the slow login is still successful... it just takes a minute to complete. So could this suggest it is not an application pool issue, or would the submitted login information be paged until after the pool has restarted and then be served to the application?
Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-07-17 01:40 PM  
If the application is restarting, you certainly should see that in the Event Log.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-17 01:45 PM  
I assume you mean the IIS event log? As there is nothing in the DNN "Event Viewer" or "Site Log"
Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-07-17 09:26 PM  
I meant the DotNetNuke event log.  Restarts are logged there.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
don664User is Offline
Nuke Active Member
Nuke Active Member
Posts:25
Avatar

--
2010-07-18 08:45 AM  
Problem solved! Turns out that it was the DNN News Feeds module which was getting headlines from a feed that had over 2300 items in it. This feed basically had news items appended to it daily with no purging of older items. So the file size was well over 400kb. We had the cache time set to 5 minutes and that correlates to the reason why every 7 minutes, or so, the login would grind to a halt. It was because the feed cache was being emptied and then re-populated from an XML file that was huge. As a result of the homepage being the default page after login it explains why it seemed that logins were the problem. With that module having been on the site since launch it was always going to be the last suspect... so a huge thank you must go to Joe who tracked it down for me!
mbudramUser is Offline
Nuke Active Member
Nuke Active Member
Posts:33
Avatar

--
2010-07-28 08:46 PM  
We are having similar issues. our site is www.belmopancityonline.com Below is what our hosting provider said:

<!--[if gte mso 9]> Normal 0 unctuationKerning/> false false false oNotPromoteQF/> EN-US X-NONE X-NONE ontGrowAutofit/> ontVertAlignCellWithSp/> ontBreakConstrainedForcedTables/> ontVertAlignInTxbx/> MicrosoftInternetExplorer4 <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:536871559 0 0 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> <!--[if gte mso 10]> Hello,

We have found that the root cause of this issue is that your Worker 
Process memory consumption exceeds 180MB (Goes above 195MB and 200MB), 
when this is the case, it is ended/killed by the server because 
anything over 180MB is not acceptable when using our Shared Hosting Services.

Once a Worker Process is recycled/killed, it has to recompile in the 
ASP.NET engine, which generally takes around 30-60 seconds which explains the
slowness you're experiencing

There are a few options you have to correct this issue:

A) Make changes to your site/application to reduce your overall memory 
consumption. This may be caused by an application/module/skin on your 
site that has poor coding/garbage collection that causes your memory 
usage to skyrocket.

B) Move to a virtual server where these memory limitations would not 
be in place since you have your own resources (Memory, CPU, Disk) are 
all dedicated to you only and would not impact other customers. You 
will have other benefits like being able to install 
applications/components on the server you normally wouldn't with shared hosting services

<!--[if !supportLineBreakNewLine]-->

Any suggestions? we have news feeds but they are all from within the site and get updated every 2 days.
Mbudram
Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9008
Avatar

--
2010-07-29 02:02 PM  
Make sure that you have uninstalled modules that you aren't actually using.  That will reduce the memory footprint some.

But, that is one of the issues with shared hosting ...

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

RE: DNN site automatically redirects to a different domain name. by imran shaikh
Thanks for the reply joe this is my portalalias table entries 2 0 localhost/tradeupgrade -1
RE: "Good" hosting providers by ejcullen rene
informative!!!
RE: URL Master Module doesn't work on IHostASP hosting by ejcullen rene
informative!!!
RE: shared web hosting by ejcullen rene
informative!!. i got hosting service from http://www.thewebpole.com/ my hosting company offers you
RE: iPhone website logo in DNN root directory by JohnnieD
I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
iPhone website logo in DNN root directory by JohnnieD
I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
RE: Fixed size container by Joseph Craig
Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
Fixed size container by Aggiedan97
I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
RE: DNN 6.1 app_offline.htm by Joseph Craig
If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
RE: DNN site automatically redirects to a different domain name. by Joseph Craig
Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
DNN 6.1 app_offline.htm by Dave Hassall
Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
RE: DNN site automatically redirects to a different domain name. by imran shaikh
Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
Enforce Terms Tutorial Update by Vistalogix Corporation
I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
RE: Best Practices for Modifying a Custom Module by Joseph Craig
Start up the development website, then install the module using the package that you have. Then, yo
Best Practices for Modifying a Custom Module by schilders
Good Morning, I'm needing to modify a custom built module created by another developer targeted f
RE: Admin menu problem by alireza arabiyan
hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
RE: Admin menu problem by Joseph Craig
Yes, that is what you should have done. What is the URL for your home page? What is the URL for
RE: Admin menu problem by alireza arabiyan
hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
RE: Admin menu problem by Joseph Craig
How did you move it? Have you added an entry in the portalalias table for the site's domain name?
RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
Set up a user with dbo privileges and set the connection string for that user, rather than using Win
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds