Marshall_IT Posted January 9, 2013 Posted January 9, 2013 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.
mattgrimley Posted January 9, 2013 Posted January 9, 2013 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)
nickbro Posted January 9, 2013 Posted January 9, 2013 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
nickbro Posted January 9, 2013 Posted January 9, 2013 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 1
mattgrimley Posted January 9, 2013 Posted January 9, 2013 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! 1
nickbro Posted January 9, 2013 Posted January 9, 2013 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
mattgrimley Posted January 10, 2013 Posted January 10, 2013 Don't know if this is related, but it hasn't happened before today: This morning, the portal Login.aspx is giving an error: 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
nickbro Posted January 10, 2013 Posted January 10, 2013 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
Marshall_IT Posted January 10, 2013 Author Posted January 10, 2013 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! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now