
Performance tuning
40
• Use the -b or --amqpheartbeat option at the command line.
Note
Setting the heartbeat value to 0 turns it off.
5.9. Increasing the maximum binary message size
The default maximum size for binary messages sent to or from the catalog service is 10MB. If the modeler fails and
the zencatalogservice.log file contains a java.lang.OutOfMemoryError entry, then the maximum size for binary
messages most likely needs to be increased.
To increase the maximum size for binary messages, follow these steps.
1. Log in to the Resource Manager master host as zenoss.
2. Open the $ZENHOME/etc/zencatalogservice.conf file in a text editor.
3. Remove the comment character from the vmargs option, and then append the new maximum size setting to the line.
The completed entry should match the following example:
vmargs -server -Dcatalogservice.websocket.max_binary_message_size=20971520
The value is specified in bytes; 20971520 bytes equals 20 MB.
4. Save and close the $ZENHOME/etc/zencatalogservice.conf file.
5. Restart the catalog service daemon.
zencatalogservice restart
5.10. Normalizing data collection rates
Data collection rates are inconsistent when the number of simultaneous processes that the zenoss user is allowed to
open is too low. Zenoss recommends that you increase the process limit for the zenoss user, on the Resource Manager
master host and on collector hosts.
To configure a host for 102,400 simultaneous processes, follow these steps:
1. Log in to the host as root or as a user with superuser privilges.
2. Add the process limit value to /etc/security/limits.conf:
/bin/echo "zenoss - nproc 102400" >> /etc/security/limits.conf
3. Switch user to zenoss and restart Resource Manager.
su - zenoss
zenoss restart
5.11. Adjusting RabbitMQ Server throttling
The default setting for memory-based flow-control (throttling) in RabbitMQ Server is 40% of installed RAM. When the
server's memory usage exceeds this threshold, connections are temporarily blocked. Under heavy load, this behavior
is sub-optimal.
For more information about RabbitMQ Server tuning, refer to the following web pages:
Comentarios a estos manuales