Corentin · @sodimel
69 followers · 1454 posts · Server mamot.fr

Nouvel article sur mon blog : Configuration d'un site avec Apache, Django & Gunicorn

l3m.in/article/configuration-d

#django #gunicorn #apache #sysadmin

Last updated 1 year ago

Larry O'Brien · @Lobrien
166 followers · 154 posts · Server hachyderm.io

Ran in a container and it writes to console its listening on 127.0.0.1:8000 so I ran with -p 8000:8000 and it fails. It’s _really _ serving at :8080. I have no idea if that’s gunicorn or docker or what, but boy did *that* take a long time to debug. (My image doesn’t have lsof which might have helped.) But it *said* “Listening at 127.0.0.1:8000”! Not surprised I kept trying that port!

#gunicorn #docker

Last updated 1 year ago

Cyber-Fox 🏴‍☠️🐙 · @postroutine
615 followers · 1766 posts · Server framapiaf.org

So, I got an error 500 on a Django webapp running in production. But no infos from Gunicorn.

I configured Gunicorn to print access logs and error logs into stdout and stderr and tell it to have erro log level:

gunicorn my_app.wsgi:application --bind 0.0.0.0:8000 --workers 3 --log-level error --access-logfile - --error-logfile -

But no errors.

Any idea ?


#python #gunicorn

Last updated 1 year ago

Sergi · @sergi
33 followers · 485 posts · Server floss.social

@hynek I know you have some snippets about using with on the docs, bu do you know of a sample repo with something like "this is a sample Flask app with everything set up to show basic request information on stdout and/or a log file using structlog"? Extra points if it has configuration for .

#structlog #flask #gunicorn #logging #Python

Last updated 1 year ago

SimonMolinsky · @SimonMolinsky
30 followers · 81 posts · Server fosstodon.org

🤔 OR

⚗️ PoV:

Until today, I pushed my statistical models into GCP or AWS platforms. For example, I've used Lambda + SageMaker for model deployment.

Today I've tried something new. I bought droplet with Ubuntu and pushed my model as a & app. It took me around 4 hours to have it working. This is a simple GET endpoint with one param and access token in the header, and it connects to multiple databases (1/2).

#serverless #virtualmachine #datascientist #digitalocean #fastapi #gunicorn #nginx

Last updated 1 year ago

FoxMaSk 🌵 · @foxmask
51 followers · 1266 posts · Server framapiaf.org

Très très con ça !

passage d'une appli de 3.8 à 3.11 ; ne demarre plus à cause de eventlet (et meme avec greenlet) cause ?

stackoverflow.com/questions/58

Pour être sûr j'ai retro pédalé en python 3.9 et ca demarre très bien...

Bon en même temps ...

github.com/benoitc/gunicorn/mi

Donc testage :P

#uwsgi #gunicorn #python #django

Last updated 1 year ago

Flamekebab · @Flamekebab
176 followers · 1450 posts · Server toot.wales

Man, I love (@eff). I was thinking "Hmm, I wonder how difficult it is to get and Nginx to make my little site support ...
Literally just had to run Certbot, select the subdomain, bam, it's working. Amazing. Less time than it took to write this toot.

#letsencrypt #https #flask #gunicorn #certbot

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
57 followers · 423 posts · Server fosstodon.org

@louis @michael 5 workers with to deploy a web app can take more than 500MB RAM. You might think that this is not a lot. But today, you can host many containers on one machine. With the CPU and memory usage of Python, you are limited! I don't think that Node is much better, but I have no experience.
My apps take about 8-20 MB :ferris:
PS: We don't have to discus performance ;)

#gunicorn #python #Axum #rust

Last updated 1 year ago

Lukas Kahwe Smith · @lsmith
440 followers · 121 posts · Server mastodon.green

anyone using and has experience with dynamically adjusting worker count? github.com/benoitc/gunicorn/is

#gunicorn

Last updated 1 year ago

Anton · @antondollmaier
185 followers · 1504 posts · Server mastodon.social

Why is there a setting "forwarded_allow_ips" in / if that setting only reflects the secure headers and not the actual REMOTE_ADDR?
Am I spoiled by ... PHP?

#gunicorn #django

Last updated 2 years ago

Chris · @chrisba
9 followers · 162 posts · Server fosstodon.org

I need to create a docker image for a app. Lot of articles talk about using but I wonder if it is still active and maintained. Last modification of changelog is from 2021...

#django #gunicorn

Last updated 2 years ago

samagra14 · @samagra14
1 followers · 3 posts · Server mas.to

Forgot to bind my to a port and spent hours figuring out why the hell my @awscloud@twitter.com healthchecks kept failing.🤦‍♂️🤦‍♂️ In my defense one of my deployments was successful (though it kept giving 503 but healthchecks passed).

#gunicorn

Last updated 2 years ago

samagra14 · @samagra14
2 followers · 14 posts · Server mas.to

Forgot to bind my to a port and spent hours figuring out why the hell my @awscloud@twitter.com healthchecks kept failing.🤦‍♂️🤦‍♂️ In my defense one of my deployments was successful (though it kept giving 503 but healthchecks passed).

#gunicorn

Last updated 2 years ago

samagra14 · @samagra14
1 followers · 2 posts · Server mas.to

Forgot to bind my to a port and spent hours figuring out why the hell were my
@awscloud
healthchecks kept failing.🤦‍♂️🤦‍♂️ In my defense one of my deployments was successful (though it kept giving 503 but healthchecks passed).

#gunicorn

Last updated 2 years ago

samagra14 · @samagra14
2 followers · 14 posts · Server mas.to

Forgot to bind my to a port and spent hours figuring out why the hell my
@awscloud
healthchecks kept failing.🤦‍♂️🤦‍♂️ In my defense, one of my deployments was successful (though it kept giving 503 healthchecks passed).

#gunicorn

Last updated 2 years ago

Chris Adams · @mrchrisadams
630 followers · 115 posts · Server mastodon.social

Deer nerds who use - is it possible to do this neat little trick to make a supervisor server quit if it hasn’t received any requests for a while?
I think would make any python web app easier to run in a scale-to-zero mode with fly.io, a bit like how lights in a building turn themselves off after they’ve been used, without needing to redesign everything just for serverless frameworks.

fly.io/phoenix-files/shut-down

#python #gunicorn

Last updated 2 years ago

Inushin · @inushin
15 followers · 104 posts · Server noc.social

Como estoy mirando, practicando y haciendo algún que otro curso/tutorial sobre , he adaptado mi anterior repo de + 3.8 + + 20.1.0 para que pueda desplegarse en un cluster de con dos comandos -> github.com/Inushin/kubernetesD

☸ Kubernetes + Python 3.8 + Dash Plotly + GUnicorn 20.1.0 ☸
👉 github.com/Inushin/kubernetesD 👈

#repos #Plotly #python3 #dash #dockercompose #GitHub #k8s #gunicorn #dashplotly #python #docker #kubernetes

Last updated 2 years ago

Inushin · @inushin
14 followers · 102 posts · Server noc.social

Como estoy mirando, practicando y haciendo algún que otro curso/tutorial sobre , he adaptado mi anterior repo de + 3.8 + + 20.1.0 -> github.com/Inushin/dockerDashP para que pueda desplegarse en un cluster de con dos comandos -> github.com/Inushin/kubernetesD

☸ Kubernetes + Python 3.8 + Dash Plotly + GUnicorn 20.1.0 ☸
👉 github.com/Inushin/kubernetesD 👈

#repos #Plotly #python3 #dash #dockercompose #GitHub #k8s #gunicorn #dashplotly #python #docker #kubernetes

Last updated 2 years ago

Brian :fedora: :python: · @bpepple
225 followers · 1472 posts · Server fosstodon.org

Noticed one of my web servers is getting some OOM errors... probably need to add a swap or increase the RAM on it.

#linux #django #gunicorn

Last updated 2 years ago