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!

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

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...