Setting Resource Limits on Ubuntu
About this task
Rather than relying on Warden to set resource limits automatically using ulimit
,
you can use the following procedure to set the limits manually.
Procedure
-
Edit
/etc/security/limits.conf
and add a line to set the resource limits. For example, set the resource limits to 64K.<MAPR_USER> - nofile 64000 <MAPR_USER> - nproc 64000
-
Edit
/etc/pam.d/su
and uncomment the following line.session required pam_limits.so -
Use
ulimit
to verify settings. - Reboot the system.
-
Run the following command as the MapR user (not root) at a command line:
ulimit -n