Ok, thanks roberto it seems to work fine now on big upload files.
By the way i've observed that I still can fall into 504 Gateway timeout, on
some pages that request big processor calculation (PIL is resizing photos).
Strangely the job is done, the photos are resized, as I can see if I reload
the pages.

SIGPIPE: writing to a closed pipe/socket/fd (probably the client
disconnected) on request /fr/taat/ !!!
write(): Broken pipe [plugins/python/wsgi_subhandler.c line 173]

Any ide

2010/12/8 Roberto De Ioris <[email protected]>

>
> > I'm running Cherokee Web Server 1.0.9
> >
> > I've give it a try with uWSGI 0.9.7-dev
> >
> > Got a 504 Gateway Timeout...
> >
> >
> > Here is my actual ini file :
> > [uwsgi]
> > socket=127.0.0.1:32944
> > home=/home/administrator/.virtualenvs/django.test.0.0.4
> > pythonpath=/home/administrator/sandbox/demo/projects/
> > pythonpath=/home/administrator/sandbox/demo/projects/demo/
> > env = DJANGO_SETTINGS_MODULE=demo.staging_settings
> > module = django.core.handlers.wsgi:WSGIHandler()
> > processes=6
> > master=true
> > harakiri=false
> > disable-logging=true
> > limit-as=128
> > listen=128
> > socket-timeout=240
> > memory-report=true
> > logto=/home/administrator/sandbox/demo/log/uwsgi.log
>
> Sorry i have forgot to tell you to add post-buffering=4096 and remove
> harakiri line.
>
> In this way the new 0.9.7 post buffering system will signal if cherokee
> will disconnect before completing the upload.
>
> Roberto
>
> >
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Franck BRET
====================
Consultant NTIC
Spécialiste SI & E-business
====================
[email protected]
Tél. +33(0)4.30.46.68.34
Gsm. +33(0)6.03.90.65.98
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to