[ZBX-7777] After 2.2.1 Proxy config from server fails due to message size greater than 64M Created: 2014 Feb 08  Updated: 2017 May 30  Resolved: 2014 Mar 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 2.2.1
Fix Version/s: 2.2.3rc1, 2.3.0

Type: Incident report Priority: Critical
Reporter: Len Rugen Assignee: Martins Valkovskis
Resolution: Fixed Votes: 2
Labels: limits
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 6.4 mysql


Issue Links:
Duplicate

 Description   

On proxy
Message size 70934946 from x.x.x.x exceeds the maximum size 67108864 bytes. Message ignored

On server
Feb 6 11:01:29 xxxxx Zabbix server[24062]: sending configuration data to proxy "....proxy1.....", datalen 70934946
Feb 6 11:01:29 xxxxx Zabbix server[24062]: cannot send configuration: ZBX_TCP_WRITE() failed: [32] Broken pipe

Found that ZBX_MAX_RECV_DATA_SIZE changed

zabbix-2.0.9/include/common.h:#define ZBX_MAX_RECV_DATA_SIZE (128 * ZBX_MEBIBYTE)

zabbix-2.2.1/include/common.h:#define ZBX_MAX_RECV_DATA_SIZE (64 * ZBX_MEBIBYTE)

Circumvented by changing the value and recompiling a local proxy module.



 Comments   
Comment by Oleksii Zagorskyi [ 2014 Feb 10 ]

Similar problem mentioned here ZBX-7128

The limit documented here https://www.zabbix.com/documentation/2.2/manual/appendix/items/activepassive#overview after ZBX-5383

ZBX-6590 asks to document different limits

Comment by Justin McNutt [ 2014 Feb 10 ]

The documentation doesn't explain that, apparently, this limit also applies to the connection between a Zabbix proxy and its parent node. THIS is a serious oversight. We have proxies with large configurations that broke when we upgraded from Zabbix 2.0 to Zabbix 2.2.

When that gets added, there also needs to be something that shows a Zabbix administrator how to tell how big a Zabbix proxy's configuration is. Really, it would probably be a good idea to have the size of the configuration as one of the Items under "Zabbix proxy" for that host. There's an item for "configuration cache" but that appears to not be the same thing.

Comment by Marc [ 2014 Mar 16 ]

Just curious, why is it not intended to be configurable?

Comment by Juris Miščenko (Inactive) [ 2014 Mar 18 ]

Received data size limit increased to become consistent with 2.0.

Comment by Alexander Vladishev [ 2014 Mar 22 ]

(1) Documentation should be updated

jurism
Documentation added. RESOLVED.

martins-v Reviewed. I changed the sentence in https://www.zabbix.com/documentation/2.2/manual/appendix/items/activepassive#overview from a parenthesis text to regular. Have a look.

jurism Everything looks fine. CLOSED.

Comment by Juris Miščenko (Inactive) [ 2014 Mar 24 ]

Fixed in 2.2.3rc1 r43681, 2.3.0 (trunk) r43682

Generated at Fri Mar 29 16:58:38 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.