Dashboards & Visualizations

"maximum number of concurrent searches has been reached"

lksridhar
Explorer

Folks,

I would like to get clarification to change the limit.conf file for "maximum number of concurrent searches has been reached". the user getting the error ""maximum number of concurrent searches has been reached" while accessing the dashboard ,

do we need to change the max_hist_searches in limit.conf on search head level or indexer level. i am not sure where need to change these to avoid the error. Could you please any one tell me where i need to do these changes.

Thanks,
Sridhar

Labels (1)
Tags (1)
0 Karma
1 Solution

rjthibod
Champion

You should start with this answer: https://answers.splunk.com/answers/4888/getting-error-maximum-number-of-concurrent-searches-has-been...

Also, the problem could be bad dashboard design. You should make sure you are properly using base searches / global searches or accelerated search objects (accelerated reports, summary indexes, accelerated datamodels, etc.) wherever possible. You will need to share more details about your dashboard If you need help with these things.

Here is an example about base searches and post-processing: https://answers.splunk.com/answers/239159/multiple-base-searches-in-a-dasboard-with-post-pro.html

View solution in original post

0 Karma

lksridhar
Explorer

Thanks for replaying, I understand the error and would like to know where do i need to configure the limits.conf whether in indexer or search head.?

0 Karma

rjthibod
Champion

You should respond to my answer with the "Add Comment" link directly under my answer, instead of commenting with a new answer.

To your question, if you think you already know what this is happening, then the places to edit are here in limits.conf are spelled out in the link I shared.

base_max_searches = <int>
 * A constant to add to the maximum number of searches, computed as a multiplier
   of the CPUs.
 * Defaults to 6

 max_searches_per_cpu = <int>
 * The maximum number of concurrent historical searches per CPU. The system-wide
   limit of historical searches is computed as:
   max_hist_searches =  max_searches_per_cpu x number_of_cpus + base_max_searches
 * Note: the maximum number of real-time searches is computed as:
   max_rt_searches = max_rt_search_multiplier x max_hist_searches
 * Defaults to 1
0 Karma

lksridhar
Explorer

i understand the your answer but my question is, where is need to change the limits.conf file whether on search head or indexer side.

0 Karma

aecruzp
Path Finder

The change must be in the search head side, because this execute the querys and indexers only must be do data indexation funtions in a distribuited architecture.

0 Karma

rjthibod
Champion

You should start with this answer: https://answers.splunk.com/answers/4888/getting-error-maximum-number-of-concurrent-searches-has-been...

Also, the problem could be bad dashboard design. You should make sure you are properly using base searches / global searches or accelerated search objects (accelerated reports, summary indexes, accelerated datamodels, etc.) wherever possible. You will need to share more details about your dashboard If you need help with these things.

Here is an example about base searches and post-processing: https://answers.splunk.com/answers/239159/multiple-base-searches-in-a-dasboard-with-post-pro.html

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