[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] Glupy connection closing
From: |
Justin Clift |
Subject: |
Re: [Gluster-devel] Glupy connection closing |
Date: |
Tue, 30 Apr 2013 08:35:21 +0100 |
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
twitter.com/realjustinclift