Hi, I recently upgraded Webmin to 1.630
It appears that the RAM calculation has broken completely.
I run CentOS 6.4 on a OpenVZ kernel.¨
Output from Webmin panel:
"Real memory: 256 MB total, 173.89 MB used"
Output from free -m:
" total used free shared buffers cached
Mem: 1024 704 319 0 0 0 "
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Picture...
Could you post or attach the /proc/user_beancounters file on your system? Webmin 1.630 uses the privvmpages line from that file to work out the memory limit under OpenVZ.
Not the same user as above but seeing the same issue.
Currently on Webmin 1.650 and I guess I didn't notice this after the 1.630 upgrade.
Kernel and CPU Linux 2.6.32-042stab079.5 on x86_64
Processor information Intel(R) Xeon(R) CPU X3220 @ 2.40GHz, 4 cores
Attached similar screenshot plus my beancounters:
This is on the host node. The containers seems to report memory correctly.
Jon - could you also post the contents of your /proc/meminfo file?
Here you go, Jamie:
Status --> System and Server Status
Ok, I see the problem - for some reason, your /proc/user_beancounters file has multiple privvmpages lines! Webmin doesn't expect this, and is using the last one to get the RAM limit, which is clearly wrong. I will fix this in the next Webmin release.
The code change that fixes it can be seen at : https://github.com/webmin/webmin/commit/6ed31c6d1c453d42660182a933b2d3ba7f29eefc
That's because this is the host node. Individual containers have only one but the host node contains the bean counters for all containers. The host node is "0" and is last in my /proc/user_beancounters but I don't know for sure if that's always the case.
Thanks for the quick turnaround!
Jon
Last edit: Jon Bogan 2013-08-19