
Performance Tuning
49
6.5. Increasing Maximum File Descriptors
A Resource Manager server can require in excess of 10000 open files. For optimal performance, Zenoss rec-
ommends that you increase the maximum number of file descriptors in your Linux system configuration:
1. Edit the /etc/sysctl.conf file:
vi /etc/sysctl.conf
2. Add this line to the file:
fs.file-max = Number
where Number represents a number in excess of the anticipated number of open files needed by Resource
Manager (for example, 10240).
3. Save and close the configuration file.
4. Verify the new setting with this command:
sysctl fs.file-max
Note
Alternatively, you can edit the /etc/security/limits.conf file and add the line:
zenoss - nofile Number
6.6. Increasing RRD Performance
You can increase RRD performance by tuning zenrrdcached. Adjust one or more of the following settings in the
$ZENHOME/etc/zenrrdcached.conf file.
Resource Manager Setting rrdcached Setting Default Value (in seconds)
write_threads -t 4
write_timeout -w 300
write_delay -z 0
flush_timeout -f 3600
Table 6.1. zenrrdcached Settings
To determine how to adjust these settings, you can use the following command, which indicates load on the
disk subsystem:
iostat -dx 10
If iowait times are above 50 percent, then the disk is likely overtaxed. A further indicator of performance degra-
dation is if you see gaps in performance graphs.
Increasing the values of write_timeout and write_delay to some multiple of the polling period (by default, 5
minutes) will decrease the number of random IOPS due to writing performance data.
6.7. Configuring the Messaging System
You can configure several aspects of the messaging system by making changes to the messaging.conf config-
uration file.
After making a change, you must:
• Drop any queues modified
• Restart the processes that consume messages from the modified queues
Kommentare zu diesen Handbüchern