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
Solved

Sharepoint server slow

Posted on 2016-11-03
4
57 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
  • 2
4 Comments
 
LVL 17

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 17

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

840 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