potiuk opened a new issue #9379:
URL: https://github.com/apache/airflow/issues/9379


   **Description**
   
   Gunicorn uses a lot of os.fchmod in /tmp directory and it can create some 
excessive blocking in os.fchmod 
https://docs.gunicorn.org/en/stable/faq.html#how-do-i-avoid-gunicorn-excessively-blocking-in-os-fchmod
   
   We want to switch to use /dev/shm in prod image (shared memory) to make 
blocking go away and make independent on the docker filesystem used (osxfs has 
problems with os.fchmod and use permissions as well).
   
   **Use case / motivation**
   
   Avoiding contention might be useful = in production image.
   
   This can be done with:
   
   ```
   GUNICORN_CMD_ARGS="--worker-tmp-dir /dev/shm"
   ```
   
   **Related Issues**
   
   


----------------------------------------------------------------
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.

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


Reply via email to