[Users] monitor VE ressources usage

jehan procaccia jehan.procaccia at it-sudparis.eu
Mon Apr 19 16:57:57 EDT 2010


well ... then that won't help me to figure out why my VE is so slow :-(
I already add it memory and CPU, but no way, a simple "yum list" takes 
up to 2mn, while on the slower hard node running vservers containers it 
took only 30s ! (same repository and "yum clean all" before )
perhaps it's a network configuration pb ?  I run didn't tuned anything 
on network, runing a simple venet0:0

any advice appreciated

Ps: here's the tunning I did:
 vzctl set 21230 --cpuunits 6000 --cpulimit 10 --save
 vzctl set 21230 --privvmpages $((256 * 768)) --save

# vzctl exec 21230 cat /proc/user_beancounters
Version: 2.5
       uid  resource                     held              
maxheld              barrier                limit              failcnt
    21230:  kmemsize                  3831719              
3934219             14372700             14790164                    0
            lockedpages                     0                    
0                  256                  256                    0
            privvmpages                 24932                
30404               196608               196608                    0
            shmpages                      671                  
687                21504                21504                    0
            dummy                           0                    
0                    0                    0                    0
            numproc                        16                   
23                  240                  240                    0
            physpages                   14767                
14787                    0  9223372036854775807                    0
            vmguarpages                     0                    
0                33792  9223372036854775807                    0
            oomguarpages                14767                
14787                26112  9223372036854775807                    0
            numtcpsock                      5                   
13                  360                  360                    0
            numflock                        5                    
7                  188                  206                    0
            numpty                          1                    
1                   16                   16                    0
            numsiginfo                      0                    
2                  256                  256                    0
            tcpsndbuf                   94224               
216008              1720320              2703360                    0
            tcprcvbuf                   81920                    
0              1720320              2703360                    0
            othersockbuf                 6984                
21096              1126080              2097152                    0
            dgramrcvbuf                     0                 
8472               262144               262144                    0
            numothersock                   11                   
14                  360                  360                    0
            dcachesize                      0                    
0              3409920              3624960                    0
            numfile                       599                  
671                 9312                 9312                    0
            dummy                           0                    
0                    0                    0                    0
            dummy                           0                    
0                    0                    0                    0
            dummy                           0                    
0                    0                    0                    0
            numiptent                      14                   
14                  128                  128                    0


Steven Crothers a écrit :
> I remember a vztop someone made a long while ago... but I don't think it
> works anymore (and I don't remember where the source was located).
>
> Other than that, no there is no other feature like that, that I am aware of.
>
> -----Original Message-----
> From: users-bounces at openvz.org [mailto:users-bounces at openvz.org] On Behalf
> Of jehan procaccia
> Sent: Monday, April 19, 2010 11:30 AM
> To: openvzusers
> Subject: [Users] monitor VE ressources usage
>
> hello,
>
> I'am not used to openvz monitoring ... is there a synthetic way to see 
> what CPU and Memory usage each container takes ?
> I'am from linux-vservers where I could find the utility vserver-stat 
> very usefull in that matter, is there a equivalent in openvz ?
>
> # vserver-stat
> CTX   PROC    VSZ    RSS  userTIME   sysTIME    UPTIME NAME
> 3613   238 582.1M 228.2M   2h48m18   1h17m05  11d01h26 cas1
> 3746    16   0.9G 382.3M  45m17s66  10m11s12  11d01h26 ldapmaster2
> 3747   110 825.1M 407.5M  51m13s26  16m52s66  11d01h25 mutuel2
> 3801    69   1.1G 336.5M   3m30s67   1m48s87  11d01h12 shibidp1
> 7009    21 770.5M 454.5M  27m51s44   2m31s41  11d01h26 cours3
>
> there's also vtop, vps etc ...
>
> Thanks .
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
>   




More information about the Users mailing list