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!

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, ...