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!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...