SharePoint slow start – warm up script
Imagine accounting for the time spent waiting for SharePoint to start up in the morning or after a server reboot or an iisreset?
It takes such a long time to load, but after it has loaded, then SharePoint behaves normally. The cause for this is when your Application pool is recycled in IIS. By default it recycles at 2:00AM daily.
The best way to ‘Warm Up’ SharePoint is to run some scripts that would fire up SharePoint in the wee hours of the morning. Read more on how to get this script..
Click here to download warmupserver.zip
warmupserver.zip contains the following 3 files:
Startup.bat – Calls the warmupserver.cmd script and passes in the servername parameter (modify this to fit the hostname of your server)
Warmupserver.cmd – checks for servername parameter then leverages the HttpRequest.vbs script to hit the relevant admin pages (change the pages and ports to the relevant ones)
HTTPRequest.vbs - This script executes an HTTP query using the XMLHTTP object
Read more here: http://blogs.msdn.com/joelo/archive/2006/08/13/697044.aspx
Please contact me if you want any topics that interest you.
Host headers for SharePoint / Rename Web Application SharePoint MOSS 2007 & WSS 3.0 – SP2 issues & fixes
editing HOSTS works for both SQL Server Management studio slow start up and Sharepoint slow load. just adding a line as below to HOSTS and go!
127.0.0.1 crl.microsoft.com
Hi,
we also created a sp warmup app and made it available via codeplex. we will regularly post updates about the project here: http://sharepointtrench.com/tag/spwarmup/
so feel free to contribute to the project
Hi,
can we add some code to identify the failed request to the server for any particular website.
please suggest.
i mean for a particular domain name in Startup.bat