[ckan-dev] Errno 32 - Broken Pipe in reload mode

Adrià Mercader adria.mercader at okfn.org
Wed Sep 30 12:06:07 UTC 2015


Hi Alan,

Tl;DR: No :)

A "broken pipe" happens when the connection between the server and the
client (the browser) is interrupted. This can happen for instance if
you  click two links in CKAN in quick succession. The first request
may not be finished on the server yet but the browser expects about
the second one, so the Paster server will complain.
It shouldn't be a problem (unless connections are timing out because
the server is taking too long or something similar)

Adrià





On 30 September 2015 at 09:47, Alan Tygel <alantygel at gmail.com> wrote:
> Hi,
>
> I'm running CKAN 2.5 in a Ubuntu 14.04 Server.
>
> For debbuging purposes, I'm running the reload mode, i.e.:
>
> paster serve --reload /etc/ckan/default/production.ini
>
> The pages are loading fine, no error is thrown. However, on the server
> output, the following error shows up:
>
> ----------------------------------------
>  /api/i18n/pt_BR render time 0.002 seconds
>  /dataset/edit/agricultura-familiar-e-nao-familiar-no-mundo render time
> 0.137 seconds
> ----------------------------------------
> Exception happened during processing of request from ('67.23.227.184',
> 42088)
> Traceback (most recent call last):
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/httpserver.py",
> line 1068, in process_request_in_thread
>     self.finish_request(request, client_address)
>   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python2.7/SocketServer.py", line 651, in __init__
>     self.finish()
>   File "/usr/lib/python2.7/SocketServer.py", line 710, in finish
>     self.wfile.close()
>   File "/usr/lib/python2.7/socket.py", line 279, in close
>     self.flush()
>   File "/usr/lib/python2.7/socket.py", line 303, in flush
>     self._sock.sendall(view[write_offset:write_offset+buffer_size])
> error: [Errno 32] Broken pipe
> ----------------------------------------
> ----------------------------------------
> Exception happened during processing of request from ('67.23.227.184',
> 42094)
> Traceback (most recent call last):
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/httpserver.py",
> line 1068, in process_request_in_thread
>     self.finish_request(request, client_address)
>   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python2.7/SocketServer.py", line 651, in __init__
>     self.finish()
>   File "/usr/lib/python2.7/SocketServer.py", line 710, in finish
>     self.wfile.close()
>   File "/usr/lib/python2.7/socket.py", line 279, in close
>     self.flush()
>   File "/usr/lib/python2.7/socket.py", line 303, in flush
>     self._sock.sendall(view[write_offset:write_offset+buffer_size])
> error: [Errno 32] Broken pipe
> ----------------------------------------
>  /api/i18n/pt_BR render time 0.003 seconds
>
>
> Shall I worry about it?
>
> all the best
> alan
>
>
> --
> Programa de Pós-Graduação em Informática - PPGI/UFRJ
> EITA - Educação, Informação e Tecnologias para Autogestão
> Núcleo de Solidariedade Técnica - Soltec/UFRJ
> http://www.cirandas.net/alantygel
> http://www.contraosagrotoxicos.org
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list