<?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 Too many open files on forwarders in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12955#M1111</link>
    <description>&lt;P&gt;I'm starting to get a lot of these errors on my forwarders.  Any suggestions?  Pushing /etc/security/limits.conf doesn't sound ideal.&lt;/P&gt;

&lt;P&gt;I'm running heavy forwarders as root.  &lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2010 01:32:21 GMT</pubDate>
    <dc:creator>oreoshake</dc:creator>
    <dc:date>2010-05-06T01:32:21Z</dc:date>
    <item>
      <title>Too many open files on forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12955#M1111</link>
      <description>&lt;P&gt;I'm starting to get a lot of these errors on my forwarders.  Any suggestions?  Pushing /etc/security/limits.conf doesn't sound ideal.&lt;/P&gt;

&lt;P&gt;I'm running heavy forwarders as root.  &lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2010 01:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12955#M1111</guid>
      <dc:creator>oreoshake</dc:creator>
      <dc:date>2010-05-06T01:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Too many open files on forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12956#M1112</link>
      <description>&lt;P&gt;You probably should work with support and/or investigate which files are open by looking in proc, or using &lt;CODE&gt;lsof&lt;/CODE&gt;.  We might be a bit too aggressive in how many files we open in the new tailing code, but that's just a wild guess.  &lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2010 04:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12956#M1112</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2010-05-06T04:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Too many open files on forwarders</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12957#M1113</link>
      <description>&lt;P&gt;limits.conf shouldn't come into play unless you explicity have 'nofile' defined.&lt;/P&gt;

&lt;P&gt;This is actually a pretty typical issue on the systems I've seen, and quite easily fixed.&lt;/P&gt;

&lt;P&gt;'ulimit'&lt;/P&gt;

&lt;P&gt;I typically double the number of open files to start.&lt;/P&gt;

&lt;P&gt;Using a RHEL/Fedora/Cent OS vi /etc/profile&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  20,000 number of open files ulimit -n 20000
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I then 'source' /etc/profile so my current shell will apply that new value&lt;/P&gt;

&lt;P&gt;'source /etc/profile'&lt;/P&gt;

&lt;P&gt;Verify 'ulimit -n' &lt;/P&gt;

&lt;P&gt;Then restart splunk.&lt;/P&gt;

&lt;P&gt;Verify splunk applied the new settings by viewing splunk/var/log/splunkd.log&lt;/P&gt;

&lt;P&gt;Looking for this line "INFO  ulimit - Limit: open files: 20000 files"&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2010 22:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Too-many-open-files-on-forwarders/m-p/12957#M1113</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2010-05-19T22:23:49Z</dc:date>
    </item>
  </channel>
</rss>

