Re: Where can we download the "vzstat" source code? [message #22953 is a reply to message #22952] |
Thu, 08 November 2007 08:59 |
KoolK
Messages: 8 Registered: September 2007
|
Junior Member |
|
|
Hi,
by infinite process I mean following file
#include<stdio.h>
int main()
{
for(;;);
return 0;
}
so I run 40 processes of such kind with some having nice value 19, after that system says memory insufficient to spawn new process.
Still in this case /proc/vz/vestat shows 0 for maxlat, totallat n numsched. even in rickB's example in previous post, the file has 0 values.
this is my top command output in VE 1001 after running 37 instances of infinite process
top - 11:58:15 up 2:22, 0 users, load average: 33.96, 26.71, 13.17
Tasks: 51 total, 36 running, 15 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.3% us, 0.3% sy, 0.3% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 505200k total, 495700k used, 9500k free, 39208k buffers
Swap: 1084348k total, 0k used, 1084348k free, 187308k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22084 root 25 0 1384 232 184 R 3.7 0.0 0:12.62 infinite
22036 root 25 0 1384 232 184 R 3.3 0.0 0:13.89 infinite
22037 root 25 0 1384 232 184 R 3.3 0.0 0:13.19 infinite
22038 root 25 0 1384 232 184 R 3.3 0.0 0:13.14 infinite
22039 root 25 0 1388 236 184 R 3.3 0.0 0:13.12 infinite
22040 root 25 0 1384 232 184 R 3.3 0.0 0:13.10 infinite
22043 root 25 0 1384 232 184 R 3.3 0.0 0:13.09 infinite
22044 root 25 0 1384 232 184 R 3.3 0.0 0:12.89 infinite
22046 root 25 0 1384 232 184 R 3.3 0.0 0:12.92 infinite
22049 root 25 0 1388 236 184 R 3.3 0.0 0:12.90 infinite
22050 root 25 0 1388 236 184 R 3.3 0.0 0:12.89 infinite
22051 root 25 0 1384 232 184 R 3.3 0.0 0:13.59 infinite
22052 root 25 0 1388 236 184 R 3.3 0.0 0:12.89 infinite
22065 root 25 0 1384 232 184 R 3.3 0.0 0:11.80 infinite
22066 root 25 0 1384 232 184 R 3.3 0.0 0:12.59 infinite
22067 root 25 0 1384 232 184 R 3.3 0.0 0:11.89 infinite
22068 root 25 0 1384 232 184 R 3.3 0.0 0:11.84 infinite
But still output of /proc/vz/vestat is -
[root@khyati-laptop home]# cat /proc/vz/vestat
Version: 2.2
VEID user nice system uptime idle strv uptime used maxlat totlat numsched
1001 990058 931 1922 8628377 2320326584544 0 3988923534912 1559444504772 0 0 0
|
|
|