Documentation Home
> Sun Java System Web Server 6.1 SP9 Performance Tuning, Sizing, and Scaling Guide
Sun Java System Web Server 6.1 SP9 Performance Tuning, Sizing, and Scaling Guide
Book Information
Index
A
B
C
D
F
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
Virtual Servers
Monitoring Server Performance
Monitoring Current Activity Using the Server Manager
Activating Statistics
Activating Statistics from the Server Manager
To activate statistics from the user interface
Activating Statistics with stats-xml
To activate statistics using stats-xml
Monitoring Statistics
To monitor statistics from the Server Manager
Virtual Server Statistics
Monitoring Current Activity Using the perfdump Utility
Installing the perfdump Utility
To install perfdump, make the following modifications in obj.conf
See Also
Sample perfdump Output
Using Performance Buckets
Configuration
Performance Report
Chapter 2 Tuning Sun Java System Web Server
General Tuning Tips
Using Statistics to Tune Your Server
Connection Queue Information
Current /Peak /Limit
Tuning
Total Connections Queued
Average Queuing Delay
Listen Socket Information
Tuning
Address
Tuning
Acceptor Threads
Tuning
Default Virtual Server
Tuning
Keep-Alive/Persistent Connection Information
KeepAliveThreads
KeepAliveCount
Tuning
KeepAliveHits
KeepAliveFlushes
KeepAliveRefusals
KeepAliveTimeout
KeepAliveTimeouts
UseNativePoll
To enable native poll for your keep-alive system from the Server Manager
Session Creation Information
Tuning
Cache Information
enabled
Tuning
CacheEntries
Tuning
Hit Ratio (CacheHits / CacheLookups)
Maximum Age
Tuning
Thread Pools
Thread Pools (UNIX/Linux Only)
Native Thread Pools (Windows Only)
Generic Thread Pools (Windows Only)
Idle /Peak /Limit
Tuning
Work Queue Length /Peak /Limit
Tuning
NativePoolStackSize
Tuning
NativePoolQueueSize
Tuning
NativePoolMaxThreads
Tuning
NativePoolMinThreads
Tuning
DNS Cache Information
enabled
Tuning
CacheEntries (CurrentCacheEntries / MaxCacheEntries)
Tuning
HitRatio (CacheHits / CacheLookups)
Busy Functions
Threads, Processes, and Connections
Connection-Handling Overview
Process Modes
Single-Process Mode
Multi-Process Mode
MaxProcs (UNIX/Linux)
Tuning
Listen Socket Acceptor Threads
Tuning
Maximum Simultaneous Requests
Tuning
Keep-Alive Subsystem Tuning
HTTP/1.0-style Workload
Example
HTTP/1.1-style Workload
Example
Tuning the File Cache
Configuring the File Cache
To configure the cache
Using the nocache Parameter
Example
Monitoring the File Cache with the Server Manager
To view the file cache statistics with the Server Manager
File Cache Dynamic Control and Monitoring
To add an object to obj.conf
Tuning the ACL User Cache
ACL User Cache Directives
ACLCacheLifetime
ACLUserCacheSize
ACLGroupCacheSize
Verifying ACL User Cache Settings
Tuning
Tuning Java Web Applications Performance
Using Java Heap Tuning
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)
Configuring JDBC Connection Pooling
JDBC Connection Pool Attributes
Chapter 3 Miscellaneous Performance Topics
Miscellaneous magnus.conf Directives
Buffer Size
Tuning
Connection Timeout
Tuning
CGIStub Processes (UNIX/Linux)
Tuning
Miscellaneous obj.conf Parameters
find-pathinfo-forward
nostat
Using Quality of Service
Using Load Balancing
Using libloadbal
Library configuration
Testing
To configure the sample program
Sample
Chapter 4 Common Performance Problems
Magnus Editor Values
check-acl Server Application Functions
Low-memory Situations
Under-throttled Server
Cache Not Utilized
Keep-Alive Connections Flushed
Log File Modes
Chapter 5 Platform-specific Issues and Tips
Solaris-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 Sun Java System Web Server
RqThrottle and ConnQueueSize
Solaris File System Tuning
High File System Page-in Rate
Reduce File System Housekeeping
Long Service Times on Busy Disks or Volumes
Solaris-specific Performance Monitoring
Short-term System Monitoring
Long-term System Monitoring
"Intelligent" Monitoring
Tuning Solaris for Performance Benchmarking
Chapter 6 Sizing and Scaling Your Server
Processors
Memory
Drive Space
Networking
Chapter 7 Scalability Studies
Study Goals
General Conclusions
Sun Java System Web Server Configuration
Tuned Server Settings
nsfc.conf Settings
System Configuration
Performance Results
Static Content Test
Dynamic Content Test: WASP Servlet
Dynamic Content Test: C CGI
Dynamic Content Test: Perl CGI
Dynamic Content Test: NSAPI
SSL Performance Test: Static Content
SSL Performance Test: Perl CGI
SSL Performance Test: C CGI
SSL Performance Test: NSAPI
JDBC Connection Pooling with OCI Driver
PHP Scalability Tests
FastCGI
NSAPI
magnus.conf Settings
obj.conf Settings
© 2010, Oracle Corporation and/or its affiliates