[Gluster-devel] Glupy connection closing

Justin Clift jclift at redhat.com
Tue Apr 30 07:35:21 UTC 2013

On 30/04/2013, at 3:57 AM, Justin Clift wrote:
> On 30/04/2013, at 3:45 AM, Justin Clift wrote:
>> On 29/04/2013, at 11:00 PM, Jeff Darcy wrote:
>>> On 04/29/2013 12:23 PM, Justin Clift wrote:
>>>> Tried establishing a tcp connection during the translator _init_, then
>>>> re-using it for every fop invocation.  The very first time invovation
>>>> works, which likely executes the init code too.  Everything after that
>>>> though gives "broken pipe" errors:
>>>> ERROR: Error received at msg.sendall() time:  [Errno 32] Broken pipe
>>>> Code here, if it's helpful:
>>>> https://github.com/justinclift/glupy/blob/glusterflow_sharing/glusterflowclient.py
>>>> On IRC, Kaleb mentioned it just might be how this works.  i.e. Python
>>>> closing all connections at the end of each invocation

Heh, it turned out to be pretty trivial to use UDP instead, which seems to
work well enough for now. :)

+ Justin

Open Source and Standards @ Red Hat


More information about the Gluster-devel mailing list