View Source

{section}
{column:width=30%}
{panel:borderStyle=outset|borderColor=#ff9900|bgColor=#ffffff}
*+[Home]+*
*+[Read Me First]+*
*+[Purpose and Policy]+*
*+[Frequently Asked Questions]+*
*+[Recently Updated Pages]+*
{panel}

{panel:borderStyle=outset|borderColor=#ff9900|bgColor=#ffffff}
{livesearch:spaceKey=WebServerdocs}
{panel}
{panel:borderStyle=outset|borderColor=#ff9900|titleBGColor=#BDBEC0|bgColor=#ffffff}
                        *{color:black}Table of Contents{color}*

----
{toc:minLevel=2|maxLevel=5|indent=15px}
{panel}
\\
{panel:borderStyle=outset|borderColor=#ff9900|bgColor=#ffffff}
                               *{color:black}Top Contributors {color}*

----
{contributors-summary:columns=edits,comments|order=edits|labels=+tuningguide}
{panel}
{column}

{column}
h1. Sun Java System Web Server 7.0 Update 5 Performance Tuning, Sizing and Scaling Guide {anchor:ptssg}

||[Download this document|^Performance Tuning, Sizing, and Scaling Guide.tar.gz]||
This guide discusses adjustments you can make that may improve the performance of Sun Java System Web Server (henceforth known as Web Server). The guide provides tuning, scaling, and sizing tips and suggestions; possible solutions to common performance problems; and data from scalability studies. It also addresses miscellaneous configuration and platform-specific issues.

{panel:borderStyle=outset|borderColor=#ff9900|title=Related Documents|titleBGColor=#ff9900|bgColor=#ffffff}
*[Sun Java System Web Server 7.0 Update 5 Documentation Center|http://docs.sun.com/app/docs/doc/820-7340]*
*[Sun Java System Web Server 7.0 Update 5 Release Notes|Release Notes]*
*[Sun Java System Web Server 7.0 Update 5 Administrator's Configuration File Reference|Administrator's Configuration File Reference]*
*[Sun Java System Web Server 7.0 Update 5 Developer's Guide|Developer's Guide]*
*[Sun Java System Web Server 7.0 Update 5 Troubleshooting Guide|Troubleshooting Guide]*
*[Sun Java System Web Server 7.0 Update 5 NSAPI Developer's Guide|NSAPI Developer's Guide]*
*[Sun Java System Web Server 7.0 Update 5 Installation and Migration Guide|Installation and Migration Guide]*
*[Sun Java System Web Server 7.0 Update 5 Developer's Guide to Java Web Applications|Developer's Guide to Java Web Applications]*
*[Sun Java System Web Server 7.0 Update 5 Administrator's Guide|Administrator's Guide]*
*[Sun Java System Web Server 7.0 Update 5 CLI Reference Manual|http://docs.sun.com/app/docs/doc/820-7337]*
{panel}

h2. Performance and Monitoring Overview {anchor:ch1}

Web Server is designed to meet the needs of the most demanding, high-traffic sites in the world. It can serve both static and dynamically generated content. Web Server can also run in SSL mode, enabling the secure transfer of information.

This guide helps you to define your server workload and size a system to meet your performance needs. Because your environment is unique, the impacts of the suggestions provided in this guide will depend on your specific environment. Ultimately you must rely on your own judgment and observations to select the adjustments that are best for you.

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

This chapter includes the following topics and sub-topics:

* h6. [Performance Overview]
* h6. [Monitoring Server Performance]
** [About Statistics]
** [Monitoring Current Activity Using the Admin Console]
** [Monitoring Current Activity Using the CLI]
** [Monitoring Current Activity Using stats.xml]
** [Monitoring Current Activity Using perfdump]
** [Monitoring Current Activity Using the Java ES Monitoring Console]

h2. Tuning Sun Java System Web Server {anchor:ch2}

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

* h6. [General Tuning Tips]
* h6. [Understanding Threads, Processes, and Connections]
** [Connection-Handling Overview]
** [Custom Thread Pools]
** [The Native Thread Pool]
** [Process Modes]
* h6. [Mapping Web Server 6.1 Tuning Parameters to Web Server 7.0]
* h6. [Using Monitoring Data to Tune Your Server]
** [Connection Queue Information]
** [HTTP Listener (Listen Socket) Information]
** [Keep-Alive Information]
** [Session Creation and Thread Information]
** [File Cache Statistics Information]
** [Thread Pool Information]
** [DNS Cache Information]
** [Java Virtual Machine (JVM) Information]
** [Web Application Information]
** [JDBC Resource Information]
* h6. [Tuning the ACL User Cache]
* h6. [Tuning Java Web Application Performance]
* h6. [Tuning CGI Stub Processes (UNIX or Linux)]
* h6. [Using find-pathinfo-forward]
* h6. [Using nostat]
* h6. [Using Busy Functions]
* h6. [Tuning Your Web Application]
* h6. [Java Server Page and Servlet Tuning]
* h6. [Tuning Web Container Within Web Server 7.0]
** [Deployment Settings]
** [Binary Logging Header]
** [J2SE 5.0 Monitoring Tools]

{info:title=Note - }Be very careful when tuning your server. Always back up your configuration files before making any changes.
{info}

                                                                                                                                                                                                                                      \[*Back to* *[top|#ptssg]*\]

h2. Common Performance Problems {anchor:ch3}

This chapter discusses common web site performance problems, and includes the following topics:

* h6. [Common Web Site-Specific Performance Issues]

{info:title=Note - }For platform-specific issues, see [#Platform-Specific Issues and Tips]
{info}

h2. Platform-Specific Issues and Tips {anchor:ch4}

This chapter provides platform-specific tuning tips, and includes the following topics:

* h6. [Solaris Platform-Specific Issues]
* h6. [Solaris File System Tuning]
* h6. [Solaris Platform-Specific Performance Monitoring]
* h6. [Tuning Solaris for Performance Benchmarking]
* h6. [Tuning UltraSPARC T1-Based Systems for Performance Benchmarking]

h2. Sizing and Scaling Your Server {anchor:ch5}

This chapter examines the subsystems of your server, and provides recommendations for optimal performance. The chapter includes the following topics:

* h6. [Server Subsystems and Optimal Performance Recommendations]

h2. Scalability Studies {anchor:ch6}

This chapter describes the results of scalability studies. You can refer to these studies for a sample of how the server performs, and how you can configure your system to best take advantage of Web Server’s strengths.

This chapter includes the following topics:
* h6. [Study Goals, Prerequisites and Conclusion]
* h6. [Configuration and Tuning Settings]
* h6. [Performance Tests and Results]
** [Static Content Test|Performance Tests and Results#Static Content Test]
** [Dynamic Content Test]
** [PHP Scalability Tests]
** [SSL Performance Test]
** [E-Commerce Web Application Test]

                                                                                                                                                                                                                                      \[*Back to* *[top|#ptssg]*\]

{column}
{section}

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact