Thursday, September 27th, 2007

Why is SharePoint slow when I first use it?



Following a recent forum thread on the subject I thought it would be useful post something for all of the people who have recently moved to MOSS.

Quote for Joel Oleson:

Ever had users say, for some odd reason some times when I hit my SharePoint site it takes 30 seconds to load, then after a refresh it goes sub second, even clearing their cache the page is fast.  That’s because it’s not a user issue, its simply compiling, caching, etc… on the server after an IISReset or app pool reset or worker process cycle.

Warming Up SharePoint

There is an easy fix for this that effectively warms up your SharePoint by making calls to all of the common pages to ensure the compiling and caching are done before the users hit the box.

If your an admin you will be looking for a batch script that you can run on your productions servers.   Joel has one here along with a good description of what is happening to make it slow.

If your a developer and/or you like things with GUI’s the Spencer Harbar’s neat little App Pool Recycle utility is a must,  something I install as a matter of course on my Development and Presentation VMs.

  • maikl
    if your sharepoint portal server is very slow at first logon try to check if it try to search server name with %1. you can do it using wireshark sniffer. if you see netbios or dns request to host named %1.your_domain_name try to do next
    add to windows\system32\drivers\etc\hosts next string
    "your_dc_ip_address %1"
  • Jeroen Ritmeijer
    And make sure your server has access to crl.microsoft.com.


    See http://jritmeijer.spaces.live.com/blog/cns!8A48... plug to my own blog.
blog comments powered by Disqus