Article ID: 125611, created on May 26, 2015, last review on May 26, 2015

  • Applies to:
  • Operations Automation
  • Panels
  • Virtuozzo 6.0

Symptoms

After updating/rebooting PCS prlctl statistics reports zero traffic for all classes expect class 0

[root@pcs ~]# prlctl statistics test-vm | grep net.classful
        net.classful.traffic  0           4817852095   24225148          45532224650   12931876
        net.classful.traffic  1                    0          0                    0          0
        net.classful.traffic  2                    0          0                    0          0
        net.classful.traffic  3                    0          0                    0          0
        net.classful.traffic  4                    0          0                    0          0
        net.classful.traffic  5                    0          0                    0          0
        net.classful.traffic  6                    0          0                    0          0

However traffic shaping service is running.

Cause

Traffic accounting does not have loaded definitions of network classes:

[root@pcs ~]# vztactl class_list
class addr             mask

This may happen when VZ service start is disabled:

[root@pcs ~]# chkconfig vz --list
vz              0:off   1:off   2:off   3:off   4:off   5:off   6:off

Resolution

  1. Reload the network classes with the following command (safe for running, no live services are affected)

    # service vz accrestart
    
  2. Enable autostart for VZ service on PCS node(s):

    # chkconfig vz on
    

Search Words

net.classful.traffic

vztactl class_list

statistics

vztactl

service vz accrestart

traffic shaping

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 614fd0b754f34d5efe9627f2057b8642 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF