6.2.6 Preventing duplicated reception of job result files
When a standard job or action job being executed on an agent host has ended, the agent host transfers job result files (standard output and standard error output files) to the manager host. Normally, when the agent host has transferred the files, it waits 10 minutes for a response from the manager host. However, if the files are large, file analysis on the manager host takes time, and the wait for a response from the manager host times out. If a timeout occurs, the agent host tries to resend the files until they are transferred successfully. Repeated resend attempts, however, will cause the manager host to repeatedly perform file analysis, a burden that causes CPU usage to soar. At this point, the manager might no longer be able to accept any other requests.
You can use an environment setting parameter to prevent the manager host from receiving job result files resent by agent hosts, thereby reducing the load on the manager. Although the setting for enabling the resending of job result files can also be specified on the agent host side, using that setting is not suitable for a large-scale configuration that includes many agent hosts. This is because the setting must be specified on each agent host. For details about how to specify the setting on the agent host side, see also 6.2.5 Changing the interval and number of resend attempts for job result files.
The environment setting parameter described in this subsection allows you to stop all agent hosts from resending job result files by simply changing the definition on the manager host.
The following describes how to prevent the duplicated reception of job result files.
Note that the procedure described below is not necessary if you use the queueless job execution facility, because the facility does not resend job result files.
- Organization of this subsection
(1) Definition procedure
-
In Windows Control Panel, open the Services administrative tool, and stop the following service:
-
JP1/AJS3 service
-
-
Execute the following command to set the environment setting parameter described in (2) below:
jajs_config -k definition-key "parameter-name"=value
-
Restart JP1/AJS3.
The new settings are applied.
(2) Environment setting parameter
Definition key |
Environment setting parameter |
Explanation |
---|---|---|
|
"ReceiveFileOption"= |
Specifies whether to prevent duplicated reception of job result files. |
- #:
-
The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.
For details about the definition of this environment setting parameter, see 2.3.2(16) ReceiveFileOption in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.