Article ID: 123112, created on Oct 10, 2014, last review on Oct 10, 2014

  • Applies to:
  • Virtuozzo containers for Linux 4.7

Symptoms

Sometimes vmstat shows 4294967295 processes queued:

# vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
4294967295  0      0 2615940      0 274988    0    0     0    12    0   35  0  0 100  0  0      
4294967295  0      0 2615940      0 274988    0    0     0     0    0   33  0  0 100  0  0      
4294967295  0      0 2615940      0 274988    0    0     0     0    0   35  0  0 100  0  0      
4294967295  0      0 2615940      0 274988    0    0     0     0    0   57  0  0 100  0  0      
 0  0      0 2615940      0 274988    0    0     0     0    0   64  0  0 100  0  0      
 0  0      0 2615940      0 274988    0    0     0     0    0   71  0  0 100  0  0      
 0  0      0 2615940      0 274988    0    0     0     0    0   56  0  0 100  0  0      
 0  0      0 2615940      0 274988    0    0     0     0    0   36  0  0 100  0  0      
 0  0      0 2615940      0 274988    0    0     0     0    0   31  0  0 100  0  0      
 0  0      0 2615940      0 274988    0    0     0     0    0   26  0  0 100  0  0      
 0  0      0 2615900      0 274988    0    0     0     0    0   30  0  0 100  0  0   

Cause

The issue is caused by a bug in procps-3.2.8 - when there are no running processes on the node, 4294967295 number of running processes will be displayed (4294967295=(unsigned int)-1). Relevant code snippet:

(*running)--;   // exclude vmstat itself

In procpc-3.2.9 the calculation was modified:

if(*running)
 (*running)--;   // exclude vmstat itself

Resolution

Update the procpc package.

Search Words

procps

4294967295

vmstat

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f 0c05f0c76fec3dd785e9feafce1099a9

Email subscription for changes to this article
Save as PDF