#4247 Ram used shows wrong since 1.632

1.630
closed-fixed
nobody
None
5
2013-05-24
2013-05-23
Silvercn
No

Hi, I recently upgraded Webmin to 1.632
It appears that my used RAM is wrong.
I run Debian 6.0 on a OpenVZ kernel.¨
Output from Webmin panel:
"Real memory: 16 GB total, 8,59 GB used"
Output from free -m:
"total used free shared buffers cached
Mem:16384 3412 12971 0 0 421"

1 Attachments

Discussion

  • Silvercn
    Silvercn
    2013-05-23

    Before getting asked:
    My user_beancounters file:

    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    39356: kmemsize 66068691 66957312 201326592 209715200 0
    lockedpages 0 0 8192 8192 0
    privvmpages 2231625 2233322 4194304 9223372036854775807 0
    shmpages 1078 1078 50176 50176 0
    dummy 0 0 9223372036854775807 9223372036854775807 0
    numproc 503 525 4116 4116 0
    physpages 873649 875920 4194304 4194304 0
    vmguarpages 0 0 2097152 9223372036854775807 0
    oomguarpages 746924 746924 2162688 9223372036854775807 0
    numtcpsock 89 97 4116 4116 0
    numflock 38 40 1024 1056 0
    numpty 8 8 512 512 0
    numsiginfo 0 21 1024 1024 0
    tcpsndbuf 1603392 1742912 33554432 50331648 0
    tcprcvbuf 1503760 1634832 33554432 50331648 0
    othersockbuf 222712 231168 16777216 33554432 0
    dgramrcvbuf 0 0 33554432 50331648 0
    numothersock 201 202 4116 4116 0
    dcachesize 37745627 37748450 36700160 37748736 0
    numfile 3565 3630 32768 32768 0
    dummy 0 0 9223372036854775807 9223372036854775807 0
    dummy 0 0 9223372036854775807 9223372036854775807 0
    dummy 0 0 9223372036854775807 9223372036854775807 0
    numiptent 18 18 1024 1024 0

     
  • Jamie Cameron
    Jamie Cameron
    2013-05-24

    Have you applied the fix to the Running Processes module from http://www.webmin.com/updates.html ?

     
  • Silvercn
    Silvercn
    2013-05-24

    Yes, i installed it via Webmin Update.

    "Running Processes 1.632 Fixes total and free memory display on OpenVZ system"

     
  • Jamie Cameron
    Jamie Cameron
    2013-05-24

    This is because the beancounters file is used to get the amount of memory used, but it isn't reliable for that purpose. I will fix this in the next Webmin release.

     
  • Jamie Cameron
    Jamie Cameron
    2013-05-24

    • status: open --> closed-fixed