8.2.2 AdminAgentrc (Setup file for automatic start of Administration Agent)
- Organization of this subsection
(1) Format
Specify as a shell script in sh format (in Linux, bash format).
(2) File storage location
/opt/Cosminexus/manager/config/
(3) Functionality
Specify the settings for automatic start of Administration Agent.
Settings of this file are inherited by the logical server starting from Administration Agent.
(4) Settings that can be included
Among the shell scripts in sh format (in Linux, bash format), you can include the following settings:
-
Resource control settings (ulimit)
-
Permissions for creating a file (umask)
-
Environment variable
When other settings are coded, the operations are not guaranteed.
(5) Examples of coding
ulimit -c unlimited
(6) Precautions
-
This file is executed as shell script, so if you change the coded contents, make sure that you sufficiently confirm the operation.
-
When you execute the ulimit -u command, if you specify a value larger than the value of nproc in the limits.conf file, the number of processes and threads used by the logical server might exceed the nproc value. If the nproc value is exceeded, a problem might occur with other processes executed by the user who started the logical server. Therefore, if you use the ulimit -u command to increase the upper limit on the number of processes, increase also the value of nproc in the limits.conf file. For details about the settings of the ulimit command and the limits.conf file, see the applicable sections in the documentation for the OS.