If you expect a large number of concurrent requests in the
Analyzer detail view server, increase the maximum number of file handles that can be opened by changing the system configuration. Perform the following steps on the VM or individual machine on which the
Analyzer detail view server is installed.
-
Log in to the VM or individual machine on which the
Analyzer detail view server is installed.
-
Open the
sysctl.conf file using the command
vi /etc/sysctl.conf.
-
Add the following line at the end of file and set its value to a large number. In the example, the value is set to 65535. Refer to your OS documentation for the maximum allowed value.
-
Save the file and exit.
-
Open the
limits.conf file using the command
vi /etc/security/ limits.conf.
-
Add the following lines to the
limits.conf file:
* soft nofile 65535
* hard nofile 65535
-
Save the file and exit.
-
Run the
ulimit –a command to check the max open file ulimit:
[root@localhost ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 63833
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
-
Reboot the VM or individual machine on which the
Analyzer detail view server is installed.