
35
Chapter 5. Performance tuning
The sections in this chapter describe the options for optimizing the performance of Resource Manager.
5.1. Packing the ZODB
The Zope Object Database (ZODB) keeps records of all transactions performed. As these records accumulate, the
database file grows over time.
To keep the database running efficiently, Resource Manager runs a weekly cron job to regularly remove old transac-
tions. You also can initiate this process at any time; as the zenoss user, use the following command:
$ZENHOME/bin/zenossdbpack
Note
Run this command only on the Resource Manager master host (not on remote collectors).
5.2. Editing archived event data storage settings
You can edit the default settings for archived event data to improve Resource Manager performance. Changing these
settings to values that are reasonable for your implementation will prevent the Zenoss DataStore from filling up your
hard drive. An extremely large database also can have a negative impact on performance.
To change the settings for length of time Resource Manager archives event data:
1. Select Advanced, and then select Events from the left panel.
The Event Configuration page appears.
2. Adjust values as desired for these configuration settings:
• Delete Archived Events Older Than (days) - By default, this is set to 90 days. Accepted values are between
1 and 1000 days.
• Event Time Purge Interval (days) - By default, this is set to 7 days. Accepted values are between 1 and 250 days.
3. Click Save to save your changes.
5.3. ZenTune
The ZenTune "tuning advisor" analyzes your system configuration and makes recommendations for better perfor-
mance. The feature is implemented through the ZenPacks.zenoss.AutoTune ZenPack.
5.3.1. Using ZenTune
To access ZenTune, select Advanced > Tuning from the Resource Manager interface.
Comentarios a estos manuales