Questions tagged [uwsgi]

Questions regarding uWSGI which is a full stack for building hosting services

The uWSGI project

The uWSGI project aims at developing a full stack for building hosting services.

Application servers (for various programming languages and protocols), proxies, process managers and monitors are all implemented using a common api and a common configuration style.

Thanks to its pluggable architecture it can be extended to support more platforms and languages.

Currently, you can write plugins in C, C++ and Objective-C.

The “WSGI” part in the name is a tribute to the namesake Python standard, as it has been the first developed plugin for the project.

Versatility, performance, low-resource usage and reliability are the strengths of the project (and the only rules followed).

Github Docs

343 questions
0
votes
1 answer

How do I make html files accessible from OpenShift server running python?

I have an OpenShift DIY app running Python. However, I cannot reach static files like html. (or run php) If I try accessing: mydomain.rhcloud.com/hello.html, I get: uWSGI Error Python application not found. Could you please help how i can make html…
user187026
0
votes
1 answer

Why is uWSGI not loading the app specified in the nginx configuration?

I have a server serving multiple Django sites using nginx (1.1.19) and uWSGI (0.9.8). uWSGI is running in VirtualHosting mode and loading apps dynamically as documented here: http://projects.unbit.it/uwsgi/wiki/VirtualHosting There are currently 5…
Adam J. Forster
  • 263
  • 2
  • 7
0
votes
1 answer

uwsgi + apache - Invalid command 'uWSGISocket', perhaps misspelled or defined by a module not included in the server configuration

I have this error: Invalid command 'uWSGISocket', perhaps misspelled or defined by a module not included in the server configuration ServerAdmin your@email.com ServerName voorloopnul.com ServerAlias…
user2307683
  • 117
  • 3
0
votes
1 answer

"uWSGI Error Python application not found" after trying to add a subdomain to Nginx

Obviously I was wrong to assume adding a subdomain would be as straightforward as duplicating my existing domain & adding a DNS A record. So I tried to run cp -r /var/www/mydomain.com/ /var/www/dev.mydomain.com & configure a subdomain from the…
markwalker_
  • 131
  • 1
  • 2
  • 9
0
votes
1 answer

How do I setup nginx and uwsgi when using virtualenv?

I am going to start using virtualenv for the first time. If I am going to have multiple environments with a django project in each, do I have 1 nginx instance running and have each domain point to the socket of a uwsgi instance running with a -H env…
Greg Arcara
  • 173
  • 1
  • 7
0
votes
1 answer

OpenStack over NGINX+uWSGI

Following this not so popular question: OpenStack & NGINX+uWSGI I've start to build my dashboard node using well... NGINX and uWSGI of course, but I'm now facing a path problem. Indeed, uWSGI is correctly launching the processes and NGINX is…
Dr I
  • 943
  • 16
  • 33
0
votes
1 answer

Redmine (RoR rack app) on uWSGI forgets sessions when ran with more than one process

When I log into redmine it forgets that I was logged after first click on any link or immediately after the login redirect. After I refresh the page a few times, I am still logged in in some of this refereshes. NOTE: There is no login error. The…
pinkeen
  • 219
  • 1
  • 9
0
votes
1 answer

Nginx + uWSGI - Separating configuration logic

I'm a beginner at this, but based on the flask, nginx, and uwsgi documentation and tutorials I've found, the standard seems to be to use nginx to pass configuration variables to uwsgi. Why is this preferable to setting the configuration variables…
0
votes
1 answer

gunicorn working vs uwsgi timeout

I've setup my Python / Django app on a vmware machine with CentOS, uwsgi and gunicorn along with all my apps dependencies. After running my app with gunicorn with the following command: gunicorn --workers=4 --bind=0.0.0.0:8081 wsgi:application The…
Maverick
  • 119
  • 1
  • 6
0
votes
2 answers

Serving Django staticfiles via Nginx 404

I host my Djangoproject on Nginx with uwsgi. staticfiles need to be served separately by Nginx server { listen 80; server_name blog.foo.de; location /static { root /home/user/blog/staticfiles; access_log off; …
0
votes
1 answer

Monitor uSWGI via Nagios: invalid socket

I'm trying to monitor uSWGI via Nagios, but according to uWSGI I have specified an invalid socket. The socket path I got from the JSON config file which also says chmod-socket: 666 so I have a hunch that the problem is permission based. The socket…
webjay
  • 127
  • 9
0
votes
1 answer

Is there any monitoring / maintainence overhead of using nginx+uwsgi as compared to apache+mod_wsgi?

We are keen to use nginx + uwsgi for django based application , as we want to try newer solutions, and have heard good about nginx being less resource intensive than apache. After reading some views from one of Django's creator about apache on Quora…
DhruvPathak
  • 141
  • 4
0
votes
1 answer

"User 'wsgi' not found" when starting uWSGI

I'm currently trying to set up a server on Amazon EC2 (Ubuntu 11.10) using web.py, nginx and uWSGI as shown here: http://blog.nobien.net/2011/08/14/nginx-uwsgi-and-web-py-and-my-new-job/ I've installed everything, and saved all the scripts from that…
benwad
  • 255
  • 2
  • 11
0
votes
1 answer

unable to correctly configure nginx with HTTP auth on a sub-directory for uWSGI

I have an nginx.conf that looks something like this: server { server_name subdomain.example.com; listen 443 ssl; ssl_certificate /srv/ssl/something.crt; ssl_certificate_key /srv/ssl/something.key; access_log…
Edwardr
  • 111
  • 4
0
votes
1 answer

Django hosting on linux - what's the most memory-efficient technique?

I've got a VPS (Ubuntu 10.04, 512MB) on which I host 10-15 django sites, most of which have intermittent traffic. I'm wondering what the best hosting technique is in this situation, where the processes are mostly sitting idle. Currently, I've got…
Greg
  • 239
  • 1
  • 11