Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sharepoint server slow

Posted on 2016-11-03
4
Medium Priority
?
95 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 20

Accepted Solution

by:
Walter Curtis earned 2000 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 20

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 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