Monitoring Splunk

Why does SPLUNK recommend setting the ulimit settings for core file size to unlimited?

M2016G0216
Explorer

The ulimit -c (for core file size) currently reads:

core file size (blocks, -c) 0

Tags (2)
0 Karma
1 Solution

ddrillic
Ultra Champion

A lovely explanation especially for the indexers at What's Your ulimit

It says -

-- Therefore, a super safe ulimit will be 8 x # forwarders to account for the additional file descriptors Splunk will need for reading/writing during indexing/searching. This setting is very important for indexers as we are expecting constant concurrent connections from forwarders.

Now if you have a 1000 forwarders, like us, we can see why the ulimit should be high...

It also says -
-- It doesn’t hurt to remove the hard limit and set ulimit to unlimited… unless there is some kind of file descriptor leak in Splunk. Such a leak can go undetected for a long time and consume more and more resources. We don’t expect this to happen since we do monitor specifically for these types of problems in our longevity tests conducted with 1000 forwarders across 10 indexers over many days with ulimit set at 2048.

View solution in original post

harish_l
New Member

splunk recommended ulimit is 64000 but what is maximum ulimit ?

0 Karma

ddrillic
Ultra Champion

A lovely explanation especially for the indexers at What's Your ulimit

It says -

-- Therefore, a super safe ulimit will be 8 x # forwarders to account for the additional file descriptors Splunk will need for reading/writing during indexing/searching. This setting is very important for indexers as we are expecting constant concurrent connections from forwarders.

Now if you have a 1000 forwarders, like us, we can see why the ulimit should be high...

It also says -
-- It doesn’t hurt to remove the hard limit and set ulimit to unlimited… unless there is some kind of file descriptor leak in Splunk. Such a leak can go undetected for a long time and consume more and more resources. We don’t expect this to happen since we do monitor specifically for these types of problems in our longevity tests conducted with 1000 forwarders across 10 indexers over many days with ulimit set at 2048.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...