Splunk Search

Total number of searches in limits.conf and authorize.conf: Which option takes precedence?

strive
Influencer

Hi,

System Details:
System Type: Virtual Machine
Total CPUs: 8 vCPUs (4 cores. 4 * 2 = 😎
Total Users: 1

The overridden settings are:
In limits.conf

  • max_searches_per_cpu = 6
  • max_searches_perc=75

In authorize.conf

  • srchJobsQuota = 50

My Questions are:
As per splunk documentation - max_hist_searches = max_searches_per_cpu x number_of_cpus + base_max_searches so max_hist_searches = 6*8+6 = 54. Since max_searches_perc is set as 75. The maximum searches will be 0.75 * 54 = 40

In authorize.conf the search jobs quota is set as 50.

So, the total number of searches that are allowed to run is 40 or 50? Which one takes precedence?

0 Karma

yannK
Splunk Employee
Splunk Employee

The system limit takes precedence over the roles limits in the facts.
if have a high limit in authorize.conf, it does not mean that the system limit will let you use more of the ressources it has,

Remarks, if you raise the multiplicator too high, the risk is that the system will try to cramp more searches on the same number of cores, and you will end up with slower searches, and higher memory usage, and slower i/o for indexing and searching,

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I would guess (and it's only a guess) that the lower value takes precedence. Try it. If you can run more than 40 searches at a time then that would prove me wrong.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...