Splunk Enterprise

Universal forwarder constantly at a 100%

mihelic
Path Finder

There are about 1600 files that are actively monitored by the forwarder (64bit, v5.0.2) on our central syslog server.
The forwarder process constantly hogs one whole core.

Where to start looking for possible problems and solutions?

Regards,
Mitja

Tags (2)
0 Karma

mihelic
Path Finder

SoS unfortunatly does not show much else for our universal forwarder. The most I could conclude from SoS was that file descriptor and memory usage are within acceptable limits and that CPU usage is at 100%. It also provided me with the information, that the TailingProcessor was reporting errors which was a good starting point.

After using system profiling tools I found out however that out of 24 threads of splunkd running only one of them is constantly at 100%. Further digging led me to a stanza that was causing errors for the TailingProcessor. It was not the stanza itself but rather the data that was being monitored. Temporary files were being created then removed in a certain spool folder and it seems that this was causing problems for the UFW. After blacklisting the said spool folder load dropped to almost zero and it is staying there for now.

0 Karma

barakreeves
Splunk Employee
Splunk Employee

When you say "There are about 1600 that are actively monitored", 1600 of what are you referring to?

Here is a link to a previous Answer that hopefully touches on your issue:
http://splunk-base.splunk.com/answers/5400/high-cpu-usage-on-splunk-forwarder

If you haven't already, download the SoS (Splunk on Splunk app). This already great app just got updated.
http://splunk-base.splunk.com/apps/29008/sos-splunk-on-splunk

So before contacting support, use this app first and see what you can find.

Wish you success!

mihelic
Path Finder

Well spotted. I was referring to 1600 files. I edited the original question and added the missing word.
I will check out the new version of SoS.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...