0
votes
0answers
37 views

Run Django on Gunicorn with Python 3.3

How would one go around to run Django on Gunicorn using Python 3.3 on an Ubuntu 12.04 LTS Server? As Ubuntu 12.04 LTS is dependend in Django 2.7, Python 3.3 has to be installed side-by-side with ...
0
votes
1answer
123 views

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) ...
0
votes
2answers
162 views

Can't start Gunicorn via Supervisor after server reboot

I have a Django application "djngxgun" that uses Nginx and Gunicorn. I just installed Supervisor so that I can use it to manage my Gunicorn processes. The problem is that Supervisor isn't starting ...
0
votes
0answers
50 views

nginx and gunicorn configuration test using ab-BenchMark

I am using c1.medium (2 cores, 2gb) with nginx web server and gunicorn app server.I am running this with 5(2*cores+1) gunicorn workers. how can i improve my server performance??? Here is my nginx ...
2
votes
1answer
245 views

Deploying CherryPy apps: Standalone, WSGI Server or NGinx?

I intend to use a single VPS to deploy multiple low-traffic CherryPy apps as subdirectories; eg: example.com/app1, example.com/app2, etc. After researching on WSGI deployment, it looks like the ...
1
vote
0answers
159 views

Trying to run gunicorn from supervisor gives error - error: class uri 'simple' invalid or not found

I am already running successfully 2 django projects (in same virtualenv with python 2.7) with Django + gunicorn + virtualenv + Supervisord environment. But now i am trying to run another project in ...
0
votes
2answers
87 views

How to choose a web server for a Python application? [closed]

Information and prerequisites: I have a project which is, at its core, a basic CRUD application. It doesn't have long running background processes which it forks at the beginning and talks to later ...
0
votes
2answers
815 views

Nginx + Gunicorn + Django - nginx not allowing static files

Updated Code - this is still not working though. Settings.py STATIC_ROOT = '/home/ubuntu/virtualenv/mysite/homelaunch/static/' STATIC_URL = '/static/' nginx conf :: /etc/nginx/sites-enabled/mysite ...
0
votes
0answers
67 views

How do make gunicorn handle server requests which take a long time?

I am running a python application on an nginx-gunicorn server with 4 worker processes. When the user logs into the app for the first time, they follow an oauth link into another website so that the ...
0
votes
1answer
681 views

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 ...
0
votes
1answer
499 views

nginx, gunicorn and django weird 504 gateway timeout

I have an nginx / gunicorn / django setup as follows: Nginx server { listen 80; server_name myserver.com; root /www/python/apps/pyapp/; access_log ...
6
votes
1answer
4k views

Django + gunicorn + virtualenv + Supervisord issue

I have a strange issue with my virtualenv + gunicorn setup, only when gunicorn is launched via supervisord. I do realize that it may very well be an issue with my supervisord and I would appreciate ...