python - Stopping ipcluster engines (IPython Parallel) -


how stop engines have been started with: ipcluster engines --n=8 --daemonize

the running processes like:

/usr/bin/python /usr/local/bin/ipcluster engines --n=8 --daemonize /usr/bin/python -m ipython.parallel.engine --profile-dir /home/ubuntu/.ipython/profile_default --cluster-id  --log-to-file --log-level=20 

i not want run killall python.

from client, can call shutdown:

import ipython.parallel ipp rc = ipp.client() # shutdown specific engines rc.shutdown([1, 5]) # shutdown engines: rc.shutdown() # shutdown everything, including hub rc.shutdown(hub=true) 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -