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

346 questions
0
votes
1 answer

uwsgi + Django with nginx: High Availability Setup

Moved from : https://stackoverflow.com/questions/25304968/uwsgi-django-with-nginx-high-availability-setup to here. I was setting up High Availability on RHEL 6.5 . My Stack is 1. uwsgi 2. nginx 3. django 4. Pacemaker Now I understand that…
Joddy
  • 111
  • 1
  • 6
0
votes
1 answer

Socket error with uWSGI

I am trying to run uwsgi.ini file with uwsgi --ini uwsgi.ini and it gives me an error The -s/--socket option is missing and stdin is not a…
rodling
  • 121
  • 1
  • 6
0
votes
1 answer

centos + apache + uWSGI any option?

I am trying to setup 'apache + uWSGI' on centos. But I am getting the following error: Invalid command 'uWSGISocket', perhaps misspelled.. For that I found a solution that I need a package called: libapache2-mod-uwsgi But on centos that package…
openstk
  • 1
  • 1
0
votes
0 answers

Configure Supervisor to manage init.d services

I installed uwsgi and created a bash script, which allows me to start/stop uwsgi in the following manner: service uwsgi [start|stop]. This bash script is located in /etc/init.d/uwsgi. Now, I want to (politely) ask Supervisor to use that script to…
Eduard Luca
  • 371
  • 2
  • 9
  • 19
0
votes
1 answer

Using uwsgi and gunicorn at the same time or fully switch to gunicorn?

We are running our python app behind nginx. First we used uWSGI, because it is fast, reliable and easy to deploy. Next, as the number of simultaneous clients (using server-sent events/eventstream) increased, we have partially switched the app to…
saabeilin
  • 419
  • 1
  • 4
  • 12
0
votes
1 answer

CPU 100% on uWSGI master getting killed, server not taking requests

I am facing this problem where my uWSGI error logs show "UAAAAAAH my master disconnected: i will kill myself !!!". This has happened twice in 2 weeks and surfaces only when we deploy code, which does a uwsgi --reload /tmp/X.pid. uWSGI is controlled…
APZ
  • 954
  • 2
  • 12
  • 25
0
votes
2 answers

Django (uWSGI) and php (fastcgi) NGINX

I am new to configuring servers and i'm having issues getting php to work with my django app using UWSGI on nginx. Django works great using uwsgi and php works great when I remove the django site conf, but when i use django and php together php…
DylanH
  • 135
  • 1
  • 5
0
votes
1 answer

how is it possible to configure uwsgi in emperor-mode with cgi-plugin + heartbeat in combination with nginx

After having the migration from fcgiwrap to uWSGI (which also brings plenty of other benefits that I'm planning to use) on my ToDo-list for some time I finally managed to setup a debian-wheezy test-system featuring uWSGI v2.0 and nginx v1.4.4. In…
antiplex
  • 121
  • 1
  • 5
0
votes
2 answers

Setting UWSGI to run a module in a venv

I am having a hard time trying to run a module from UWSGI. This is part of my deployment code: # ENVIRONMENT /usr/bin/pip install virtualenv mkdir -p /srv/www/test /usr/local/bin/virtualenv /srv/www/test/venv source…
Jimmy
  • 269
  • 4
  • 7
  • 23
0
votes
1 answer

I can compile GeoIP support into uWSGI or Nginx. What's the difference?

I'm running uWSGI with PHP and Python support through Nginx. All of this is compiled from source. I want GeoIP support. Both Nginx and uWSGI can be compiled with their own GeoIP plugins/modules. Are there any practical differences between the two I…
0
votes
2 answers

uwsgi, multiple environment variables

I am using uWSGI to run a Django application on nginx. I have configured the server and all seems to be running well. What I would really like to be able to do is store the django secret key within the systems environment variables so it is not part…
user204088
  • 147
  • 4
0
votes
2 answers

uWSGI snmp stats

I'm interested in collecting stats for uWSGI via snmp for graphing in Cacti. Per these docs I'm starting uwsgi with: uwsgi -s :3031 --udp 192.168.10.1:2222 --snmp --snmp-community foo --emperor /usr/local/uwsgi/vassals --emperor-tyrant --pidfile…
Banjer
  • 3,974
  • 12
  • 41
  • 47
0
votes
1 answer

Unloading uwsgi dynamic app

I have a uWSGI setup where I run dynamic mode and add applications to it. All applications are working off the same codebase, but each have their own settings file. Its working beautifully. Say for instance, i want to change a setting for one app…
Gevious
  • 465
  • 4
  • 9
0
votes
2 answers

supervisord launches with wrong setuid

I am trying to test a pilot system with nginx connecting to uwsgi served application controlled by supervisord running on ubuntu-server. Application is written in python with Flask in virtualenv, although I'm not sure if that is relevant. To test…
friendzis
  • 101
  • 2
0
votes
1 answer

uwsgi - harakiri workers with broken pipes

Is it possible to configure uwsgi to kill workers with broken pipes? The reason: - we are using server-sent events (events are form a pubsub service); - when client disconnects, there is no way to terminate the subscription, and the server…
saabeilin
  • 419
  • 1
  • 4
  • 12