Solved

Sharepoint server slow

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
These days socially coordinated efforts have turned into a critical requirement for enterprises.

733 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