16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 10: Performance Monitoring in <strong>Microsoft</strong> Office SharePoint Portal Server 2003 259<br />

■ Creating a new application pool uses more memory, but it helps the stability of<br />

the portal.<br />

■ If you share one application pool among many portals, you have saved memory<br />

space at the cost of cascading failure to other portals if the application pool<br />

doesn’t function properly.<br />

It is essential that you properly configure the application pool to ensure the<br />

health <strong>and</strong> reliability of an Active Server Pages (ASP) .NET application. All the relevant<br />

settings are found on the application pool property sheet.<br />

IIS 6.0 distinguishes between proactive <strong>and</strong> reactive recycling. IIS performs<br />

proactive recycling for known conditions <strong>and</strong> reactive recycling for unknown or<br />

dynamic conditions. For proactive recycling, IIS 6.0 checks the elapsed time, the<br />

number of requests completed, the scheduled time, <strong>and</strong> the amount of memory<br />

used. By default, events are only logged in the application event log if the recycling<br />

occurs based on the memory limit trigger.<br />

Table 10-9 describes the available IIS 6.0 application pool settings, which are<br />

accessible through the IIS MMC snap-in.<br />

Table 10-9 Application Pool Settings for IIS 6.0<br />

Setting Description<br />

Idle timeout Controls whether IIS shuts down idle worker processes. Worker<br />

processes serving the application pool are shut down after being<br />

idle for the specified amount of time.<br />

Request queue limit Controls the size of the request queue. This setting prevents large<br />

numbers of requests from queuing up <strong>and</strong> overloading the Web<br />

server.<br />

CPU monitoring Specifies what action is to be taken if a CPU usage threshold is<br />

reached.<br />

Web garden Controls the number of worker processes for the application pool.<br />

Enable pinging Specifies how often the Web Administration Service (WAS) pings<br />

each worker process in the application pool to detect its status.<br />

Enable rapid fail<br />

protection<br />

Configures IIS to remove the application pool from service if a<br />

specified number of crashes occur within the specified time period.<br />

If a worker process is removed from service, HTTP.sys responds to<br />

any incoming request with a “503 Service Unavailable” message.<br />

Startup time limit Specifies the amount of time a process is allowed for startup before<br />

IIS assumes that it has not started correctly <strong>and</strong> terminates it. Terminated<br />

processes are logged in the system event log.<br />

Shutdown time limit Tells the WAS how to cope with worker processes that hang during<br />

shutdown. If a worker process has not shut down during the specified<br />

time limit, it is terminated by the WAS.<br />

ASP.NET supports two groups of performance counters: system <strong>and</strong> application.<br />

System performance counters are exposed in Windows Server 2003 System<br />

Monitor in the ASP.NET System performance counter object, <strong>and</strong> application performance<br />

counters are exposed in the ASP.NET Applications performance object.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!