Setting Kernel parameters

Setting the ulimit and kernel parameters in Network Performance Insight® nodes.

About this task

Run the following steps to set the ulimit and kernel parameters.
Note: You can see the error messages in Ambari start operation stderr and Network Performance Insight log file if the ulimit or the kernel settings are not set correctly during Storage or Flow Collector services start-ups.

Procedure

  1. Log in to Network Performance Insight system as root user to change the Linux® kernel parameters.
  2. Edit the /etc/sysctl.conf file to add or modify the kernel parameters.
    net.core.rmem_default = 33554432  
    net.core.rmem_max = 33554432  
    net.core.netdev_max_backlog = 10000
    
    Change the /etc/sysctl.conf to ensure that the values are set on a system start.
    1. Run sysctl -p as root user to refresh with the new configuration in the current environment.
  3. From the Network Performance Insight node, edit the /etc/security/limits.conf file to add or modify the number of open files to at least 65536 as follows:
    
    * - nofile 65536
    * - nproc 65536 
    
  4. Log out and log in the session again as root user for the changes to take effect.
  5. Repeat the steps 1 - 4 on all the servers where Network Performance Insight services are installed.