Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7128

When child node sending a configuration to master, error appears: "Message size exceeds the maximum size bytes."

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • None
    • Server (S)
    • CentOS 6.4 - 64 bit
      Database Mysql
      1 MASTER NODE (NODE 1)
      1 CHILD NODE (NODE 2)
      Zabbix - 2.0.6

      I have converted a database (on both master and child nodes) for distributed monitoring, and set up the relationship (master - child).
      But on the master, I do not see any configuration for child node.

      In the logs on the child appears the following message:
      16569:20131009:132601.550 NODE 2: sending configuration changes to master node 1 for node 2 datalen 213761451
      16569:20131009:132601.649 NODE 2: Error while sending data to Node [1] error: ZBX_TCP_WRITE() failed: [32] Broken pipe

      On the the master::
      9648:20131009:132601.595 Message size 213761451 exceeds the maximum size 134217728 bytes. Message ignored.
      Correspondingly further errors occur, such as:
      query failed: [1452] Cannot add or update a child row: a foreign key constraint fails.....
      etc.

      It seems to me that this is due to the fact that the child node has a large configuration:
      Number of hosts (monitored/not monitored/templates) 1521 1316 / 51 / 154
      Number of items (monitored/disabled/not supported) 139829 105377 / 33272 / 1180
      Number of triggers (enabled/disabled)[problem/unknown/ok] 62535 61227 / 1308 [1571 / 0 / 59656]

      And when sending, all this configuration does not fit into 128 MB (function zbx_tcp_recv_ext).

      Accordingly, the data can be split into portions, if their total size exceeds ZBX_MAX_RECV_DATA_SIZE, or put this option in the server configuration.

            Unassigned Unassigned
            rogov_sa Stepan Rogov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: