Sun Java System Web Proxy Server 4.0.11 Performance Tuning, Sizing, and Scaling Guide


This guide discusses adjustments that you can make to improve the performance of Sun JavaTM System Web Proxy Server software (known as Proxy Server). The guide provides tuning, scaling, sizing tips and suggestions. It also provides possible solutions to common performance problems and data from scalability studies. It also addresses some of the configuration-specific and platform-specific issues.

Who Should Use This Book

This guide is intended for advanced administrators only. Be sure to read this guide and other relevant server documentation before making any changes.

Before You Read This Book

Proxy Server can be installed as a stand-alone product or as a component of Sun Java Enterprise System (Java ES), a software infrastructure that supports enterprise applications distributed across a network or Internet environment. If you are installing Proxy Server as a component of Java ES, you should be familiar with the system documentation at

How This Book Is Organized

This guide is divided into chapters. Each chapter addresses specific areas and tasks. The following table lists the chapters of the guide and their contents.

Table P–1 Guide Organization



Chapter 1, Performance and Monitoring Overview

This chapter provides a general discussion of server performance considerations, and more specific information about monitoring server performance. 

Chapter 2, Tuning Sun Java System Web Proxy Server

This chapter describes specific adjustments you can make that might improve Sun Java System Web Proxy Server performance. It provides an overview of Proxy Server's connection-handling process so that you can better understand the tuning settings. 

Chapter 3, Common Performance Problems

This chapter discusses common web site performance problems.

Chapter 4, Platform-Specific Issues and Tips

This chapter provides platform-specific tuning tips. 

Chapter 5, Sizing and Scaling Your Server

This chapter examines the subsystems of your server, and provides recommendations for optimal performance. 

Chapter 6, Scalability Studies

This chapter describes the results of scalability studies.  

Proxy Server Documentation Set

The Proxy Server documentation set describes how to install and administer the Proxy Server. The documentation set lists the documents that are related to Proxy Server. The URL for Sun Java System Web Proxy Server 4.0.11 documentation is For an introduction to Proxy Server, refer to the books in the order in which they are listed in the following table.

Table P–2 Sun Java System Web Proxy Server Documentation

Document Title


Sun Java System Web Proxy Server 4.0.11 Release Notes

The Proxy Server release: 

  • Late-breaking information about the software and the documentation

  • New features

  • Supported platforms and environments

  • System requirements

  • Known issues and workarounds

Sun Java System Web Proxy Server 4.0.11 Installation and Migration Guide

Performing installation and migration tasks:  

  • Installing the Sun Java System Web Proxy Server

  • Migrating from version 3.6 to version 4

Sun Java System Web Proxy Server 4.0.11 Administration Guide

Performing administration and management tasks: 

  • Using the administration and command-line interfaces

  • Configuring server preferences

  • Managing users and groups

  • Monitoring and logging server activity

  • Using certificates and public key cryptography to secure the server

  • Controlling server access

  • Proxying and routing URLs

  • Caching

  • Filtering content

  • Using a reverse proxy

  • Using SOCKS

Sun Java System Web Proxy Server 4.0.11 Configuration File Reference

Editing configuration files 

Sun Java System Web Proxy Server 4.0.11 NSAPI Developer’s Guide

Creating custom Netscape Server Application Programmer's Interface (NSAPI) plugins 

Sun Java System Web Proxy Server 4.0.11 Performance Tuning, Sizing, and Scaling Guide

Tuning Sun Java System Web Proxy Server to optimize performance 

Related Books

The URL for all documentation about Sun Java Enterprise System (Java ES) and its components is

Default Paths and File Names

The following table describes the default paths and file names that are used in this book.

Table P–3 Default Paths and File Names




Represents the base installation directory for Proxy Server 


Directory that contains the instance-specific subdirectories 

Typographic Conventions

The following table describes the typographic changes that are used in this book.

Table P–4 Typographic Conventions





The names of commands, files, and directories, and onscreen computer output 

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.


What you type, contrasted with onscreen computer output 

machine_name% su



A placeholder to be replaced with a real name or value 

The command to remove a file is rm filename.


Book titles, new terms, and terms to be emphasized (note that some emphasized items appear bold online) 

Read Chapter 6 in the User's Guide.

A cache is a copy that is stored locally.

Do not save the file.

Symbol Conventions

The following table explains symbols that might be used in this book.

Table P–5 Symbol Conventions





[ ]

Contains optional arguments and command options. 

ls [-l]

The -l option is not required.

{ | }

Contains a set of choices for a required command option. 

-d {y|n}

The -d option requires that you use either the y argument or the n argument.

${ }

Indicates a variable reference. 


References the value of the com.sun.javaRoot variable.

Joins simultaneous multiple keystrokes. 


Press the Control key while you press the A key. 

Joins consecutive multiple keystrokes. 


Press the Control key, release it, and then press the subsequent keys. 


Indicates menu item selection in a graphical user interface. 

File -> New -> Templates 

From the File menu, choose New. From the New submenu, choose Templates. 

Documentation, Support, and Training

The Sun web site provides information about the following additional resources:

Searching Sun Product Documentation

Besides searching Sun product documentation from the web site, you can use a search engine by typing the following syntax in the search field:


For example, to search for “Proxy Server,” type the following:

Proxy Server

To include other Sun web sites in your search (for example,,, and, use “” in place of “” in the search field.

Third-Party Web Site References

Third-party URLs are referenced in this document and provide additional, related information.

Note –

Sun is not responsible for the availability of third-party web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources.

Sun Welcomes Your Comments

Sun is interested in improving its documentation and welcomes your comments and suggestions. To share your comments, go to and click Feedback.