Monitoring, Tuning and Troubleshooting Proxy Server

Optimizing Proxy Server Performance

In order to optimize server performance for whatsoever reason, you need to start by monitoring the server. In most cases, before server monitoring commences, it is common practice to establish baseline performance metrics for the specific server. Baseline performance metrics are established by measuring the performance of a particular server under various conditions, at different times of the day, week, and month, and when the hardware and software configuration changes. Based on the baseline metrics which you define for the server, you would need to optimize the server when performance of the server by far exceeds your baseline metrics.

It is recommended to formulate a thorough server monitoring plan once you have established your baseline performance metrics for a specific server.

A few elements that should be incorporated into a server monitoring plan are:

Another key component to monitoring server performance is to identify bottlenecks. A bottleneck can be described as a condition which is created by a particular resource which in turn prevents other resources from operating optimally.

Bottlenecks occur when:

The techniques that you can use to optimize Proxy Server performance are listed here:

The advantages of using proxy arrays as a Proxy Server optimization method are listed here:

The advantages of using Network Load Balancing (NLB) as a Proxy Server optimization method are listed here:

The advantages of using Round Robin DNS as a Proxy Server optimization method are listed here:

If you need to provide the highest possible level of server availability for your Proxy Server implementation, you should use Microsoft Windows Clustering.
Using Microsoft Windows Clustering provides the following benefits for your Proxy Server implementation:

The following techniques can be used to optimize Internet access and reduce Internet traffic:

The advantages of using passive caching in your Proxy Server implementation are:

With active Caching, Proxy Server automatically generates requests for specific objects in the Proxy Server cache so that frequently requested objects remain cached. Proxy Server determines which objects should be flagged for active caching by considering object popularity, Time To Live (TTL) value of objects, and server load to determine the level of active caching performed.
The advantages of using active caching in your Proxy Server implementation are:

Monitoring Proxy Server Components

The various components to track when monitoring Proxy Server are listed here:

A few strategies which you can implement to ensure that disk performance copes with caching large volumes of information are listed here:

How to configure the Proxy Server caching

You can use the Internet Service Manager to configure caching for the Web Proxy service.

  1. Click Start, click Programs, click Microsoft Proxy Server, and then click Internet Service Manager.
  2. Double-click the Web Proxy service.
  3. The Web Proxy Service Properties dialog box is displayed.
  4. Click the Caching tab.
  5. To configure passive caching, select the Enable caching checkbox and select between the following options:
    • If you want to ensure that the cache has the most recent data, select the Updates are more important (more update checks) option. Bear in mind though that Proxy Server will initiate more traffic to the Internet to ensure that the cached information is the most recent.
    • If you want the recentness of the cached information and the performance of the proxy server to have equal importance, select the Equal importance option.
    • If you want to provide the best possible user response time, select the Fewer network accesses are more important (more cache hits) option.
  1. To configure active caching, select the Enable active caching checkbox and select between the following options:
    • If you want to provide the best possible user response time, select the Faster user response is more important (more pre-fetching) option.
    • If you want the recentness of the cache information and the performance of the proxy server to have equal importance, select the Equal importance option.
    • If you want to minimize Internet traffic, select the Fewer network accesses are more important(less pre-fetching) option.

How to configure advanced caching options to enhance Proxy Server cache performance

  1. Open Internet Service Manager.
  2. Double-click the Web Proxy service.
  3. The Web Proxy Service Properties dialog box is displayed.
  4. Click the Caching tab.
  5. Click the Advanced button.
  6. The Advanced Caching Policy dialog box opens.
  7. You can limit the size of cached objects here. All objects that exceed the size which you define are not cached.
  8. For cases where an expired object in the cache cannot be updated due to the Web site not being accessible, you can configure the time duration for which these expired objects can still be utilized.
  9. You can specify the Time To Live (TTL) value for HTTP objects and for FTP objects.
  10. You can also configure cache filters which define whether objects should be/should not be cached from certain Internet sites.

Monitoring Proxy Server Performance Counters

Performance objects and counters are installed when you install Proxy Server.

The general default Proxy Server performance counters installed are listed here:

The main counters for monitoring Web Proxy service performance are:

The main counters used for monitoring Web Proxy service cache performance are:

How to set counters to track Proxy Server cache usage

  1. Open Performance Monitor.
  2. Click the View menu item, and then click Report.
  3. Click the Edit menu item, and then click Add to Report.
  4. Select Web Proxy Server Cache as the performance object.
  5. Select the URLs in Cache counter, the Total URLs Cached counter, and the Total URLs Retrieved counter as the counters to track, and then click Add.
  6. Click Done, and then close Performance Monitor.

How to view Web Proxy activity

  1. Open Performance Monitor.
  2. Click the View menu item, and then click Report.
  3. Click the Edit menu item, and then click Add to Chart.
  4. Select HTTP Service as the performance object.
  5. Select the Current Connections counter, the Maximum Connections counter, and the Connection Attempts counter as the counters to track and then click Add.
  6. Select Web Proxy Server Cache as the performance object.
  7. Select the Current users counter, the Maximum users counter, the Http Requests counter, and the Total Requests counter as the counters to track and then click Add.
  8. Click Done, and then close Performance Monitor.

How to verify current Proxy Server user sessions

  1. Establish a connection to the Internet from a client computer.
  2. Open Internet Service Manager.
  3. Double-click Web Proxy service to access its properties.
  4. The Web Proxy Service Properties dialog box opens.
  5. Click the Current Sessions button on the Service tab.
  6. Check whether there is a current user session for the client.

Proxy Server Logging

You can enable and configure Proxy Server logging to track Proxy Server performance and Internet usage. Proxy Server logging is enabled on the Logging tab of the Proxy Server service that you want to configure it for.

Before enabling Proxy Server logging for a Proxy Server service, you should plan your logging strategy:

If you want to track Proxy Server performance issues, you should monitor the following components:

To enable logging for a Proxy Server service, you have to access the Properties sheet of that particular service through Internet Service Manager, click the Logging tab, and then select the Enable logging using…checkbox. You then have to choose the logging format to use. The logging format that you choose determines what logging fields are recorded.

You can choose between the following logging formats:

As mentioned previously, you can log Proxy Server activity to either a text file or to a database. The default logging method enabled when Proxy Server is installed is logging to a text file. When logged data is recorded to a text file, you can view the logged information using either of the following methods:

When the Log To File logging method is chosen, you can specify the following configuration parameters on the Logging tab:

When the Log To Database logging method is chosen, you have to provide the following configuration parameters on the Logging tab:

Tools for Troubleshooting Proxy Server

There are a number of tools and command-line utilities that you can use to monitor and troubleshoot Proxy Server issues.

When you install Proxy Server, performance objects and counters are also installed for Proxy Server. You can use Performance Monitor to view and monitor real-time performance data, choose which data you want to collect by selecting between various objects and counters, monitor processes and components that you want to optimize, plan for upgrades, and for troubleshooting purposes. You can also select the format or view in which you want to examine collected data.

To open Performance Monitor,

  1. Click Start, click Programs, click Microsoft Proxy Server, and then click Monitor Microsoft Proxy Server Performance.

Event Viewer is used to monitor events that took place on a computer. Event Viewer stores events that are logged in a system log, application log, and security log. The system log contains events that are associated with the operating system. The application log stores events that pertain to applications running on the computer. Events that are associated with auditing activities are logged in the security log. This makes Event Viewer a good mechanism to monitor for, and troubleshoot problems.

Proxy Server errors are written to the system log and to the application log. When you double-click on a particular event, the description on the Event Properties tab of the Properties dialog box is displayed. This provides a detailed description of the event. You can save event descriptions as binary data files if you want to keep them.

The Event Header and Event Description hold important information on the event that you are examining. The information recorded in the Event Header is described below:

You can use Network Monitor to monitor and log network activity as it occurs on the network. You can also use the information obtained from Network Monitor to optimize network traffic. Network Monitor stems directly from the Windows NT Network Monitor.

The key administration tasks which you can perform using Network Monitor are summarized below:

The command-line utilities which you can use to troubleshoot Proxy Server issues are:

Troubleshooting Common Proxy Server server-end issues

The common Proxy Server server-end issues that occur are:

When you install Proxy Server, Setup records events to the locations listed below. These logs provide a good source of information for any issues that may arise when Proxy Server is installed in a computer:

To avoid external network adapter card issues;

To avoid Proxy Server cache setup issues;

A few common Web Proxy service and Web Proxy cache issues are listed here:

A few common WinSock Proxy service issues are listed here:

A few common Socks Proxy service issues are listed here:

A few common Proxy Server array issues are listed here:

Troubleshooting Common Proxy Server client-end issues

The common Web Proxy client issues encountered are summarized here:

The common WinSock Proxy client errors encountered are summarized here:

A guideline for troubleshooting Proxy Server client issues follows:



Top 5 Free Networking Tools

Bookmark Monitoring, Tuning and Troubleshooting Proxy Server

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.