Documentation Home
> Oracle iPlanet Web Server 7.0.9 Performance Tuning, Sizing, and Scaling Guide
Oracle iPlanet Web Server 7.0.9 Performance Tuning, Sizing, and Scaling Guide
Book Information
Index
Numbers and Symbols
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Preface
Chapter 1 Performance and Monitoring Overview
Performance Issues
Configuration
Virtual Servers
Server Farms
64–Bit Servers
SSL Performance
Monitoring Server Performance
About Statistics
Enabling Statistics
To Enable Statistics from the Admin Console
To Enable Statistics from the CLI
Monitoring Current Activity Using the Admin Console
To Monitor Statistics from the Admin Console
Monitoring Current Activity Using the CLI
To Monitor Statistics from the CLI
Monitoring Current Activity Using stats.xml
To Enable the stats-xml URI from the Admin Console
To Enable the stats-xml URI from the CLI
To Limit the stats-xml Statistics Displayed in the URI
To View stats-xml Output from the CLI
Monitoring Current Activity Using perfdump
To Enable the perfdump URI from the Admin Console
To Enable the perfdump URI from the CLI
To View the perfdump Data from the CLI
Sample perfdump Output
Using Performance Buckets
Configuration
Performance Report
Monitoring Current Activity Using the Java ES Monitoring Console
Chapter 2 Tuning Web Server
General Tuning Tips
Understanding Threads, Processes, and Connections
Connection-Handling Overview
Low Latency and High Concurrency Modes
Disabled Thread Pools
Connection–Handling magnus.conf Directives for NSAPI
Custom Thread Pools
The Native Thread Pool
Process Modes
Single-Process Mode
Multi-Process Mode
MaxProcs (UNIX/Linux)
Mapping Web Server 6.1 Tuning Parameters to Web Server 7.0
Using Monitoring Data to Tune Your Server
Connection Queue Information
Current /Peak /Limit Queue Length
Tuning
Total Connections Queued
Average Queue Length
Average Queuing Delay
Ticks Spent
Total Number of Connections Added
HTTP Listener (Listen Socket) Information
Address
Tuning
Acceptor Threads
Tuning
Default Virtual Server
Tuning
Keep-Alive Information
Keep-Alive Count
Tuning
Keep-Alive Hits
Keep-Alive Flushes
Keep-Alive Refusals
Keep-Alive Timeouts
Keep-Alive Timeout
Keep-Alive Poll Interval
Keep-Alive Threads
Tuning for HTTP 1.0-Style Workload
Tuning for HTTP 1.1-Style Workload
Session Creation and Thread Information
Maximum Threads (Maximum Simultaneous Requests)
Tuning
File Cache Statistics Information
Accelerator Entries
Tuning
Acceleratable Requests
Tuning
Acceleratable Responses
Tuning
Accelerator Hit Ratio
Tuning
File Cache Enabled
Tuning
File Cache Entries
Tuning
File Cache Hit Ratio (Cache Hits / Cache Lookups)
Maximum Age
Tuning
Maximum Heap Cache Size
Tuning
Using the nocache Parameter
Example
Using sendfile-size to Pace Large Files
Tuning
File Cache Dynamic Control and Monitoring
To Control and Monitor the File Cache
Thread Pool Information
Native Thread Pool
Idle /Peak /Limit
Tuning
Work Queue Length /Peak /Limit
Tuning
NativePoolStackSize Directive
Tuning
NativePoolQueueSize Directive
Tuning
NativePoolMaxThreads Directive
Tuning
NativePoolMinThreads Directive
Tuning
DNS Cache Information
Enabled
Tuning
Cache Entries (Current Cache Entries / Maximum Cache Entries)
Tuning
Hit Ratio of Cache Hits and Lookups
Async DNS Enabled/Disabled
Java Virtual Machine (JVM) Information
Java Heap Tuning
Web Application Information
To Access Web Application Statistics From the Admin Console
Web Application Statistics
JDBC Resource Information
JDBC Resource Statistics Available Through the Admin Console
Connections
Free Connections
Leased Connections
Queued Connections
JDBC Resource Statistics Not Available in the Admin Console
JDBC Resource Connection Settings
Tuning the ACL User Cache
Tuning Java Web Application Performance
Using Precompiled JSPs
Using Servlet/JSP Caching
Configuring the Java Security Manager
Configuring Class Reloading
Avoiding Directories in the Classpath
Configuring the Web Application’s Session Settings
Tuning maxLocks (UNIX/Linux)
Tuning MMapSessionManager (UNIX/Linux)
Tuning CGI Stub Processes (UNIX/Linux)
Using find-pathinfo-forward
Using nostat
Using Busy Functions
Using Large Pages Support
Tuning Your Web Application
Java Programming Guidelines
Avoid Serialization and Deserialization
Use StringBuffer to Concatenate Strings
Assign null to Variables That Are No Longer Needed
Declare Methods as final Only If Necessary
Declare Constants as static final
Avoid Finalizers
Declare Method Arguments final
Synchronize Only When Necessary
Use DataHandlers for SOAP Attachments
Java Server Page and Servlet Tuning
Suggested Coding Practices
General Guidelines:
Avoid Shared Modified Class Variables
HTTP Session Handling
Tuning Web Container Within Web Server 7.0
Deployment Settings
Use Pre-compiled JavaServer Pages
Disable Dynamic Application Reloading
Disable dynamic class reloading for an application
Disable Dynamic JSP Reloading
Logger Settings
Managing Memory and Garbage Collection
Tuning the Garbage Collector
Other Garbage Collector Settings
Tuning the Java Heap
Choosing the Garbage Collection Algorithm
CMS Collector
Tracing Garbage Collection
J2SE 5.0 Monitoring Tools
jconsole
jstat
Binary Logging Header
Chapter 3 Common Performance Problems
check-acl Server Application Functions
Low-Memory Situations
Too Few Threads
Cache Not Utilized
Keep-Alive Connections Flushed
Large Memory Footprint
Log File Modes
Tuning of File Descriptors
Chapter 4 P m-Specific Issues and Tips
Solaris Platform-Specific Issues
Files Open in a Single Process (File Descriptor Limits)
Failure to Connect to HTTP Server
Connection Refused Errors
Tuning TCP Buffering
Using the Solaris Network Cache and Accelerator (SNCA)
To Enable SNCA to Work With Web Server
Maximum Threads and Queue Size
Solaris File System Tuning
High File System Page-In Rate
Reduce File System Housekeeping
Long Service Times on Busy Disks or Volumes
Solaris Platform-Specific Performance Monitoring
Short-Term System Monitoring
Long-Term System Monitoring
“Intelligent” Monitoring
Solaris 10 Platform-Specific Tuning Information
Tuning Solaris for Performance Benchmarking
Tuning UltraSPARC T1–Based Systems for Performance Benchmarking
Tuning Operating System and TCP Settings
Disk Configuration
Network Configuration
Web Server Start Options
Chapter 5 Sizing and Scaling Your Server
64-Bit Server
Processors
Memory
Drive Space
Networking
Chapter 6 Scalability Studies
Study Goals
Study Conclusion
Hardware
Software
Configuration and Tuning
Network Configuration
Web Server Tuning
Performance Tests and Results
Static Content Test
Dynamic Content Test: Servlet
Dynamic Content Test: C CGI
Dynamic Content Test: Perl CGI
Dynamic Content Test: NSAPI
PHP Scalability Tests
PHP Scalability with Fast CGI
PHP Scalability with NSAPI
SSL Performance Test: Static Content
SSL Performance Test: Perl CGI
SSL Performance Test: C CGI
SSL Performance Test: NSAPI
E-Commerce Web Application Test
Hardware for E-Commerce Test
Configuration and Tuning for E-Commerce Test
E-commerce Application Description
Database Cardinality
Workload
© 2010, Oracle Corporation and/or its affiliates