Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating timer of purging obsolete sockets if keepalive_timeout is nil #2943

Merged
merged 1 commit into from
Apr 13, 2020

Commits on Apr 10, 2020

  1. creating timer of purging obsolete sockets if keepalive_timeout is nil

    If connection sockets raise some errors, the cached socket is revoked.
    Revoked cached socket(`@inactive_sockets`) must be deleted by
    purge_obsolete_socks method so that memory usage doesn't increase.
    
    https://github.com/fluent/fluentd/blob/0e901e7974232dd05f098ad74ea5be956aaba0e3/lib/fluent/plugin/out_forward/connection_manager.rb#L99
    https://github.com/fluent/fluentd/blob/0e901e7974232dd05f098ad74ea5be956aaba0e3/lib/fluent/plugin/out_forward/socket_cache.rb#L63
    
    Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
    ganmacs committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    e95740b View commit details
    Browse the repository at this point in the history