GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

Memory usage misreported in output of pmp-check-unix-memory

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Memory usage misreported in output of pmp-check-unix-memory

    I'm seeing some strange output from the pmp-check-unix-memory check. It's reporting that 10% of the overall memory is in use, but that 102% of the memory is in use by the mysqld process. The server is running Debian Squeeze. Has anyone seen this before?

    Output of free:
    # free
    total used free shared buffers cached
    Mem: 16473956 3013068 13460888 0 327656 876756
    -/+ buffers/cache: 1808656 14665300
    Swap: 3903480 0 3903480

    Output of top command:
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    24523 mysql 20 0 16.1g 1.5g 5916 S 0 9.8 0:26.85 mysqld


    Output of pmp-check-unix-memory:
    CRIT OK Memory 10% used. Largest process: mysqld (24523) = 16519.77MB (102%)


  • #2
    From this output I see mysqld reports VIRT (virtual memory) 16.1g.
    And it is 102% from the total RAM.

    You can disable the plugin from checking the largest process in the memory by using '-d' option.
    This way the plugin will report the correct status.

    Comment

    Working...
    X