OpenTP1 Version 7 Description

[Contents][Glossary][Index][Back][Next]

7.3.7 Checking an execution status of temporary closing

By obtaining information on the execution status of temporary closing, you can check whether temporary closing executed appropriately while reusing the sockets. Based on this information, you can reduce overhead by specifying optimal values for the max_socket_descriptors and ipc_socketl_highwater operands according to the scale and environment of the system.

To obtain information on the execution status of temporary closing, use the rpcstat command. This command, when executed, obtains information on the execution status of temporary closing after sending or receiving data for predetermined times.

Table 7-4 lists the information obtained by the rpcstat command.

Note
Information on the execution status of temporary closing is not obtained every time data is sent or received. Once every 10 times data is sent or received, this information is obtained.

Table 7-4 Information obtainable using the command to check the execution status of temporary closing

Information item Description
Value specified in the max_socket_descriptions operand Maximum number of file descriptors for sockets
Value a specified in ipc_sockctl_highwater=a,b Percentage of sockets at which temporary closing starts
Value b specified in ipc_sockctl_highwater=a,b Percentage of sockets for which temporary closing is not performed
Number of sockets being used in inter-process communications Total number of sockets being used in the inter-process communications for reception, in the connecting status and in the connected status
Number of sockets requesting temporary closing Number of sockets waiting for the process which established the connection to agree to the temporary closing request, because the number of sockets used by the process concerned has exceeded the percentage of sockets at which temporary closing starts
Number of sockets for which temporary closing has been performed Number of sockets for which temporary closing has completed by agreement with the process that established the connection, because the number of sockets used by the process concerned and the process that established the connection has exceeded the percentage of sockets at which temporary closing starts
Number of sockets for which temporary closing is rejected Number of sockets for which the process that established the connection does not agree to the temporary closing request
Receive port number Receive port number used by the applicable process