VMware PACKAGE MANAGER 1.1 Bedienungsanleitung Seite 44

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 95
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 43
Performance tuning
37
Run memcached as close to the master as possible, as zopectl and zeneventd are its biggest users. In very large database
scenarios (for example, 500,000 items in the global catalog), run other instances of memcached on the hubs, and update
global.conf on those boxes to point there instead of to the master.
5.5. Increasing maximum file descriptors
A Resource Manager host can require in excess of 10000 open files. For optimal performance, Zenoss recommends
that you increase the minimum number of open files for the zenoss user to 4096, and the maximum number of open
files to a value greater than the anticipated number of open files needed by Resource Manager.
For example, to configure a host for a minimum of 4096 and a maximum of 10240 open files, follow these steps:
1. Log in to the host as root.
2. Add the minimum open files value to /etc/security/limits.conf:
/bin/echo "zenoss soft nofile 4096" >> /etc/security/limits.conf
3. Add the maximum open files value:
/bin/echo "zenoss hard nofile 10240" >> /etc/security/limits.conf
4. Add the following lines to the zenoss user's $HOME/.bash_profile file:
if [ "${USER}" = "zenoss" ]; then
ulimit -n 10240
fi
5. Source the $HOME/.bash_profile file, or log in as user zenoss to use the new value.
Note
In the preceding example, the value specified with the ulimit command may be decreased (but not increased)
without editing the /etc/security/limits.conf file.
5.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.
Table 5.1. zenrrdcached settings
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
To determine how to adjust these settings, you can use the following command, which indicates load on the disk
subsystem:
iostat -x 10
If iowait times are above 50 percent, then the disk is likely overtaxed. A further indicator of performance degradation
is if you see gaps in performance graphs.
Seitenansicht 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 94 95

Kommentare zu diesen Handbüchern

Keine Kommentare