You are not logged in.

#1 2009-03-15 23:39:42

Joe_Arch
Member
Registered: 2008-11-27
Posts: 67

Why do I have multiple instances of the same process?

So, I noticed sometimes htop tells me that I have about a dozen kazehakase processes running when I open my browser. Take a look at this.

And then I noticed that I have a LOT of instances of usr/sbin/console-kit-daemon. Huh?

Anyone know what's going on? ps -A tells me I just have one kazehakase running.

Offline

#2 2009-03-15 23:41:34

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Why do I have multiple instances of the same process?

They're probably threads. I'm not knowledgeable about this, but I'm pretty certain that that's the explanation for the multiple ck-daemon instances.

Offline

#3 2009-03-16 01:00:27

Joe_Arch
Member
Registered: 2008-11-27
Posts: 67

Re: Why do I have multiple instances of the same process?

So when htop tells me I have 7 instances of kazehakase running, does that mean that each ones takes up 12mb of ram, or just one?

Offline

#4 2009-03-16 01:06:39

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Why do I have multiple instances of the same process?

I'm pretty sure that it means they use 12mb of ram in total. You can hide threads by pressing "H" in htop.

Last edited by SamC (2009-03-16 01:12:36)

Offline

#5 2009-03-16 01:10:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Why do I have multiple instances of the same process?

When in htop:

F2 (Setup) -->
Display options -->
Check 'Hide userland threads' -->
F10 (Done)

That will give you a better view of processes vs. threads.

Offline

Board footer

Powered by FluxBB