Questions tagged [uwsgi]

6 questions
5
votes
2 answers

Is there a way to format the timestamp from uwsgi

These are the docs for uwsgi logformat. http://uwsgi-docs.readthedocs.io/en/latest/LogFormat.html I have several unacceptable choices for outputting a timestamp in the log messages. Is there a way to format YYYY-MM-DD HH-MM-SS.DDDDDD that is just…
boatcoder
  • 542
2
votes
0 answers

uWSGI: No python application found

When I run my app with the command python sorteerhoed.py && uwsgi --socket 0.0.0.0:5000 --protocol=http -w wsgi:app It runs fine and when I goto the server ip:5000 I get to see my page. But when I try to deamonize the server with systemctl it will…
2
votes
0 answers

django + uwsgi + nginx, python files download instead of parse/execute

I am trying to get a new webserver up and running. php files will parse correctly but python files will not. I changed the file to +x, an this has no effect. I am not getting any errors in my logs for either nginx or uwsgi uwsgi --socket…
Nix
  • 51
2
votes
0 answers

uWSGI https server with systemd socket activation

I run a https web server, using uWSGI (version 2.0.14-debian; on a raspberry Pi with raspian / debian 9 stretch). For https, I have the following lines in configuration file: [uwsgi] ... protocol = https https-socket =…
Al_
  • 61
  • 4
1
vote
0 answers

Django (uwsgi+nginx) app running on port (for ex.) 4444, not on 80

I have a VPS and few domains pointing to it. I'd like to use one domain as a url for my Django app. I run on nginx. I have followed official tutorial on uWSGI successfully. Everything works while I use bind the uWSGI to an other port than 80. The…
0
votes
1 answer

uWSGI - "Out of memory: Kill process"

The following problem is happening with my uWSGI (a Pyramid app) ... Out of memory: Kill process 17715 (uwsgi) score 299 or sacrifice child Killed process 17715, UID 0, (uwsgi) total-vm:2731232kB, anon-rss:790924kB, file -rss:576kB This message is…