
2
Tuning Sun Java System Web Server
................................................................................................ 39
General Tuning Tips ........................................................................................................................... 39
Understanding Threads, Processes, and Connections ................................................................... 40
Connection-Handling Overview ............................................................................................... 40
Custom Thread Pools .................................................................................................................. 42
The Native Thread Pool ............................................................................................................... 43
Process Modes .............................................................................................................................. 44
Mapping Web Server 6.1 Tuning Parameters to Web Server 7.0 ................................................... 46
Using Monitoring Data to Tune Your Server .................................................................................. 48
Connection Queue Information ................................................................................................ 49
HTTP Listener (Listen Socket) Information ............................................................................ 51
Keep-Alive Information .............................................................................................................. 53
Session Creation (Thread) Information .................................................................................... 57
File Cache Information (Static Content) .................................................................................. 59
Thread Pool Information ............................................................................................................ 65
DNS Cache Information ............................................................................................................. 68
Java Virtual Machine (JVM) Information ................................................................................ 70
Web Application Information .................................................................................................... 71
▼
To Access Web Application Statistics From the Admin Console ................................... 71
JDBC Resource Information ...................................................................................................... 72
Tuning the ACL User Cache .............................................................................................................. 77
Tuning Java Web Application Performance .................................................................................... 78
Using Precompiled JSPs .............................................................................................................. 78
Using Servlet/JSP Caching .......................................................................................................... 79
Configuring the Java Security Manager ..................................................................................... 79
Configuring Class Reloading ...................................................................................................... 79
Avoiding Directories in the Classpath ....................................................................................... 80
Configuring the Web Application’s Session Settings ............................................................... 80
Tuning CGI Stub Processes (UNIX/Linux) ..................................................................................... 81
Using find-pathinfo-forward ............................................................................................................. 82
Using nostat ......................................................................................................................................... 82
Using Busy Functions ......................................................................................................................... 83
3
Common Performance Problems
......................................................................................................85
check-acl Server Application Functions ........................................................................................... 85
Contents
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
4
Summary of Contents for Sun Java System Web Server 7.0
Page 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Page 10: ...10 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 84: ...84 ...
Page 100: ...100 ...