pierrejeambrun opened a new issue, #31384:
URL: https://github.com/apache/airflow/issues/31384

   ### Apache Airflow version
   
   main (development)
   
   ### What happened
   
   asset compilation background thread is not killed when running 
`stop_airflow`  or `breeze stop`.
   
   Webpack process takes a lot of memory, each `start-airflow` starts 4-5 of 
them.
   
   After a few breeze start, we end up with 15+ webpack background processes 
that takes more than 20G RAM
   
   ### What you think should happen instead
   
   `run_compile_www_assets` should stop when running `stop_airflow` from tmux.
   
   ### How to reproduce
   
   ```
   breeze start-airflow --backend postgres --python 3.8 --dev-mode
   # Wait for tmux session to start
   breeze_stop
   # Wait for tmux session to start
   breeze start-airflow --backend postgres --python 3.8 --dev-mode
   breeze_stop
   # do a couple more if needed
   ```
   
   Open tmux and monitor your memory, and specifically webpack processes.
   
   ### Operating System
   
   Ubuntu 20.04.6 LTS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to