Solved

Sharepoint server slow

Posted on 2016-11-03
4
74 Views
Last Modified: 2016-11-23
We recently changed data centre. One of our sharepoint servers started to run slow. When we tried to logon it would take 60 seconds to display the page. It seemed to be down to a webpart with an RSS feed so I removed. Now when a user tries to logon they get a 60 second delay the first time and then it seems fine on subsequent attempts. Any ideas why the 60 second delay occurs at the start. I'm worried about adding it back into production, thanks.
0
Comment
Question by:Sid_F
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Walter Curtis earned 500 total points
ID: 41872415
SharePoint uses a process called "Just in time compiling", which means the page is not rendered or created until it is requested. One advantage is that the page will always have the most current data or "code" for lack of better word. A big disadvantage, as you see, is the time (delay) it takes to compile the page. However, IIS has a cache that will cache the page so that IIS can deliver the page must quicker after the initial rendering. Again you see this, as you mentioned above.

IIS is designed to recycle it's application pools in the middle of the night, every night. That empties page caches, meaning that the first rendering everyday of a page takes some time, and then subsequent views of the page are much quicker because the page is in the IIS cache again.

One solution to help improve this situation is to run a script after the IIS app pool recycle in the middle of the night that " touches" the page so that it is compiled and loaded in to the IIS cache. The script is commonly called a warm-up script and these all vary depending on your farm design, but you should be able to create and use a warm-up script that will help your situation. Here are two links that may help you:

https://github.com/spjeff/spbestwarmup

http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=404

Hope that helps..
0
 
LVL 18

Expert Comment

by:Walter Curtis
ID: 41877097
Any luck?
0
 
LVL 6

Author Closing Comment

by:Sid_F
ID: 41898702
thanks the important thing to note is its only slow for the first user on the first attempt.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question