[GMG-Devel] debugging a large file upload, EOFError

Rodrigo Rodrigues da Silva rsilva at metamaquina.com.br
Mon Nov 24 08:03:59 EST 2014


On Fri, 21 Nov 2014, Alon Levy wrote:

> Hi,
> 
>  I see there are some tickets about large file suport (647, 834, 419)
> but I'm not sure if I'm hitting a limitation of gmg or of my webserver
> or the fcgi or firefox perhaps, so I thought I'd give details of my
> setup and ask for help:
> 
>  Submitting a 1.4GB video file from firefox 33.1 to mediagoblin running
> in the same network (wifi though), firefox shows a message about timeout
> (sadly I closed the window) and in mediagoblin I get an EOFError
> exception, details below.
> 
>  I'm using nginx with fastcgi. I think I got a 499: (just looking now at
> the logs)
> 
> 10.81.2.1 - - [21/Nov/2014:20:17:27 +0200] "POST /submit/ HTTP/1.1" 499
> 0 "http://mediagoblin.tami.org.il/submit/" "Mozilla/5.0 (X11; Linux
> x86_64; rv:33.0) Gecko/20100101 Firefox/33.0" "10.81.2.231"
> 
>  nginx.conf has 'client_max_body_size 2560m;'

I don't have an nginx mediagoblin setup but I do have an OpenERP
setup. When a request takes too long to return, nginx fails. There is
a config you might want to change:

fail_timeout=300s

-- 
Rodrigo Rodrigues da Silva
Metamáquina


More information about the devel mailing list