This subsection describes the estimation of resources used for each OS when the Web server and J2EE server are deployed on the same machine.
Note that the Example of option settings in each table of estimation of resources used differs according to the OS and the kernel versions in use. Reference the manual of the OS being used and set up the estimates based on the estimation formula in the table. The settings are not required when the corresponding kernel parameter is not applicable in the OS being used.
The following table describes the estimation of resources used in AIX:
Table 5-2 Estimation of resources used (In AIX)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | -- | PrfTraceBufferSize#1![]() ![]() ![]() | -- |
Number of processes | -- | maximum-number-of-concurrently-processed-requests#2 ![]() | -- |
Number of threads | -- | maximum-number-of-concurrently- processed-requests#2![]() | -- |
Number of file descriptors | nofiles | number-of-J2EE-server-file-descriptors#3 + 76 + maximum-number-of-concurrently-processed- requests#2![]() | /etc/security/limits |
The following table describes the estimation of resources used in HP-UX:
Table 5-3 Estimation of resources used (In HP-UX)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | shmmax | PrfTraceBufferSize#1![]() ![]() ![]() | kctune shmmax= 1073741824 |
Number of processes | nproc | maximum-number-of-concurrently-processed-requests#2![]() | kctune nproc=4200 |
Number of threads | nkthread | maximum-number-of-concurrently-processed-requests#2![]() | kctune nkthread= 8416 |
Number of file descriptors | nfile | number-of-J2EE-server-file-descriptors#3 + 76 + maximum-number-of-concurrently-processed-requests#2![]() | kctune nfile= 65536 |
The following table describes the estimation of resources used in Linux:
Table 5-4 Estimation of resources used (In Linux)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | SHMMAX | PrfTraceBufferSize#1![]() ![]() ![]() | /proc/sys/kernel/shmmax |
Number of processes | threads-max#3 | maximum-number-of-concurrently-processed-requests#2![]() | /proc/sys/kernel/threads-max |
Number of threads | threads-max#3 | maximum-number-of-concurrently-processed-requests#2![]() | -- |
Number of file descriptors | fs.file-max | number-of-J2EE-server-file-descriptors#4 + 76 + maximum-number-of- concurrently-processed-requests#2![]() | /proc/sys/fs/file-max |
The following table describes the estimation of resources used in Solaris:
Table 5-5 Estimation of resources used (In Solaris)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | shminfo_shmmax | PrfTraceBufferSize#1![]() ![]() ![]() | /etc/system |
Number of processes | max_nprocs | maximum-number-of-concurrently-processed-requests#2![]() | /etc/system |
Number of threads | -- | maximum-number-of-concurrently-processed-requests#2![]() | -- |
Number of file descriptors | rlim_fd_max | number-of- J2EE-server-file-descriptors#3 + 76 + maximum-number-of-concurrently-processed-requests#2![]() | /etc/system |