[zmq] ZMQ driver eats too many TCP sockets

Bug #1555007 reported by Alexey Yelistratov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Undecided
Oleksii Zamiatin

Bug Description

Oslo.messaging 0mq driver eats too many sockets on controller nodes and is not yet ready to use on large clusters. Current scale limit is 400 nodes. Each additional compute node needs ~100 new connections to the controllers.

MOS 8.0 + openstack Liberty + python-oslo.messaging 2.5.0-1~u14.04+mos16

Tags: zmq
Revision history for this message
Alexey Yelistratov (ayelistratov-deactivatedaccount) wrote :
Changed in oslo.messaging:
assignee: nobody → Oleksii Zamiatin (ozamiatin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/287094
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=cc1cb3032177ec80d84cff409c71ce3204122f53
Submitter: Jenkins
Branch: master

commit cc1cb3032177ec80d84cff409c71ce3204122f53
Author: Oleksii Zamiatin <email address hidden>
Date: Wed Mar 2 12:41:52 2016 +0200

    [zmq] Reduce number of connections

    In this change 'use_router_proxy' option was added
    to switch between direct connections and proxy.

    Proxy was reimplemented and splitted onto two
    types of proxies:

        * PUBLISHER proxy for fanout pattern
        * ROUTER proxy for direct messaging

    Each type of proxy is configured over command line
    argument --type.

    Deployment guide was updated accordingly to the change.

    Change-Id: If36e9c26e2a8ebe622cfa7e9f2a07b1a69aabe34
    Closes-Bug: #1555007

Changed in oslo.messaging:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/308653
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=b5955b6ca938bfccfeefb37062bb5ff81c8895a4
Submitter: Jenkins
Branch: master

commit b5955b6ca938bfccfeefb37062bb5ff81c8895a4
Author: ozamiatin <email address hidden>
Date: Thu Apr 21 01:06:39 2016 +0300

    [zmq] Redesign router proxy

    In this change router was redesigned in a way most
    appropriate for routing concept of zmq.ROUTER socket.

    DEALER(cli)-ROUTER(proxy)-DEALER(srv) instead of
    DEALER-ROUTER-DEALER-ROUTER (3 layers instead of 4)

    The main reason is to use zmq.DEALER identity in message
    routing. For this reason DealerConsumer was introduced
    server-side. RouterConsumer is left for peer-to-peer
    DEALER-ROUTER deployment option.

    Also handled assertions in receive-methods in order
    to not stop server when received message with wrong format.

    Change-Id: If25edf500fa8d220d4233bb13d67121824e841c6
    Closes-Bug: #1558601
    Related-Bug: #1555007

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/oslo.messaging 5.0.0

This issue was fixed in the openstack/oslo.messaging 5.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.