How to set a global nofile limit to avoid “many open files” error?
Fixed this issue by setting the limits for all users in the file : $ cat /etc/security/limits.d/custom.conf * hard nofile 550000 * soft nofile 550000 REBOOT THE SERVER after setting the limits. VERY IMPORTANT: The /etc/security/limits.d/ folder contains user specific limits. In my case hadoop 2 (cloudera) related limits. These user specific limits would override … Read more