+ Post New Thread
Results 1 to 9 of 9
Home Access Plus+ Thread, Slow performance sine updating to v8.6 in Projects:; Hi, Since updating to v8.6 it takes longer to load a page, and loading the myFiles section takes the longest. ...
  1. #1
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    598
    Thank Post
    79
    Thanked 86 Times in 70 Posts
    Blog Entries
    1
    Rep Power
    23

    Slow performance sine updating to v8.6

    Hi,

    Since updating to v8.6 it takes longer to load a page, and loading the myFiles section takes the longest. 30secs to change to the myfiles page and upto 60-90 seconds to load the files section.

    I've not changed anything else.

    Is anyone else seeing this too?

    thanks.

  2. #2
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    321
    Thank Post
    36
    Thanked 22 Times in 20 Posts
    Blog Entries
    1
    Rep Power
    10
    No answers for you.. but can you check the server CPU utilisation while you login (and at idle)? I've been seeing some slowness and im interested if it's the same thing or not..

    Matt

    (P.S. after you've checked CPU Util, restart the IIS service and see if it improves at all)

  3. #3

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,648
    Thank Post
    43
    Thanked 550 Times in 459 Posts
    Rep Power
    121
    I think it's down to the recursive membership look ups HAP+ now uses. I'll be implementing some caching on this to improve the speed in the next release

  4. #4

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,648
    Thank Post
    43
    Thanked 550 Times in 459 Posts
    Rep Power
    121
    Ok, can someone try this dll, it has some caching enabled for the role provider so it doesn't need to look up the user's roles each and every time, @mattgrimley this may fix the CPU spike as well

  5. Thanks to nickbro from:

    Marshall_IT (10th January 2013)

  6. #5
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    321
    Thank Post
    36
    Thanked 22 Times in 20 Posts
    Blog Entries
    1
    Rep Power
    10
    I've popped it on the live server - nothing untoward so far. Tried a login and it certainly didnt sit at 100% for any time. I'll reboot the server in a bit to give a clean test

    Thanks @nickbro - that was quick work!

  7. Thanks to mattgrimley from:

    nickbro (10th January 2013)

  8. #6

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,648
    Thank Post
    43
    Thanked 550 Times in 459 Posts
    Rep Power
    121
    I was noticing some performance issues with v8.6, and since you said about LASSS it had to be the new role provider, so I added some caching to it. It only caches for 5 minutes (sliding scale) but that means that for 1 session the roles are cached. If you add roles to a user you will need to cycle the app pool to ensure the roles are correctly refreshed, I may add a button to the setup page to clear the role cache at some point in the future

  9. #7
    mattgrimley's Avatar
    Join Date
    Jun 2011
    Location
    Bedfordshire
    Posts
    321
    Thank Post
    36
    Thanked 22 Times in 20 Posts
    Blog Entries
    1
    Rep Power
    10
    Don't know if this is related, but it hasn't happened before today:
    This morning, the portal Login.aspx is giving an error:

    Code:
    Value cannot be null.
    Parameter name: source
    
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: source
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 
    (ArgumentNullException: Value cannot be null.
    Parameter name: source)
       System.Linq.Enumerable.Count(IEnumerable`1 source, Func`2 predicate) +310
       HAP.Web.Login.Page_Load(Object sender, EventArgs e) in n:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\Login.aspx.cs:23
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.UI.Control.LoadRecursive() +116
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2750
    A restart of the IIS service cleared it. If it occurs again, i'll do some event log / firebug debugging

  10. #8

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,648
    Thank Post
    43
    Thanked 550 Times in 459 Posts
    Rep Power
    121
    Odd, that's to do with the ip ban system, an app pool recycle should sort that, looks like one of the caching object had been deleted

  11. #9
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Location
    Leeds
    Posts
    598
    Thank Post
    79
    Thanked 86 Times in 70 Posts
    Blog Entries
    1
    Rep Power
    23
    Quote Originally Posted by nickbro View Post
    Ok, can someone try this dll, it has some caching enabled for the role provider so it doesn't need to look up the user's roles each and every time, @mattgrimley this may fix the CPU spike as well
    Hi Nick, that has certain fixed the issue i was having, i'll let you know if anything else crops up, but look god for now.

    Thanks ALOT!

  12. Thanks to Marshall_IT from:

    nickbro (10th January 2013)

SHARE:
+ Post New Thread

Similar Threads

  1. Viewing updates to a web page
    By stigjones in forum Web Development
    Replies: 3
    Last Post: 6th November 2007, 02:27 PM
  2. Applying Updates to Servers
    By Outpost in forum Wireless Networks
    Replies: 35
    Last Post: 30th July 2007, 10:58 AM
  3. Mark Minasi's Update to Mastering Server 2003 out soon.
    By ChrisH in forum Books and Manuals
    Replies: 23
    Last Post: 20th December 2006, 10:40 PM
  4. Replies: 11
    Last Post: 20th October 2006, 04:14 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •