Splunk Enterprise

How to increase Ulimit on Linux for Splunk?

OgoSplunk
Path Finder

Hi,

I'm researching the Splunk Enterprise Environment and as of now I'm on "Architecture Optimization". I had a quick question for version 9.0.2 and that is how and what is the recommended Ulimit increase on Linux for optimization purposes?

Regards,

Labels (1)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

Splunk documentation (which @richgalloway already pointed you to) lists minimal recommended values.

As with any resource-related question, without a precisely formulated requirements and circumstances there is no one good answer and usually "the more, the better".

You have to ask yourself what are the ulimits and what purpose they serve. They are limits that system enforces on a particular user and they are in place not to help a single process or user but rather to prevent one user from "overrunning" whole server and starving it out of resources. Therefore ulimits are usually set relatively low on servers with many concurrent users (like old-style unix servers in university departments on which many users work at the same time), they might have some use on your local laptop where you might have different services working with different user's accounts but don't make much sense in a single-purpose single-service server.

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

Splunk documentation (which @richgalloway already pointed you to) lists minimal recommended values.

As with any resource-related question, without a precisely formulated requirements and circumstances there is no one good answer and usually "the more, the better".

You have to ask yourself what are the ulimits and what purpose they serve. They are limits that system enforces on a particular user and they are in place not to help a single process or user but rather to prevent one user from "overrunning" whole server and starving it out of resources. Therefore ulimits are usually set relatively low on servers with many concurrent users (like old-style unix servers in university departments on which many users work at the same time), they might have some use on your local laptop where you might have different services working with different user's accounts but don't make much sense in a single-purpose single-service server.

richgalloway
SplunkTrust
SplunkTrust

See https://docs.splunk.com/Documentation/Splunk/latest/Installation/Systemrequirements#Considerations_r... for the recommended ulimit settings.

---
If this reply helps you, Karma would be appreciated.
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!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...