pt-summary stalled

Bug #1241361 reported by Frederic Descamps
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Confirmed
Undecided
Unassigned

Bug Description

tested on 2.2.4 and 2.2.5

After memory title section, this error is displayed:

./pt-summary: line 1435: kB: unbound variable

then Total and Free memory are displayed and the tool hangs.

Output on 2 different severs:

      System | VMware, Inc.; VMware Virtual Platform; vNone (Other)
 Service Tag | VMware-42
    Platform | Linux
     Release | CloudLinux Server release 6.4
      Kernel | 2.6.32-379.22.1.lve1.2.17.1.el6.x86_64
Architecture | CPU = 64-bit, OS = 64-bit
   Threading | NPTL 2.12
    Compiler | GNU CC version 4.4.7 20120313 (Red Hat 4.4.7-3).
     SELinux | Disabled
 Virtualized | OpenVZ/Virtuozzo
# Processor ##################################################
  Processors | physical = 2, cores = 8, virtual = 8, hyperthreading = no
      Speeds | 8x2394.000
      Models | 8xIntel(R) Xeon(R) CPU E5620 @ 2.40GHz
      Caches | 8x12288 KB
# Memory #####################################################
./pt-summary: line 1435: kB: unbound variable
       Total | 15.5G
        Free | 89.5M

      System | VMware, Inc.; VMware Virtual Platform; vNone (Other)
 Service Tag | VMware-42 3a e1 99 7b 47 dd 62-89 d1 74 d6 0b 28 8e bb
    Platform | Linux
     Release | CloudLinux Server release 6.4
      Kernel | 2.6.32-458.6.2.lve1.2.30.el6.x86_64
Architecture | CPU = 64-bit, OS = 64-bit
   Threading | NPTL 2.12
    Compiler | GNU CC version 4.4.7 20120313 (Red Hat 4.4.7-3).
     SELinux | Disabled
 Virtualized | OpenVZ/Virtuozzo
# Processor ##################################################
  Processors | physical = 2, cores = 8, virtual = 8, hyperthreading = no
      Speeds | 8x2526.999
      Models | 8xIntel(R) Xeon(R) CPU E5630 @ 2.53GHz
      Caches | 8x12288 KB
# Memory #####################################################
./pt-summary: line 1438: kB: unbound variable
       Total | 15.5G
        Free | 674.2M

this is the content of the memory temporary file:

             total used free shared buffers cached
Mem: 16683409408 15976509440 706899968 0 971165696 7646564352
-/+ buffers/cache: 7358779392 9324630016
Swap: 8589926400 97247232 8492679168
MemTotal: 16292392 kB
MemFree: 690332 kB
Buffers: 948404 kB
Cached: 7467348 kB
SwapCached: 21480 kB
MemCommitted: 235405312 kB
VirtualSwap: 296 kB
Active: 8171032 kB
Inactive: 5287476 kB
Active(anon): 3710740 kB
Inactive(anon): 2254420 kB
Active(file): 4460292 kB
Inactive(file): 3033056 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 8388600 kB
SwapFree: 8293632 kB
Dirty: 1984 kB
Writeback: 0 kB
AnonPages: 5025092 kB
Mapped: 986284 kB
Shmem: 922404 kB
Slab: 1851592 kB
SReclaimable: 1619368 kB
SUnreclaim: 232224 kB
KernelStack: 5784 kB
PageTables: 118808 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 16534796 kB
Committed_AS: 12359424 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 378340 kB
VmallocChunk: 34359293144 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 10240 kB
DirectMap2M: 16766976 kB

Note the presence of the follwing line:
VirtualSwap: 296 kB

Tags: pt-summary
Revision history for this message
Frederic Descamps (lefred) wrote :
tags: added: pt-summary
Changed in percona-toolkit:
status: New → Confirmed
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-1162

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.