<?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: splunkforwarder out of memory in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96924#M3574</link>
    <description>&lt;P&gt;Not that I'm aware of.&lt;/P&gt;

&lt;P&gt;Have you looked at the 5.0.2 version. It's been out for some time now.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2013 14:17:56 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-04-23T14:17:56Z</dc:date>
    <item>
      <title>splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96920#M3570</link>
      <description>&lt;P&gt;I've been experimenting some out of memory issues in my server lately, basically the &lt;A href="http://linux-mm.org/OOM_Killer"&gt;oom-killer&lt;/A&gt;&lt;BR /&gt;
is called and one or more processes are killed. Among the processes that get killed there's always splunkforwarder.&lt;/P&gt;

&lt;P&gt;After some testing, I decided to remove splunkforwarder from my server's boot and all problems stopped. If at any point in time I start the process, I get a new oom-killer issue.&lt;/P&gt;

&lt;P&gt;Server is a small instance in amazon's ec2, using Ubuntu 12.04 LTS. This are my deploy commands:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunkforwarder/bin/splunk start --accept-license
/opt/splunkforwarder/bin/splunk install app ... -auth admin:changeme
/opt/splunkforwarder/bin/splunk login -auth admin:changeme
/opt/splunkforwarder/bin/splunk edit user admin -password df5...f13
/opt/splunkforwarder/bin/splunk list forward-server
/opt/splunkforwarder/bin/splunk add monitor /var/log/apache2/error.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The questions are:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Do you guys know about any memory leaks, or memory usage issues in splunkforwarder?&lt;/LI&gt;
&lt;LI&gt;Any idea on how to reduce the memory usage? Any configuration parameter I can modify? I don't care about having all the information sent immediately to splunkstorm; if there is a compromise between speed and memory use, I would choose low memory use and slow speed.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 16 Apr 2013 21:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96920#M3570</guid>
      <dc:creator>andresriancho</dc:creator>
      <dc:date>2013-04-16T21:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96921#M3571</link>
      <description>&lt;P&gt;what version are you running?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 21:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96921#M3571</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2013-04-16T21:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96922#M3572</link>
      <description>&lt;P&gt;dpkg -i splunkforwarder-5.0.1-143156-linux-2.6-amd64.deb&lt;/P&gt;

&lt;P&gt;Amazon ec2 AMI: ubuntu/images/ebs/ubuntu-precise-12.04-amd64-server-20121001&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 21:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96922#M3572</guid>
      <dc:creator>andresriancho</dc:creator>
      <dc:date>2013-04-16T21:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96923#M3573</link>
      <description>&lt;P&gt;Any ideas on what this could be about? Is this a known issue? When should I expect a fix? Anything I can do to help with testing the fix?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 11:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96923#M3573</guid>
      <dc:creator>andresriancho</dc:creator>
      <dc:date>2013-04-23T11:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96924#M3574</link>
      <description>&lt;P&gt;Not that I'm aware of.&lt;/P&gt;

&lt;P&gt;Have you looked at the 5.0.2 version. It's been out for some time now.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 14:17:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96924#M3574</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-23T14:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96925#M3575</link>
      <description>&lt;P&gt;This issue is generally when you have generalized a path to monitor.&lt;BR /&gt;
Example [monitor:///var/logs/*] &lt;/P&gt;

&lt;P&gt;This causes the issue. I had faced the same when we had added a generalized path (for oracle logs) the splunkd process was taking up heavy memory.&lt;BR /&gt;
After changing path to specific log file to be monitored the memory usage settled down.&lt;BR /&gt;
Example : [monitor:///var/log/messages]&lt;/P&gt;

&lt;P&gt;Give it a go, hope it helps.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 14:58:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96925#M3575</guid>
      <dc:creator>sinclairmachado</dc:creator>
      <dc:date>2013-04-23T14:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: splunkforwarder out of memory</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96926#M3576</link>
      <description>&lt;P&gt;Down voted since I'm only monitoring one file: &lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/bin/splunk add monitor /var/log/apache2/error.log&lt;/P&gt;

&lt;P&gt;The good thing is that your comment lets me know that this is a splunk bug. It shouldn't take more memory to monitor a large number of files.&lt;/P&gt;

&lt;P&gt;@Splunk developers: Please fix.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2013 16:06:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunkforwarder-out-of-memory/m-p/96926#M3576</guid>
      <dc:creator>andresriancho</dc:creator>
      <dc:date>2013-04-23T16:06:24Z</dc:date>
    </item>
  </channel>
</rss>

