[Bugs] [Bug 1456405] Brick Multiplexing:dmesg shows request_sock_TCP: Possible SYN flooding on port 49152 and memory related backtraces

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 8 15:32:39 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1456405



--- Comment #8 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17411 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit 0a20e56d07de3e467e09da885a6b71cdc165de17
Author: Mohammed Rafi KC <rkavunga at redhat.com>
Date:   Mon May 29 16:00:24 2017 +0530

    protocol/server: make listen backlog value as configurable

    problem:

    When we call listen from protocol/server, we are giving a
    hard coded valie of 10 if it is not manually given.
    With multiplexing, especially when glusterd restarts all
    clients may try to connect to the server at a time.
    Which will result in overflowing the queue, and kernel
    will complain about the errors.

    Solution:

    This patch will introduce a volume set command to make backlog
    value as a configurable. This patch also changes the default
    values for backlog from 10 to 128. This changes is only applicable
    for sockets listening from protocol.

    Example:

    gluster volume set <volname> transport.listen-backlog 1024

    Note: 1 Brick has to be restarted to get this value in effect
          2 This changes won't be reflected in glusterd, or other
            xlators which calls listen. If you need, you have to
            add this option to the volfile.

    Change-Id: I0c5a2bbf28b5db612f9979e7560e05dd82b41477
    BUG: 1456405
    Signed-off-by: Mohammed Rafi KC <rkavunga at redhat.com>
    Reviewed-on: https://review.gluster.org/17411
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-by: Raghavendra Talur <rtalur at redhat.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list