[Csync2] "Can't set TCP_NODELAY on TCP socket."

Samba saasira at gmail.com
Mon Sep 5 17:08:37 CEST 2011


Hi,

Incidentaly, I'm also facing this problem suddenly all of a sudden on my dev
system where csycn2 used to work flawlessly. I tried the ttcp.c (tcp test
suite) with -D option (disable batch sending) and it worked fine. So, I'm
surprised why csycn2 is compplaining about not able to set the TCP_NODELAY
option.

Further, after reading the documentation about this particular TCP option
i'm wondering why csycn2 is setting this option in the first place; since
this option is said to increase the network traffic and wasted bandwidth,
and that the speed increase because of setting this option would not be
worth compared to the waste of bandwidth.

So, can we configure csync2 to not to set this option because we are using
csync2 to synchronize files across WAN and hence bandwidth is much costlier
for us and we do not need the utmost speed either. Having said that, it will
be really good to know the solution to overcome this issue "Can't set
TCP_NODELAY on TCP socket".

Thanks and Regards,
Samba

----------------------------------------------------------------------------------------------------------------------------

2011/9/5 Jakob Nyström <jakob at consciousmedia.eu>

>
>>
>> And your csync2 version is?
>>
>
> csync2 1.34
>
>
>>
>> BTW, don't use any -v when running under inetd,
>> it may even be the reason for the breakage.
>>
>
> I'll remember this, but I only used the -v flag to reveal the error message
> about TCP_NODELAY. As of now there is nothing to break under inetd as it
> doesnt start due to this error.
> It synced perfectly using -ii and -xv or -x from the shell.
>
> Thank you
>
>
>>
>>
>> --
>>
>> : Lars Ellenberg
>> : LINBIT | Your Way to High Availability
>> : DRBD/HA support and consulting http://www.linbit.com
>> _______________________________________________
>> Csync2 mailing list
>> Csync2 at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/csync2
>>
>
>
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20110905/f0200276/attachment.htm>


More information about the Csync2 mailing list