Deployment Architecture

Hot buckets appear to be growing faster than they can be migrated?

markcaudill
Engager

I have lots of lines like the ones below from splunkd.log:

09-27-2013 15:04:28.681 +0000 INFO  IndexProcessor - Starting to move buckets with the oldest latest time until we achieve compliance (current size=337945007355, max=146800640000)
09-27-2013 15:04:29.726 +0000 INFO  IndexProcessor - Starting to move buckets with the oldest latest time until we achieve compliance (current size=337945445225, max=146800640000)
09-27-2013 15:04:30.761 +0000 INFO  IndexProcessor - Starting to move buckets with the oldest latest time until we achieve compliance (current size=337948447673, max=146800640000)

Doing some basic math shows that the current size only ever increases. Does this mean that I'm accumulating buckets faster than they can be aged off? What should I do?

Tags (4)
0 Karma

lguinn2
Legend

I don't know that the message refers to hot buckets. I would take a look at the actual files on disk. Go to
$SPLUNK_DB (in Linux, the default is /opt/splunk/var/lib/splunk). You should see one directory for each index, along with some other files; note that the directory for the main index is called defaultdb. Take a look at the directory tree. Also check out the size of the db subdirectory and the colddb subdirectory. db holds the hot and warm buckets; colddb holds the cold buckets.

Does the overall size of the directories match what you have in indexes.conf? If you look at these directories over time, can you see the buckets moving from db to colddb and then aging out? I would also check the maximum size setting for your indexes (you can do this in the Splunk Manager GUI if you prefer). Is the overall size of your index large enough? If the maximum size is too small, then Splunk may be aging out data sooner than you like.

If you have a number of indexes and a high volume of data, buckets may be aging out of the indexes fairly quickly. That could be normal.

Here is the documentation on How Splunk Stores Indexes

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...