Re: Glupy connection closing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux