Splunk Search

How to estimate Splunk memory usage?

mpfsplunk01
Engager

Could please someone tell what is the best value I should set for the "max_mem_usage_mb" and "max_rawsize_perchunk" ?

In my search, an indexer outputs following the error message "ERROR databasePartitionPolicy - Max Raw Size Limit Exceeded", and a search head also outputs "WARN StatsProcessor - reached limit max_mem_usage_mb=200, results may be incomplete."
These errors must be related to parameters "max_mem_usage_mb" and "max_rawsize_perchunk," so I'm planning to change these parameters from default value.

Although, these parameters default values are here.
max_mem_usage_mb = 200 (MB)
max_rawsize_perchunk = 100 (MB)
actual memory usage of splunkd process goes up to more than 1.3 Gbyte (in TOP command RES size), which does not make sense for me.

Anyway, does anyone know good way to estimate the size of memory for splunk usage?

some information here
my splunk version: 5.0.4
search event counts: 50M+ event (w/ 3 indexers and 1 search head)
use command: search, stats and more

thank you.

Tags (3)

ryanoconnor
Builder

Is there a reason you're still running on Splunk 5.0.4? Typically it's not recommend to start altering those defaults. There have been several improvements between the current version of Splunk and the one you're running.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...