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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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