<?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 high CPU when idle in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45624#M524</link>
    <description>&lt;P&gt;Using RHEL6 on a 12 core, 32G RAM, relatively idle server (it runs backups at night), running 4.3.3. Splunk currently has ONE input (/var/log/), is forwarding everything, and not keeping a local copy. We have an enterprise license, this is acting as a slave license client.&lt;/P&gt;

&lt;P&gt;I'm sitting here with a shell running 'top' and a browser window at the 'Data inputs'. I've had to disable all the inputs to get the CPU for splunkd to &lt;STRONG&gt;STOP&lt;/STRONG&gt; consuming 100%. I can toggle the data input to /var/log to 'enable' -- CPU goes to 100. I disable it, then CPU goes to minimal (0 or .3). Back and forth I do this, to test the cause-and-effect.&lt;/P&gt;

&lt;P&gt;There's nothing special in /var/log/ -- in fact there's no new activity going on at all. The logs under /opt/splunk/var/log/splunk/ are quiet except for the occasional INFO entry from metrics.log. Even when a directory input is enabled (and CPU goes to 100+) the worst thing logged was an occasional WARN that said something to the effect of an invalid file in the directory because it was binary.&lt;/P&gt;

&lt;P&gt;I've seen this on other systems, but attributed it to optimizations or just busy machines; this is not happening here.&lt;/P&gt;

&lt;P&gt;Ideas?&lt;BR /&gt;
Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2012 15:52:58 GMT</pubDate>
    <dc:creator>Michael</dc:creator>
    <dc:date>2012-08-28T15:52:58Z</dc:date>
    <item>
      <title>high CPU when idle</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45624#M524</link>
      <description>&lt;P&gt;Using RHEL6 on a 12 core, 32G RAM, relatively idle server (it runs backups at night), running 4.3.3. Splunk currently has ONE input (/var/log/), is forwarding everything, and not keeping a local copy. We have an enterprise license, this is acting as a slave license client.&lt;/P&gt;

&lt;P&gt;I'm sitting here with a shell running 'top' and a browser window at the 'Data inputs'. I've had to disable all the inputs to get the CPU for splunkd to &lt;STRONG&gt;STOP&lt;/STRONG&gt; consuming 100%. I can toggle the data input to /var/log to 'enable' -- CPU goes to 100. I disable it, then CPU goes to minimal (0 or .3). Back and forth I do this, to test the cause-and-effect.&lt;/P&gt;

&lt;P&gt;There's nothing special in /var/log/ -- in fact there's no new activity going on at all. The logs under /opt/splunk/var/log/splunk/ are quiet except for the occasional INFO entry from metrics.log. Even when a directory input is enabled (and CPU goes to 100+) the worst thing logged was an occasional WARN that said something to the effect of an invalid file in the directory because it was binary.&lt;/P&gt;

&lt;P&gt;I've seen this on other systems, but attributed it to optimizations or just busy machines; this is not happening here.&lt;/P&gt;

&lt;P&gt;Ideas?&lt;BR /&gt;
Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45624#M524</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2012-08-28T15:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: high CPU when idle</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45625#M525</link>
      <description>&lt;P&gt;what's the uptime on the box - if its not been rebooted since the leap second addition and you use ntp, that'll cause very high splunkd usage. Google for leap second linux kernel - there's a simple fix by stopping ntp and manually setting the date.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 17:46:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45625#M525</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2012-08-28T17:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: high CPU when idle</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45626#M526</link>
      <description>&lt;P&gt;It was just updated and rebooted this morning...&lt;/P&gt;

&lt;P&gt;(that was a good answer though!)&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 18:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45626#M526</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2012-08-28T18:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: high CPU when idle</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45627#M527</link>
      <description>&lt;P&gt;It would be best to file a case for this one and upload a diag so we may look at your logs, among other things.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 19:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45627#M527</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2012-08-28T19:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: high CPU when idle</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45628#M528</link>
      <description>&lt;P&gt;Solved it by the old Windows trick:  uninstalling and re-installing. Corrupt something, somewhere?&lt;/P&gt;

&lt;P&gt;I opened a case, and after a condescending reply from their tech support that told me I was digesting .gz files and such, they pointed me to the on-line documentation on how to edit the inputs.conf file. Admittedly, I did have it miss-configured initially, but corrected it days ago. They overlooked the fact that I disabled all inputs during testing, and could enable/disable the /var/log on the local machine to duplicate the problem each time -- standard stuff in the /var/log -- no .gz files. Also confirmed the inputs.conf file (and sent them a copy) only had this and other /var/log sources in it (again, all disabled during testing).&lt;/P&gt;

&lt;P&gt;Go figure...anywho, fixed now.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2012 12:48:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/high-CPU-when-idle/m-p/45628#M528</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2012-09-12T12:48:27Z</dc:date>
    </item>
  </channel>
</rss>

