Configure ulimit for HBase using the command line
Follow these command-line instructions to configure ulimit ousing the command-line interface.
-
To change the maximum number of open files for a user, use the
ulimit -n
command while logged in as that user. -
To set the maximum number of processes a user can start, use the
ulimit -u
command. You can also use theulimit
command to set many other limits. For more information, see the online documentation for your operating system, or the output of theman ulimit
command. - To make the changes persistent, add the command to the user's Bash initialization file (typically ~/.bash_profile or ~/.bashrc ). Alternatively, you can configure the settings in the Pluggable Authentication Module (PAM) configuration files if your operating system uses PAM and includes the pam_limits.so shared library.