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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...