Monitoring Splunk

What is the difference between the two threads limits referenced in splunkd.log?

faol
Explorer

I set the maxThreads parameter in my server.conf file based upon the documentation http://docs.splunk.com/Documentation/Splunk/6.2.4/admin/Serverconf . After restarting Splunk, I see the number I set in the splunkd.log file in the following line.

08-03-2015 11:59:17.433 -0700 INFO loader - Limiting REST HTTP server to xxxx threads

I also noticed another setting which sets the maximum number of threads which has a different value.

08-03-2015 11:59:14.046 -0700 INFO loader - Maximum number of threads (approximate): yyyy

What is the difference between these, and how can I increase the latter?

0 Karma
1 Solution

bpaul_splunk
Splunk Employee
Splunk Employee

The maxThreads setting configures the number of threads the Splunk REST server can use. The maximum number of available threads referenced is acquired by Splunk from the host computer. It is derived from a number of different calculations based upon the memory of the system, and supersedes the maxThreads setting.

To increase the total maximum number of available threads Splunk can use, it is essential to increase the memory of the computer on which Splunk in running.

View solution in original post

bpaul_splunk
Splunk Employee
Splunk Employee

The maxThreads setting configures the number of threads the Splunk REST server can use. The maximum number of available threads referenced is acquired by Splunk from the host computer. It is derived from a number of different calculations based upon the memory of the system, and supersedes the maxThreads setting.

To increase the total maximum number of available threads Splunk can use, it is essential to increase the memory of the computer on which Splunk in running.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...