Splunk Search

Why am I getting "message Max Raw Size Limit Exceeded" errors that are now affecting search performance?

gwobben
Communicator

Hi Guys,

I'm running a search and it seems to take longer than needed. I've search the logs for errors and found this in search.log:

ERROR IndexReaderIf - Max Raw Size Limit Exceeded
INFO  UnifiedSearch - Error in 'IndexReaderIf': Max Raw Size Limit Exceeded

It's generating 100s of these messages in pairs, but I don't understand what it means. What can I do to solve this error?

Details:
Single node Splunk install
Splunk 6.3.0
8 CPU cores
32 GB RAM

davidpaper
Contributor

Greetings,

Cribbing this from some Support folks who have run into this before. There is a setting that can be updated to alleviate the message.

$SPLUNK_HOME/etc/system/local/limits.conf (or wherever you maintain infrastructure changes like this, but definitely not in etc/system/default/limits.conf!)

[search]
max_rawsize_perchunk =

You need to restart Splunk for your change to take effect.

If you have enough memory available that you feel comfortable allowing searches to use more of it, you can set 0 as unlimited. We don't have any recommendation threshold about max_rawsize_perchunk, as it depends on how much memory is available on the hosts for the processes to consume. Default is 100MB. If you don't feel comfortable with unlimited, double it until the error message disappears. It's a little bit of trial and error, yes.

jrodman
Splunk Employee
Splunk Employee

It sure would be great if someone could communicate what behavior is known to correlate with this message. That is, is it a nuisance? Is this a performance affecting situation? do you get incomplete search results?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...