UWSGI + Django
project mam v /srv/Site/site , dalej VirtualEnv v /srv/Site/venv.
v site.ini:
[uwsgi]
chdir = /srv/Site/site
module = django_wsgi
env = DJANGO_SETTINGS_MODULE=site.settings
master = true
pidfile = /tmp/site.pid
socket = 127.0.0.1:49152
virtualenv = /srv/Site/venv/
enable-threads = true
uid = 1000
gid = 1000
processes = 5
django_wsgi.py:
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'site.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
LOG:
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:00 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:00 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:00 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:00 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:00 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:00 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:01 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Sat Apr 6 16:12:01 2013 - error parsing request
invalid request block size: 21573 (max 4096)...skip
Poradte PLS
Pre pridávanie komentárov sa musíte prihlásiť.
miro, v praci mame jeden projekt na djangu, chceme zmenit settings.py, no i ked sme ako root, nedari sa nam to ulozit. any idea?
Je to na read only partícii? Práva na zápis sa dajú zmeniť?
uz to poriesili. nieco ho lockovalo akoby. ale vdaka.