Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
한국어
docs.sun.com Home
>
Sun Java System Web Server 7.0
> Sun Java System Web Server 7.0 Performance Tuning, Sizing, and Scaling Guide
Sun Java System Web Server 7.0 Performance Tuning, Sizing, and Scaling Guide
검색에만이 책은
검색 도움말
이 책의 내용보기:
다른 언어
日本語
Contained Within
Sun Java System Web Server 7.0
Find More Documentation
문서 제목 찾기
제품 설명서 찾기
Featured Support Resources
Sun 교육 과정
BigAdmin 시스템 관리 포털
Sun 지원 센터
Sun Solve
PDF로 이 문서 다운로드 (1306 KB)
Sun Java System Web Server 7.0 Performance Tuning, Sizing, and Scaling Guide
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
Book Information
Preface
Who Should Use This Book
Before You Read This Book
Web Server Documentation Set
Related Books
Default Paths and File Names
Typographic Conventions
Symbol Conventions
Accessing Sun Resources Online
Searching Sun Product Documentation
Third-Party Web Site References
Sun Welcomes Your Comments
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
2. Tuning Sun Java System 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 (Thread) Information
Maximum Threads (Maximum Simultaneous Requests)
Tuning
File Cache Information (Static Content)
Enabled
Tuning
Cache Entries
Tuning
Hit Ratio (Cache Hits / Cache Lookups)
Maximum Age
Tuning
Maximum Heap Cache Size
Tuning
Using the nocache Parameter
Example
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 (Cache Hits / Cache 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
3. Common Performance Problems
check-acl Server Application Functions
Low-Memory Situations
Too Few Threads
Cache Not Utilized
Keep-Alive Connections Flushed
Log File Modes
4. Platform-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
5. Sizing and Scaling Your Server
64-Bit Server
Processors
Memory
Drive Space
Networking
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
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.