Ad Widget

Collapse

Zabbix Server slowly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fjareta
    Junior Member
    • Oct 2019
    • 25

    #1

    Zabbix Server slowly

    Hi Guys!!

    My Zabbix server lately has been showing slow overall and your bank has also grown very fast, around 50GB in 3 months. Can anyone recommend me? I will post parts of my server.conf file for ease. Thanks!
    HousekeepingFrequency=1

    ### Option: MaxHousekeeperDelete
    # The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
    # [housekeeperid], [tablename], [field], [value].
    # No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
    # will be deleted per one task in one housekeeping cycle.
    # If set to 0 then no limit is used at all. In this case you must know what you are doing!
    #
    # Mandatory: no
    # Range: 0-1000000
    # Default:
    MaxHousekeeperDelete=50000

    ### Option: CacheSize
    # Size of configuration cache, in bytes.
    # Shared memory size for storing host, item and trigger data.
    #
    # Mandatory: no
    # Range: 128K-8G
    # Default:
    CacheSize=4G

    ### Option: CacheUpdateFrequency
    # How often Zabbix will perform update of configuration cache, in seconds.
    #
    # Mandatory: no
    # Range: 1-3600
    # Default:
    # CacheUpdateFrequency=60

    ### Option: StartDBSyncers
    # Number of pre-forked instances of DB Syncers.
    #
    # Mandatory: no
    # Range: 1-100
    # Default:
    StartDBSyncers=50

    ### Option: HistoryCacheSize
    # Size of history cache, in bytes.
    # Shared memory size for storing history data.
    #
    # Mandatory: no
    # Range: 128K-2G
    # Default:
    HistoryCacheSize=16M

    ### Option: HistoryIndexCacheSize
    # Size of history index cache, in bytes.
    # Shared memory size for indexing history cache.
    #
    # Mandatory: no
    # Range: 128K-2G
    # Default:
    HistoryIndexCacheSize=100M

    ### Option: TrendCacheSize
    # Size of trend cache, in bytes.
    # Shared memory size for storing trends data.
    #
    # Mandatory: no
    # Range: 128K-2G
    # Default:
    # TrendCacheSize=4M

    ### Option: ValueCacheSize
    # Size of history value cache, in bytes.
    # Shared memory size for caching item history data requests.
    # Setting to 0 disables value cache.
    #
    # Mandatory: no
    # Range: 0,128K-64G
    # Default:
    ValueCacheSize=100M


    ### Option: StartProxyPollers
    # Number of pre-forked instances of pollers for passive proxies.
    #
    # Mandatory: no
    # Range: 0-250
    # Default:
    # StartProxyPollers=1
  • 1berto
    Senior Member
    • Sep 2018
    • 182

    #2
    A fast growing DB can be caused by a very small update interval of your items...
    In fact the factors that affect the size of the database are:
    1) Number of hosts
    2) Number of items
    3) Item update interval

    Comment

    Working...