Subject: Re: [vserver] where are the lost processes?
From: Jason Drage <jasond@ibsglobalweb.com>
Date: Thu, 13 Mar 2008 17:16:53 +1100

Daniel Hokka Zakrisson wrote:
> Jason Drage wrote:
>   
>> Hi ,
>> I'm running kernel 2.6.22.18-vs2.3.0.32 (on x86_64), util-vserver:
>> 0.30.214
>>
>> I'm having trouble finding 'lost' processes attributed to guest.
>>
>> Basically I have a guest with approx 9 processes (see below) yet
>> vserver-stat reports vastly different numbers, 286 after running for
>> a week or 60 for a freshly started guest.
>>
>> Why are the numbers reported by vserver-stat and ps so different?
>> Where can I find more details on my machine to help me track down these
>> 'lost processes'?
>>     
>
> Use ps maux to see all the threads. I suppose this is a bit of a semantic
> problem, as vserver-stat calls them processes as opposed to tasks, but I'm
> not too inclined to fix it. Either way, it refers to threads, not process
> groups.
>   
Ah, it all makes a lot more sense now,
thanks


-- Jason


<snip>