You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/18 14:06:56 UTC

[GitHub] [airflow] potiuk opened a new issue #9379: Change gunicorn in prod image to use

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:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #9379: Change gunicorn in prod image to use tmpfs

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #9379:
URL: https://github.com/apache/airflow/issues/9379


   


----------------------------------------------------------------
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:
users@infra.apache.org