<?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 When Linux opens files, splunk crashes due to file descriptors-How can I fix this? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593352#M8892</link>
    <description>&lt;P&gt;Dear All.&lt;BR /&gt;I have a problem with the number of files opened by Linux, I have set the ulimit parameter to 999999 but I still have Splunk service crashes due to file descriptors,&amp;nbsp; this happens in the Search heads, is there a way to tell Splunk not to open more files ?, I have tried with&lt;/P&gt;
&lt;P&gt;[inputproc]&lt;BR /&gt;max_fd = 120000&lt;/P&gt;
&lt;P&gt;but it keeps opening many more files&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The Linux version is&lt;/P&gt;
&lt;P&gt;Oracle Linux Server release 7.8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 20:31:51 GMT</pubDate>
    <dc:creator>Gabriel_CCI</dc:creator>
    <dc:date>2022-04-11T20:31:51Z</dc:date>
    <item>
      <title>When Linux opens files, splunk crashes due to file descriptors-How can I fix this?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593352#M8892</link>
      <description>&lt;P&gt;Dear All.&lt;BR /&gt;I have a problem with the number of files opened by Linux, I have set the ulimit parameter to 999999 but I still have Splunk service crashes due to file descriptors,&amp;nbsp; this happens in the Search heads, is there a way to tell Splunk not to open more files ?, I have tried with&lt;/P&gt;
&lt;P&gt;[inputproc]&lt;BR /&gt;max_fd = 120000&lt;/P&gt;
&lt;P&gt;but it keeps opening many more files&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The Linux version is&lt;/P&gt;
&lt;P&gt;Oracle Linux Server release 7.8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 20:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593352#M8892</guid>
      <dc:creator>Gabriel_CCI</dc:creator>
      <dc:date>2022-04-11T20:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: When Linux opens files, splunk crashes due to file descriptors-How can I fix this?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593402#M8895</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236898"&gt;@Gabriel_CCI&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you performed the Monitor Console Health Check?&lt;/P&gt;&lt;P&gt;In this way you can be sure about the parameter.&lt;/P&gt;&lt;P&gt;Anyway, you have to configure ulimit for the user running Splunk (usually splunk or root,&lt;/P&gt;&lt;P&gt;in othe words, in "&lt;STRONG&gt;/etc/security/limits.conf&lt;/STRONG&gt;" you have to configure (if your Splunk is running under the "splunk" user) :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk    hard    nofile  999999
splunk    soft    nofile  999999&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 06:34:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593402#M8895</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-12T06:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: When Linux opens files, splunk crashes due to file descriptors-How can I fix this?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593446#M8896</link>
      <description>&lt;P&gt;Yes, the parameter 999999 was set for the splunk user, but it still crashes and another symptom that I have detected is that when many files are opened in the SH port 8089 is queued.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:39:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593446#M8896</guid>
      <dc:creator>Gabriel_CCI</dc:creator>
      <dc:date>2022-04-12T12:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: When Linux opens files, splunk crashes due to file descriptors-How can I fix this?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593447#M8897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236898"&gt;@Gabriel_CCI&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the smartest solution is to open a Case to Splunk Support.&lt;/P&gt;&lt;P&gt;Did you used Monitor Console Health Check, to be sure that the ulimit is applied?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593447#M8897</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-12T12:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: When Linux opens files, splunk crashes due to file descriptors-How can I fix this?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593452#M8898</link>
      <description>&lt;P&gt;With systemd-managed service the limits are defined in the service unit file - /etc/systemd/system/&amp;lt;whatever_you_called_your_service&amp;gt; (by default it's called Splunkd.service_&amp;lt;date&amp;gt;).&lt;/P&gt;&lt;P&gt;There you have whole [Service] section which contains the limits (among other things).&lt;/P&gt;&lt;P&gt;If you edit the file, remember to reload the systemd configuration so it picks up new settings.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:46:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/593452#M8898</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-12T12:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: When Linux opens files, splunk crashes due to file descriptors-How can I fix this?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/595940#M8931</link>
      <description>&lt;P&gt;How I can count the number of open files per minute by query in Splunk?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/When-Linux-opens-files-splunk-crashes-due-to-file-descriptors/m-p/595940#M8931</guid>
      <dc:creator>Gabriel_CCI</dc:creator>
      <dc:date>2022-04-29T13:45:02Z</dc:date>
    </item>
  </channel>
</rss>

