Solved

Sharepoint server slow

Posted on 2016-11-03
4
27 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 14

Accepted Solution

by:
SneekCo 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 14

Expert Comment

by:SneekCo
ID: 41877097
Any luck?
0
 
LVL 5

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now