Replies: 1 comment
-
farget allows you to start a temporary memory storage using shm I think This is the only way I know right now to use it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation states that:
"in AWS an EBS root instance volume may sometimes hang for half a minute and during this time Gunicorn workers may completely block in os.fchmod. os.fchmod may introduce extra delays if the disk gets full. Also, Gunicorn may refuse to start if it can’t create the files when the disk is full.
Currently to avoid these problems you can use a tmpfs mount"
Unfortunately, currently, tmpfs is not supported by Fargate, so I wonder what would be a good way to overcome this limitation?
We have only noticed a big number of System Exit(1) events. We haven't profiled it yet, but as a temporary workaround, we have reduced the number of workers to 1 per instance(instead of recommended 2 * CPU + 1). It helped, but it would be cool if we were able to run this using several workers.
GUNICORN_TIMEOUT is 60s
keep-alive is not set
Worker type is sync
Beta Was this translation helpful? Give feedback.
All reactions