Celery 2.0 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When anything drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the currently executing tasks will be lost (unless the tasks have the acks_late option set). Also, since the KILL signal can’t be catched by processes the worker will not be able to reap its children so make sure0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.3 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When tasks are important you should wait for it to finish before doing anything drastic (like sending the KILL signal). 36 Chapter 2. User Guide Celery Documentation, Release 2.3.5 If the worker won’t shutdown the KILL signal to force terminate the worker, but be aware that currently executing tasks will be lost (unless the tasks have the acks_late option set). Also as processes can’t override the KILL signal0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.0 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When anything drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the currently executing tasks will be lost (unless the tasks have the acks_late option set). Also, since the KILL signal can’t be catched by processes the worker will not be able to reap its children so make sure0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 2.2 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When anything drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the override the KILL signal, the worker will not be able to reap its children, so make sure to do so manually. This command usually does the trick: $ ps auxww | grep celeryd | awk ’{print $2}’ | xargs kill -9 20 码力 | 314 页 | 1.26 MB | 1 年前3
Celery 2.2 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When anything drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the the KILL signal, the worker will not be able to reap its children, so make sure to do so manually. This command usually does the trick: $ ps auxww | grep celeryd | awk '{print $2}' | xargs kill -9 Restarting0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery 2.3 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When anything drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the the KILL signal, the worker will not be able to reap its children, so make sure to do so manually. This command usually does the trick: $ ps auxww | grep celeryd | awk '{print $2}' | xargs kill -9 Restarting0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery 2.5 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When tasks are important you should wait for it to finish before doing anything drastic (like sending the KILL signal). 42 Chapter 2. User Guide Celery Documentation, Release 2.5.5 If the worker won’t shutdown the KILL signal to force terminate the worker, but be aware that currently executing tasks will be lost (unless the tasks have the acks_late option set). Also as processes can’t override the KILL signal0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 2.4 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When tasks are important you should wait for it to finish before doing anything drastic (like sending the KILL signal). 44 Chapter 2. User Guide Celery Documentation, Release 2.4.7 If the worker won’t shutdown the KILL signal to force terminate the worker, but be aware that currently executing tasks will be lost (unless the tasks have the acks_late option set). Also as processes can’t override the KILL signal0 码力 | 395 页 | 1.54 MB | 1 年前3
Celery 2.4 Documentationby adding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop When anything drastic (like sending the KILL signal). If the worker won’t shutdown after considerate time, for example because of tasks stuck in an infinite-loop, you can use the KILL signal to force terminate the override the KILL signal, the worker will not be able to reap its children, so make sure to do so manually. This command usually does the trick: $ ps auxww | grep celeryd | awk '{print $2}' | xargs kill -9 Restarting0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 3.0 Documentationadding the -detached option (note: only one dash): $ sudo rabbitmq-server -detached Never use kill (kill(1)) to stop the RabbitMQ server, but rather use the rabbitmqctl command: $ sudo rabbitmqctl stop convenient for making sure all tasks return in a timely manner, but a time limit event will actually kill the process by force so only use them to detect cases where you haven’t used manual timeouts yet. anything drastic, like sending the KILL signal. If the worker won’t shutdown after considerate time, for being stuck in an infinite-loop or similar, you can use the KILL signal to force terminate the worker:0 码力 | 703 页 | 2.60 MB | 1 年前3
共 241 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25













