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
- Log in to Network Performance Insight system
as
root user to change the Linux® kernel parameters.
- 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.
- Run
sysctl -p as root user
to refresh with the new configuration in the current environment.
-
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
- Log out and log in the session again as
root user
for the changes to take effect.
-
Repeat the steps 1 - 4 on all the servers where Network Performance Insight services are installed.