Getting Data In

Why are we seeing high memory usage with a Splunk 6.2.3 forwarder installed on a Windows server?

mattkun
New Member

We are currently having an issue with Splunk forwarder installed on a Windows server. It takes up a lot of memory utilization.

Any suggestion how to fix this? We are running Splunk 6.2.3. Help help. Thanks.

0 Karma

lguinn2
Legend

The amount of memory that a Splunk forwarder uses is directly related to the number of files that the forwarder is monitoring.

How many files is the forwarder monitoring? If you are not sure, log on the the machine and run

splunk list monitor

You may see that you are monitoring many files, including inactive files. The problem is that Splunk cannot be sure those files are inactive; it will continue to keep them in its list of files to monitor. If you can refine the stanzas in inputs.conf to monitor less - or remove the inactive files from the path that Splunk is monitoring - you will probably see an immediate reduction in the memory and CPU consumption. (You will have to restart the forwarder after making these changes.)

Of course, this is just a guess, based on not much information...

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...