0
votes
0answers
237 views

Nginx, Django, Gunicorn work slow in specific situations

My problem is that when I log on to my application via facebook, or send an email it takes a very long time ( about 1-2 minutes ). In other situations site is reacting almost instantly. My application ...
1
vote
0answers
427 views

upstream sent more data than specified in “Content-Length” header while reading upstream

I have django app (based on Mezzanine). My nginx conf looks like: upstream myhost { server 127.0.0.1:8000; } server { listen 80; server_name www.myhost.ru myhost.ru; ...
-1
votes
1answer
331 views

How to build Python-2.7 Debian (Two version Python)

I installed Python-2.7.3 on Debian 6. ./configure --enable-shared --prefix=/usr/local/python2.7 make make install Now already installed, how I can access this: shell: python2.7 Thanks.
0
votes
0answers
53 views

Django cleanup blocking Mysql on Debian

A few minutes ago I had a perfectly working site with Django on Debian and Mysql and then decided to run django-admin.py cleanup. The process started but did not do anything for quite some time so I ...
1
vote
1answer
168 views

Re-uploading file with unicode filename creates identical duplicate

I'm running a Django site on a Debian 6 system, with a gunicorn server and nginx 0.7.67 handling static files. The filesystem locale is set to sv_SE.UTF-8. I got a problem where another user uploaded ...
0
votes
1answer
163 views

Django app displaying the same page no matter what url visited

I have a simple Django application that I am using to test out a new deployment strategy using Nginx, FastCGI (using the latest version of flup at the time of writing) and daemontools. Basically the ...
2
votes
2answers
624 views

my first “production” debian server configuration

I have been using Debian for a year, mostly as the distro for my internal company server. Now I am making a public e-commerce website and I am planning to use a dedicated Debian server at a datacenter ...
0
votes
2answers
46 views

apache, serving outside

Greetings I have a local development machine that connects internet from an ADSL router. I want to let a person on the internet to access the local apache server (under Ubuntu) to see my site (which I ...
4
votes
5answers
9k views

Why do I get error, Invalid command 'PythonHandler'?

I'm trying to deploy a Django application, but I've hit a brick wall. On Debian (latest), I've run these commands so far: apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils ...