I think keepalive option should be set in Zookeeper, not in Mesos. See this
related issue in Zookeeper.
https://issues.apache.org/jira/browse/ZOOKEEPER-2246?focusedCommentId=14724085&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14724085

On Sun, Nov 8, 2015 at 4:47 AM, Jeremy Olexa <jol...@spscommerce.com> wrote:

> Hello all,
>
>
> We have been fighting some network/session disconnection issues between
> datacenters and I'm curious if there is anyway to enable tcp keepalive on
> the zookeeper/mesos sockets? If there was a way, then the sysctl tcp
> kernel settings would be used. I believe keepalive has to be enabled by the
> software which is opening the connection. (That is my understanding anyway)
>
>
> Here is what I see via netstat --timers -tn:
>
> tcp        0      0 172.18.1.1:55842      10.10.1.1:2181      ESTABLISHED
> off (0.00/0/0)
>
> tcp        0      0 172.18.1.1:49702      10.10.1.1:5050      ESTABLISHED
> off (0.00/0/0)
>
>
>
> Where 172 is the mesos-slave network and 10 is the mesos-master network.
> The "off" keyword means that keepalive's are not being sent.
>
>
> I've trolled through JIRA, git, etc and cannot easily determine if this is
> expected behavior or should be an enhancement request. Any ideas?
>
>
> Thanks much!
>
> -Jeremy
>
>


-- 
Best Regards,
Haosdent Huang

Reply via email to