This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 84d6edd8eef3b1e8d57eb333e1457d0b36bfa787 Author: Jarek Potiuk <[email protected]> AuthorDate: Fri Jun 26 16:41:21 2020 +0200 Gunicorn works better if temporary folder uses tmpfs (#9534) This is discussed in the documentation of gunicorn. You can find more information here: https://docs.gunicorn.org/en/stable/faq.html#how-do-i-avoid-gunicorn-excessively-blocking-in-os-fchmod Since we are using docker, we always have shared memory available (at least 64MB). Closes #9379 (cherry picked from commit 2cf167b047063271c0df12344abc0e14940457af) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 56fdf0f..822b16d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -349,6 +349,7 @@ RUN chmod a+x /entrypoint /clean-logs USER airflow ENV PATH="/home/airflow/.local/bin:${PATH}" +ENV GUNICORN_CMD_ARGS="--worker-tmp-dir /dev/shm" WORKDIR ${AIRFLOW_HOME}
