Getting Data In

Universal Forwarder - Linux server - multiple processes running

krusty
Contributor

Hi there,

maybe a simple question for the pros.
I have installed on different linux servers the UF to get logs and events.
I noticed on this servers that splunk is running with 40 processes (splunkd -p 8089 start) at the same time.
Is this a normal behavior?
Can a reduce the amount of running processes?

I'm using version 7.0.0 for the UF and the IDX.

Thanks!

0 Karma
1 Solution

krusty
Contributor

Hi mayurr98,

thanks for you response and the provided link.
But I think I found my mistake.

I was looking to the system processes via htop. htop shows to each process all associated threads. If I use ps -eHj I get also a process tree with child processes but whitout threads, and then I only see 3 processes.

So I have to apologize to wast your time with such a stupid question.
Sorry for that.

View solution in original post

0 Karma

krusty
Contributor

Hi mayurr98,

thanks for you response and the provided link.
But I think I found my mistake.

I was looking to the system processes via htop. htop shows to each process all associated threads. If I use ps -eHj I get also a process tree with child processes but whitout threads, and then I only see 3 processes.

So I have to apologize to wast your time with such a stupid question.
Sorry for that.

0 Karma

mayurr98
Super Champion

There is no complete list, because it depends on both your version of Splunk, the various scripts you may have and the searches that are running. But here is most of it

splunkd - this is the "engine" that does most of the work. The first splunkd process is the parent of all the other running Splunk processes
in Splunk 6.2, a second copy of splunkd runs to manage the user interface
a third copy of splunkd may run to collect information about how Splunk uses system resources
mongod - not in earlier versions, but starting in 6.2, this process manages the mongo db that contains the KV store
python - Splunk may run a python process

Splunk will also launch processes as needed to run scripted inputs, alert scripts and searches. These will be subprocesses of splunkd. Earlier versions of Splunk ran a splunkweb process, but that is no longer true in version 6.2
I found this answer in this doc

Also, have a look at this doc
https://answers.splunk.com/answers/177506/how-many-splunk-processes-are-normal-on-a-linux-in.html

let me know if this helps!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...