Max open file descriptors tuning
From Grid5000
Max open file descriptors must be increased to 8192 to allow some experiments to perform well. By default, most of the Linux distribution set this limit to 1024. To view current max open file descriptors limit value:
ulimit -n
This limit can be dynamically changed:
ulimit -n 8192
Upon connection thru oarsub or oarsh
To make this change permanent, ulimit -n 8192 must be added to
- debian&co
-
/etc/default/oar-node
- redhat&co
-
/etc/sysconfig/oar-node
Upon connection using ssh (OAR2 -t allow_classis_ssh)
To make this change permanent, /etc/security/limits.conf file must be edited:
* hard nofile 8192 * soft nofile 8192
This file is used by pam and its module pam_limits. To be sure this module is loaded please see:
-
/etc/pam.d/sshdand/etc/pam.d/system-authon Redhat-based system -
/etc/pam.d/sshand/etc/pam.d/loginon Debian-based system
