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

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...