You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/05/18 21:54:29 UTC

[GitHub] [bookkeeper] rivernate opened a new issue #2335: Configurable keep alive settings for the client

rivernate opened a new issue #2335:
URL: https://github.com/apache/bookkeeper/issues/2335


   **FEATURE REQUEST**
   
   1. The current keep alive setting for the BK client is just on or off using [ClientConfiguration.java#getClientSockKeepalive](https://github.com/apache/bookkeeper/blob/adf086d54f85fa5321574300360f7fd86d47fe8b/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ClientConfiguration.java#L358). The behavior of which is determined by the operating system. There should be a way to configure the keep alive timeout and other settings without having to change the defaults for the entire operating system
   
   2. **"should-have"** 
      We are currently working around this by changing the OS default setting for TCP keep alive
   
   3. For portability this could be solved either at the application level with a heartbeat message of some kind, or by closing the connection if enough timeouts are encountered. 
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] rivernate commented on issue #2335: Configurable keep alive settings for the client

Posted by GitBox <gi...@apache.org>.
rivernate commented on issue #2335:
URL: https://github.com/apache/bookkeeper/issues/2335#issuecomment-646220468


   @eolivelli: I don't right now, we are currently getting by using the OS TCP keep alive settings.  But wanted to surface the problem we where having for visibility.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] eolivelli commented on issue #2335: Configurable keep alive settings for the client

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #2335:
URL: https://github.com/apache/bookkeeper/issues/2335#issuecomment-645842401


   @rivernate 
   do you have time to send a PR ?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] merlimat commented on issue #2335: Configurable keep alive settings for the client

Posted by GitBox <gi...@apache.org>.
merlimat commented on issue #2335:
URL: https://github.com/apache/bookkeeper/issues/2335#issuecomment-646224600


   > using the OS TCP keep alive setting
   
   The OS TCP keep-alive can be problematic, in that I believe the configuration might be tricky to adjust and the minimum time is anyway ~5min, which is a very long time.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] karanmehta93 commented on issue #2335: Configurable keep alive settings for the client

Posted by GitBox <gi...@apache.org>.
karanmehta93 commented on issue #2335:
URL: https://github.com/apache/bookkeeper/issues/2335#issuecomment-706753481


   @jvrao @reddycharan This might be of our interest. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] rivernate commented on issue #2335: Configurable keep alive settings for the client

Posted by GitBox <gi...@apache.org>.
rivernate commented on issue #2335:
URL: https://github.com/apache/bookkeeper/issues/2335#issuecomment-646250034


   Yeah, it's not an ideal solution for sure. We have ours dialed back to 3 probes 11 seconds apart starting 1 second after a connection is idle, so ~45 sec timeout. That has solved the problems we were seeing but it would be nice to not rely on OS configuration for this, especially since it is a system wide configuration.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org