3
votes

I can start an "airflow worker" (with a celery executor) but I don't know how to kill it properly. I have the impression that many subprocesses are created and I don't know how to shut them gracefully.

Thanks in advance.

2
Isn't this a superuser question? - Dominique
I don't think so : Stack Overflow is for programmers - poloC

2 Answers

0
votes

I normally set up the Airflow processes as systemd processes and just run systemctl stop airflow-* however I think you can simply kill the main airflow-worker process with a standard linux kill command? Probably what the systemd daemon does anyway.

0
votes

To stop a worker running on a machine you can use:

airflow celery stop