Increasing the maximum number of open files (Linux OS)

Ops Center Quick Start Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99OPS006-07
ft:lastEdition
2026-03-16

Before installing the Analyzer detail view server or Analyzer probe server on a Linux host, the minimum value of the system-wide and user-level limits on the number of open files must be set to 65535 or greater.

The recommended values are:

System-wide: 327675

User-level: 262140
  1. Log on as follows:
    1. If you are installing the Analyzer detail view server or Analyzer probe server for the first time, log on to the Linux machine as root.
    2. If you are performing this task post-installation or while upgrading, log on to the Analyzer detail view server or Analyzer probe server through an SSH client (like putty) as a root user.
  2. Run the following command to check the system-wide kernel limit:
    Note: The recommended kernel limit is 327675.
    sysctl -a | grep fs.file-max
    If the value is 65535 or greater, skip to step 3. Otherwise, do the following:
    1. Navigate to the /etc directory and create the sysctl.d directory if it does not exist:
      mkdir sysctl.d
    2. Navigate to the /etc/sysctl.d directory and create the sysctl.conf file if it does not exist.
    3. Ensure that the fs.file-max property is present in the sysctl.conf file and the value is set to 65535 or greater.
    4. Run the following command to apply the revised configuration:
      sysctl -p /etc/sysctl.d/sysctl.conf
  3. Run the following command to check the user-level limit:
    Note: The recommended user-level limit is 262140.
    ulimit -a | grep -i open
    If the value is less than 65535, then do the following:
    1. Navigate to the /etc/security/limits.d directory and create the 20-nproc.conf file, if it does not exist.
    2. Ensure that the following two properties are present in the 20-nproc.conf file and set their values as follows:
      * soft nofile 65535
      * hard nofile 65535 
  4. If you changed the system-wide kernel or user-level limits on the Analyzer detail view machine, you must restart the machine.