Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Restarting SharePoint without Rebooting

  Asked By: Korey    Date: Dec 16    Category: Sharepoint    Views: 10897

Is there a way to restart SPS/WSS without rebooting? After our server
has been up a while we get slow performance on the Portal side the first
time you hit it during the day and errors in the Gatherer about the
server not responding in time. A reboot fixes this but does anyone have
a way to avoid rebooting?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Agustin Miranda     Answered On: Dec 16

Try restarting IIS.

Go to the cmd prompt and type in iisreset.

Speeds are going to be slow  initially, until IIS gets a chance to re-
cache the pages.

 
Answer #2    Answered By: Arron Middleton     Answered On: Dec 16

I'm surprised because IIS 6 has default settings that recycle IIS
resources on a nightly basis unless you change them.

Of course, you can manually stop and start the IIS App Pool listed on
the Home Directory tab of the IIS Web Site in question. Or perhaps an
entire IIS Reset is in order?

I'm also in the process of creating a blog post about using a shortcut
(specifically for developers that need to do this often) to stop and
start a specific IIS App Pool. Here is the command:
C:\WINDOWS\system32\cscript.exe C:\WINDOWS\system32\iisapp.vbs /a
MSSharePointPortalAppPool /r

where MSSharePointPortalAppPool is the name of the App Pool to reset.
This only works with Win2K3 SP1+. I've attached a zipped version of the
shortcut to this email for those of you that can download attachments.

 
Answer #3    Answered By: Vance Hardin     Answered On: Dec 16

In IIS Manager, go to the properties of the App Pool. There are many ways to
configure it to recycle, time  of day, hours, memory consumption, idle time, etc.
Also you can assign multiple threads to the pool (web garden). I believe the
Microoft recommendation is not more than 3, but I do not have my documentation
with me right now.

There should be no reason to re-boot just for IIS app pool issues.

> "Todd Bleeker" <todd@...> wrote:
>
> I'm surprised because IIS 6 has default settings that recycle IIS
resources on a nightly basis unless you change them.

Of course, you can manually stop and start the IIS App Pool listed on
the Home Directory tab of the IIS Web Site in question. Or perhaps an
entire IIS Reset is in order?

I'm also in the process of creating a blog post about using a shortcut
(specifically for developers that need to do this often) to stop and
start a specific IIS App Pool. Here is the command:
C:\WINDOWS\system32\cscript.exe C:\WINDOWS\system32\iisapp.vbs /a
MSSharePointPortalAppPool /r

where MSSharePointPortalAppPool is the name of the App Pool to reset.
This only works with Win2K3 SP1+. I've attached a zipped version of the
shortcut to this email for those of you that can download attachments.

 
Didn't find what you were looking for? Find more on Restarting SharePoint without Rebooting Or get search suggestion and latest updates.