Sharepoint 2013 very slow, improve performance; using JQuery.Deferred example; SP.UI.ModalDialog call parent javascript expamlpe; Entity Framework (EF) Code First. If it takes you 5-10 seconds to load the page so you can retrieve a document – you will soon hate SharePoint. Poor SharePoint site speed and performance will negatively affect its user adoption. Quite often I hear complaints from clients that find SharePoint sites to be slow to load and interact with.
Category: sharepoint 2013 - setup, upgrade, administration and operations
Question
ran009 on Tue, 05 Jan 2016 21:31:22
Hi there
When I load my SharePoint 2013 site - it takes about 14-15 seconds. Please see this IE Developer Tool screenshot for times taken.
The top two URLs are exactly same - From Click to XMLHTTPRequest - it takes 14.46 seconds - the browser keeps saying 'Waiting for site'.
Any clue, what might be causing slow performance?
Thanks.
Developer Dashboard:
Sponsored
Replies
Alex Brassington on Tue, 05 Jan 2016 22:29:54
Does it do this on every page load and on every page?
Does it do the same on a different site collection?
Crawling through these logs is difficult and skilled work. Getting someone else on the other end of a bulletin board to get to the vital bit of information is very tricky, you generally get better results looking at what is and isn't working on a larger scale.
Diablo 3 server status twitter. Having said that, 1.04 seconds to load a 0.65KB image seems absurdly slow, how is the latency on your connection?
Trevor Seward on Tue, 05 Jan 2016 22:32:22
Another question is what webparts are on that page? Looks like there may be a Content Query or DataView webpart, based on the XMLHttpRequest.
ran009 on Tue, 05 Jan 2016 22:51:18
Hi Alex,
Yes, every page loads slow.
There is only one site collection and it is slow.
All the Internet sites work fine so I assume Network latency should not be an issue. Could this be DNS issue?
Thanks.
Alex Brassington on Wed, 06 Jan 2016 09:29:15
What are the Internet sites? Ares wizard error.
Are you able to create a new site collection to test that for performance?
Where is the SharePoint farm located in relation to you, the same building, another one in the same town or a server on another continent?
DNS is very unlikely to be related.
Dean_Wang on Wed, 06 Jan 2016 10:41:14
Hi ran009,
You can use SharePoint Developer Dashboard to monitor the page load process, which would be helpful to you to find the reason of the issue.
You need to create Usage and Health Data Collection Service Application and enable SharePoint Developer Dashboard to use it. More detailed information about it for your reference:
Best Regards,
Dean Wang
Joy division closer rar. Dai Webb on Wed, 06 Jan 2016 11:04:41
Has it always been slow or has something changed and it has been slow since that change?
Are you seeing Event ID 8321 being logged on the server (in the Application log within Event Viewer)? See http://www.adventuresinsharepoint.co.uk/2014/04/30/a-certificate-validation-operation-took-xxxx-milliseconds-and-has-exceeded-the-execution-time-threshold/
ran009 on Wed, 06 Jan 2016 18:07:12
This happened after we upgraded from SP 2010 to SP 2013.
Nope, I do not see any Event ID 8321.
Thanks.
ran009 on Wed, 06 Jan 2016 20:56:09
I attach Developer Dashboard for your reference in the original ticket.
Thanks.
Has it always been slow or has something changed and it has been slow since that change?
Are you seeing Event ID 8321 being logged on the server (in the Application log within Event Viewer)? See http://www.adventuresinsharepoint.co.uk/2014/04/30/a-certificate-validation-operation-took-xxxx-milliseconds-and-has-exceeded-the-execution-time-threshold/
ran009 on Wed, 06 Jan 2016 18:07:12
This happened after we upgraded from SP 2010 to SP 2013.
Nope, I do not see any Event ID 8321.
Thanks.
ran009 on Wed, 06 Jan 2016 20:56:09
I attach Developer Dashboard for your reference in the original ticket.
Thanks.
ran009 on Wed, 06 Jan 2016 20:58:34
Hi Trevor,
There is one LVWPs from same site collection.
1 RSS feed from an external site - I have already tried removing it but it did NOT give any faster performance.
Thanks.
Deepesh Yevle on Thu, 07 Jan 2016 02:01:07
HI,
Please check Windows Services if any related services have been stopped. Check all server , Evnet IDs, CPU ,Clearing the cache, A- virus status,Reset IIS , apps pool.
Dean_Wang on Thu, 07 Jan 2016 03:23:32
Hi ran009,
In the Developer Dashboard, there are several sections.
For example, in the SQL section, you can check what type of queries runs in the background for each request so that it will be a great help for while troubleshooting the performance issues related to SharePoint. Once you go to the SQL section of the dashboard you can see the queries name and execution plan details will get displayed once you click on those links.
You can use the several sections to troubleshoot the issues related to performance in SharePoint 2013.
Best Regards,
Dean Wang
ran009 on Thu, 07 Jan 2016 22:07:09
Hi Dean,
Sure - I just updated a screenshot of SQL tab in Developer Dashboard.
Please let me know if I can provide more information.
Thanks.
ran009 on Fri, 08 Jan 2016 00:01:17
Hi ALex,
- The RSS Viewer webpart (wheter removed or not, site is still slow). It fetches data from MediaMiser.com. Even other pages which do NOT have RSS web part are still slow.
- I created a new Site Collection. A bit less slow, but still slow for a blank site.
- SP Farm is located about 20 miles from us in other building.
Everything has always been like this, and before we upgraded to SP 2013 everything was fine.
Thanks.
ran009 on Mon, 01 Feb 2016 21:05:12
So it can help someone else having similar issue - I was able to fix my slow SharePoint 2013 by rerunning 'psconfig -cmd upgrade -inplace b2b;' and 'Product Configuration Wizard'.
Thanks all.
In Central Admin,click on the Health Analyzer to find an interesting item in the performancesection: 'Application pools recycle when memory limits are exceeded.'
Open the siteagain, and now it's really fast!