Comments (2)
Hey! You might be running into timeouts from Nginx or from uWSGI. If the Meinheld image works for you, isn't that better?
In any case, if you are running a TensorFlow model (or any other type of ML with a model that requires a lot of memory) you would probably be better off with a simple Dockerfile
built from scratch instead of this (or any other) base image. And using, for example, only Gunicorn with a single worker process.
That way you can manually and carefully increase the number of containers from outside, probably with Kubernetes, Docker Compose, Docker Swarm, or something similar. That way you don't risk having too many processes that consume all the memory and cause problems for the others.
And if you have a single process per container, then all the extra logic from this one is just unnecessary complexity.
from uwsgi-nginx-docker.
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.
from uwsgi-nginx-docker.
Related Issues (20)
- Python 3.9 images HOT 2
- Python 3.8-alpine 3.12 HOT 2
- uwsgi request is too big: XXX HOT 2
- Question: Adding OpenSSL in python3.8 Dockerfile
- Is there an easy way to turn off logs for healthcheck paths? HOT 1
- Is there a way to add certificate? HOT 2
- Information Disclosure Vulnerability in NGINX 1.21.1 HOT 2
- Why doesn't this Dockerfile simply run `apt install nginx`? HOT 2
- upgrading nginx version
- Deploy job at fork fails at docker image push step HOT 1
- Docker image based out of Debian 12 (bookworm)
- Getting uWSGI error. Exiting due to SIGTERM HOT 1
- Is this image available on ECR?
- Outdated link for "You can see the third-party benchmarks here" ? HOT 2
- How do I use your image to build a Django service HOT 4
- What is the recommended way to modify conf.d? HOT 2
- Environment variable NGINX_MAX_UPLOAD is not working HOT 2
- Example Django app using this repo HOT 1
- how to read nginx error.log? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uwsgi-nginx-docker.