6.1.1 Resources used for deploying batch server

This subsection describes the estimation of the resources used for deploying batch servers for each OS. When deploying the batch servers, estimate the resources used by the machine on which the batch servers is deployed.

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.

Furthermore, for details about the estimation of the resources used for each process, see 6.2 Resources used for each process.

For details about the required virtual memory, see 6.3 Estimating virtual memory usage. For details about the disk occupancy, see the release notes of Application Server.

Organization of this subsection
(1) In AIX
(2) In HP-UX
(3) In Linux
(4) In Solaris

(1) In AIX

The following table describes the estimation of resources used by the Application Server machine in AIX:

Table 6-2 Estimation of the resources used by the Application Server machine (In AIX)

System resourceParameterRequirementExample of option settings
Service unit#1Shared memory--PrfTraceBufferSize#2[Figure] 1,024 + 18,496--
Number of processes--4--
Number of threads--number-of-batch- server-threads#3+34--
Number of file descriptorsnofilesnumber-of-batch-server-file-descriptors#3 + 43/etc/security/limits
Management ServerNumber of processes--5--
Number of threads--56--
Number of file descriptorsnofiles43 + number-of-batch-servers/etc/security/limits
Legend:
--: Not applicable.
#1
Service unit indicates the following:
Batch-server + Performance-tracer
#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, see 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.
#3
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.

(2) In HP-UX

The following table describes the estimation of resources used by the Application Server machine in HP-UX:

Table 6-3 Estimation of the resources used by the Application Server machine (In HP-UX)

System resourceParameterRequirementExample of option settings
Service unit#1Shared memoryshmmaxPrfTraceBufferSize#2[Figure] 1,024 + 18,496kctune shmmax= 1073741824​
Number of processesnproc4kctune nproc=4200
Number of threadsnkthreadnumber-of-batch-server- threads#3 + 34kctune nkthread= 8416
Number of file descriptorsnfilenumber-of-batch-server-file-descriptors#3 + 43kctune nfile= 65536
Management ServerNumber of processesnproc5kctune nproc=4200
Number of threadsnkthread56kctune nkthread= 8416
Number of file descriptorsnfile43 + number-of-batch-serverskctune nfile= 65536
#1
Service unit indicates the following:
Batch-server + Performance-tracer
#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, see 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.
#3
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.

(3) In Linux

The following table describes the estimation of resources used by the Application Server machine in Linux:

Table 6-4 Estimation of the resources used by the Application Server machine (In Linux)

System resourceParameterRequirementExample of option settings
Service unit#1Shared memorySHMMAXPrfTraceBufferSize#2[Figure] 1,024 + 18,496/proc/sys/kernel/shmmax
Number of processesthreads-max#34/proc/sys/kernel/threads-max
Number of threadsthreads-max#3number-of- batch-server-threads#4 + 34--
Number of file descriptorsfs.file-maxnumber-of-batch-server-file-descriptors#4 + 43/proc/sys/fs/file-max
Management ServerNumber of processesthreads-max#35/proc/sys/kernel/threads-max
Number of threadsthreads-max#356--
Number of file descriptorsfs.files-max43 + number-of-batch-servers/proc/sys/fs/file-max
Legend:
- : Not applicable.
#1
Service unit specifies the following:
Batch-server + Performance-tracer
#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.
#3
Specify the total of number of processes and threads in the threads-max parameter.
#4
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.

(4) In Solaris

The following table describes the estimation of resources used by the Application Server machine in Solaris:

Table 6-5 Estimation of the resources used by the Application Server machine (In Solaris)

System resourceParameterRequirementExample of option settings
Service unit#1Shared memoryshminfo_shmmaxPrfTraceBufferSize#2[Figure] 1,024 + 18,496/etc/system
Number of processesmax_nprocs4/etc/system
Number of threads--number-of-batch-server-threads#3 + 34--
Number of file descriptorsrlim_fd_maxnumber-of-batch-server-file-descriptors#3 + 43/etc/system
Management ServerNumber of processesmaxuprc5/etc/system
Number of threads--56--
Number of file descriptorsrlim_fd_max43 + number-of-batch-servers/etc/system
Legend:
- : Not applicable.
#1
Service unit specifies the following:
Batch-server + Performance-tracer
#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.
#3
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.