OpenVZ Forum


Home » General » Support » *SOLVED* process count and stable kernel
Re: process count and stable kernel [message #12672 is a reply to message #12664] Mon, 07 May 2007 07:16 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

Quote:


[root@main.yop.com ~] # vzlist
VPSID NPROC STATUS IP_ADDR HOSTNAME
1001 63 running xx.yy.136.88 promo.yop.com
1002 12 running xx.yy.138.6 video.yop.com
1003 24 running xx.yy.136.86 db.yop.com
1004 13 running xx.yy.137.206 forum.yop.com
1005 12 running xx.yy.137.2 devel.yop.com

[root@main.yop.com ~] # vzctl exec 1001 ps aux | wc -l
13
[root@main.yop.com ~] # vzctl exec 1002 ps aux | wc -l
14
[root@main.yop.com ~] # vzctl exec 1003 ps aux | wc -l
17
[root@main.yop.com ~] # vzctl exec 1004 ps aux | wc -l
15
[root@main.yop.com ~] # vzctl exec 1005 ps aux | wc -l


Like you see, the number is false in 1001, 1003 but correct in the other, can be some reason for that ?



As you probably know `ps aux` command outputs only processes, but not threads. And `vzlist` command shows all processes number including threads number in VE. You can try to give:
HN# vzctl exec 1001 ps -eLf | wc -l
command to get all processes number in VE and compare it to `vzlist` output.

Thanks,
Vasily
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: iptables ConnLimit
Next Topic: no routing - /dev/fd/62: No such file or directory
Goto Forum:
  


Current Time: Fri Aug 16 12:43:34 GMT 2024

Total time taken to generate the page: 0.02913 seconds