<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 4.1.2 upgrade TailingProcessor - File descriptor cache is full in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14144#M1395</link>
    <description>&lt;P&gt;Had the same events in splunkd.log, Micks solution works (just make sure you set a limit that is lower than the splunk users ulimit)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[inputproc]
max_fd = 256
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Jun 2010 16:32:54 GMT</pubDate>
    <dc:creator>chris</dc:creator>
    <dc:date>2010-06-09T16:32:54Z</dc:date>
    <item>
      <title>4.1.2 upgrade TailingProcessor - File descriptor cache is full</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14142#M1393</link>
      <description>&lt;P&gt;I've installed Splunk build 4.1.2 and this upgrade has introduced the following in the splunkd.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;05-24-2010 12:58:34.695 INFO  TailingProcessor - File descriptor cache is full, trimming...  
05-24-2010 12:58:37.695 INFO  TailingProcessor - File descriptor cache is full, trimming...  
05-24-2010 12:58:40.956 INFO  TailingProcessor - File descriptor cache is full, trimming...  
05-24-2010 12:58:43.753 INFO  TailingProcessor - File descriptor cache is full, trimming...  
05-24-2010 12:58:46.465 INFO  TailingProcessor - File descriptor cache is full, trimming...  
05-24-2010 12:58:48.832 INFO  TailingProcessor - File descriptor cache is full, trimming...  
05-24-2010 12:58:51.807 INFO  TailingProcessor - File descriptor cache is full, trimming...  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now that we are using the "time_before_close" parameter within most of the input stanza's we are leaving files open for longer. This I imagine is putting more pressure on Splunk to be able to open and close files as required.&lt;/P&gt;

&lt;P&gt;As you can see from the log above, whilst not an error it is an indicator that we need to tune our Splunk instance better to cope with the large number of files that Splunk has to monitor (I would imagine around 800 per day)&lt;/P&gt;

&lt;P&gt;can you please look into this and advise me on how to better tune our Splunk instance?&lt;/P&gt;

&lt;P&gt;I have also tested setting various different OS values for the number of allowed open file descriptor (ulimit -n) and the Splunk max_fd (within limits.conf) but they have not resolved the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2010 01:38:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14142#M1393</guid>
      <dc:creator>Chris_R_</dc:creator>
      <dc:date>2010-05-25T01:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1.2 upgrade TailingProcessor - File descriptor cache is full</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14143#M1394</link>
      <description>&lt;P&gt;So 4.1 has introduced the new tailing processor, which is now capable of handling many more files than the old version - wahoo!&lt;/P&gt;

&lt;P&gt;The above info message just means that Splunk has more files to read but it has already reached the limit of open FD's.  3.x versions of Splunk used the &lt;CODE&gt;max_fd&lt;/CODE&gt; setting in  &lt;CODE&gt;limits.conf&lt;/CODE&gt; so you could tune Splunk to increase this overall number, but that has not yet been added to the 4.1.x code-branch.  It's coming though, and will be in the official 4.1.3 release, which is next on the list. &lt;/P&gt;

&lt;P&gt;For now, if you're monitoring directories that contain 800 files, it's not going to be much of an issue and its just a case of Splunk cleaning up open FD's so it can move on to the next file.  It will always come back and read your files again, so it shouldn't be missing out on any data.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2010 04:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14143#M1394</guid>
      <dc:creator>Mick</dc:creator>
      <dc:date>2010-05-25T04:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1.2 upgrade TailingProcessor - File descriptor cache is full</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14144#M1395</link>
      <description>&lt;P&gt;Had the same events in splunkd.log, Micks solution works (just make sure you set a limit that is lower than the splunk users ulimit)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[inputproc]
max_fd = 256
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Jun 2010 16:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14144#M1395</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2010-06-09T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1.2 upgrade TailingProcessor - File descriptor cache is full</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14145#M1396</link>
      <description>&lt;P&gt;Syntax is really:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[inputproc]
max_fd = 256
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Added to limits.conf.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 18:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14145#M1396</guid>
      <dc:creator>bricker</dc:creator>
      <dc:date>2015-02-13T18:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: 4.1.2 upgrade TailingProcessor - File descriptor cache is full</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14146#M1397</link>
      <description>&lt;P&gt;Question:&lt;/P&gt;

&lt;P&gt;I have one thought, that, how do we come accross setting the values for max_fd= ?&lt;/P&gt;

&lt;P&gt;What are the rationals setting values or it's random, what feels good for us?&lt;/P&gt;

&lt;P&gt;Some people say, increase or double in sequential way, using default value, till it resolves.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 12:27:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/4-1-2-upgrade-TailingProcessor-File-descriptor-cache-is-full/m-p/14146#M1397</guid>
      <dc:creator>anand_singh17</dc:creator>
      <dc:date>2017-09-05T12:27:24Z</dc:date>
    </item>
  </channel>
</rss>

