We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0daa5 commit d168de3Copy full SHA for d168de3
ray.sub
@@ -66,6 +66,11 @@ DASHBOARD_GRPC_PORT=${DASHBOARD_GRPC_PORT:-52367}
66
DASHBOARD_PORT=${DASHBOARD_PORT:-8265} # Also used by debugger
67
DASHBOARD_AGENT_LISTEN_PORT=${DASHBOARD_AGENT_LISTEN_PORT:-52365}
68
69
+# Setting ulimit is recommended by ray best practices page
70
+# @ https://docs.ray.io/en/latest/cluster/vms/user-guides/large-cluster-best-practices.html
71
+# It's session based and won't affect the system outside the script
72
+ulimit -Sn 65535
73
+
74
# On our clusters, the largest port range on an idle worker appeared between 52369-64607
75
# (not including the other ports set by this script). So this range is chosen to be
76
# somewhere in the middle
0 commit comments