dask / dask-ec2

Start a cluster in EC2 for dask.distributed
106 stars 37 forks source link

Turn off the dask-scheduler #85

Closed mrocklin closed 7 years ago

mrocklin commented 7 years ago

Sometimes I want to kill the dask-scheduler process on the head node so that I can run my own (slightly modified). When I kill the process it comes back fairly quickly. Is there a way to kill this resurrection behavior temporarily?

quasiben commented 7 years ago

something like:

supervisorctl -c /etc/supervisor/supervisord.conf stop dask-scheduler

should work if executed on the head node

mrocklin commented 7 years ago

Worked like a charm. Thanks @quasiben

mrocklin commented 7 years ago

Note to future self, the same works for the jupyter notebook with the following command:

supervisorctl -c /etc/supervisor/supervisord.conf stop jupyter-notebook