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

   ### Apache Airflow version
   
   main (development)
   
   ### What happened
   
   Empty log folders use up all Inodes and they are not removed by 
[clean-logs.sh](https://github.com/apache/airflow/blob/main/scripts/docker/clean-logs.sh)
   
   This is the diff after cleaning empty folders. (50GB disk used)
   
   ```
   airflow@airflow-worker-2:/opt/airflow/logs$ df -i
   Filesystem       Inodes   IUsed    IFree IUse% Mounted on
   /dev/nvme2n1    3276800 1311542  1965258   41% /opt/airflow/logs
   airflow@airflow-worker-2:/opt/airflow/logs$ find . -type d -empty -delete
   airflow@airflow-worker-2:/opt/airflow/logs$ df -i
   Filesystem       Inodes  IUsed    IFree IUse% Mounted on
   /dev/nvme2n1    3276800 158708  3118092    5% /opt/airflow/logs
   ```
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   Have lots of frequent DAGs.
   
   ### Operating System
   
   Debian 11
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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