Increase ulimit -n in autoscaler examples. (#1769)

This commit is contained in:
Robert Nishihara
2018-04-02 00:32:56 -07:00
committed by Philipp Moritz
parent 27a0d58e54
commit d3e974a9a4
2 changed files with 6 additions and 6 deletions
@@ -45,7 +45,7 @@ head_node:
BlockDeviceMappings:
- DeviceName: /dev/sda1
Ebs:
VolumeSize: 25
VolumeSize: 50
# Additional options in the boto docs.
@@ -61,7 +61,7 @@ worker_nodes:
BlockDeviceMappings:
- DeviceName: /dev/sda1
Ebs:
VolumeSize: 25
VolumeSize: 50
# Run workers on spot by default. Comment this out to use on-demand.
InstanceMarketOptions:
@@ -106,9 +106,9 @@ worker_setup_commands: []
# Command to start ray on the head node. You don't need to change this.
head_start_ray_commands:
- ray stop
- ray start --head --redis-port=6379 --autoscaling-config=~/ray_bootstrap_config.yaml
- ulimit -n 65536; ray start --head --num-redis-shards=10 --redis-port=6379 --autoscaling-config=~/ray_bootstrap_config.yaml
# Command to start ray on worker nodes. You don't need to change this.
worker_start_ray_commands:
- ray stop
- ray start --redis-address=$RAY_HEAD_IP:6379
- ulimit -n 65536; ray start --redis-address=$RAY_HEAD_IP:6379
+2 -2
View File
@@ -104,9 +104,9 @@ worker_setup_commands: []
# Command to start ray on the head node. You don't need to change this.
head_start_ray_commands:
- ray stop
- ray start --head --redis-port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml
- ulimit -n 65536; ray start --head --redis-port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml
# Command to start ray on worker nodes. You don't need to change this.
worker_start_ray_commands:
- ray stop
- ray start --redis-address=$RAY_HEAD_IP:6379 --object-manager-port=8076
- ulimit -n 65536; ray start --redis-address=$RAY_HEAD_IP:6379 --object-manager-port=8076