[Vortex] socket descriptor on vortex_close_connection not closing

Francis Brosnan Blazquez francis at aspl.es
Wed Nov 25 18:37:37 CET 2009


> Hello , 

Hi,

> I am using the latest vortex library available on sourceforge. 
> The scenario  is such that my initiator is connected to listener and
> in the event of listener going down  the initiator keeps on trying to
> connect to the listener until the  listener comes up. 

Ok.

> This reconnection attempt is tried periodically after every 30
> seconds. After some time, say 4-5 hours(the listener is still down)  i
> get the system error(set in errno in linux) as socket call failed; too
> many open files. 

Ok.

> This is happening even after calling vortex_close_connection before
> every reconnection attempt  to listener. Seems socket descriptor used
> for connection attempt is not closing. 
> Please let me know if anybody has faced similar problem and the
> possible solutions too :-) 

Please, checkout latest svn that adds some missing socket close calls in
the case the TCP socket connect fails. It should fix the issue you are
reporintg....

https://dolphin.aspl.es/svn/publico/af-arch/trunk/libvortex-1.1/

Thanks for reporting. Cheers!

> Thanks,
> Dhiraj Kumar Prasad
> Tata Consultancy Services
> Mailto: dhiraj.prasad at tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.        IT Services
>                        Business Solutions
>                        Outsourcing
> ____________________________________________ 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 

-- 
Francis Brosnan Blazquez <francis at aspl.es>
ASPL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vortex-socket-close.patch
Type: text/x-patch
Size: 1907 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/vortex/attachments/20091125/59b3cd89/attachment.bin 


More information about the Vortex mailing list