Two very small Bugs

Hello All, I have two bugs and I will like to fix it by myself or knowing if someone hit the same bug and if I am not the only one.

The first bug is the stupidest one:

2 updates to system packages are available

When I open the updates there’s just one updates and its already installed:

 kernel-devel 	Development package for building kernel modules to match the kernel. 	New version 2.6.18-194.32.1.el5 	installed

Not too much bothering like the second one:

1.95 GB total, 403.00 MB used

Nice stats, isn’t it? Yes but… Wrong!

Because the 403.00 MB used… is the available memory, not the used as “free” says:

# free -m
total       used       free     shared    buffers     cached
Mem:          2001       1597        403          0        188        821
-/+ buffers/cache:        587       1413
Swap:         4031         31       4000

How can I fix this? I mean… it’s nice to go sshing here and there but sometimes I have no time to log in into SSH and check this datas manually… any workaround?

Here are some infos of the dedicated server:

Operating system 	CentOS Linux 5.5
Virtualmin version 	3.83.gpl GPL
Kernel and CPU 	Linux 2.6.35.4-4.3.0-i386-libata on i686
CPU load averages 	0.13 (1 min) 0.20 (5 mins) 0.18 (15 mins) 
Local disk space 	284.94 GB total, 21.47 GB used 
Virtual memory 	3.94 GB total, 31.46 MB used

# cat /proc/cpuinfo | grep "model name"
model name	: Intel(R) Xeon(TM) CPU 2.80GHz
model name	: Intel(R) Xeon(TM) CPU 2.80GHz
model name	: Intel(R) Xeon(TM) CPU 2.80GHz
model name	: Intel(R) Xeon(TM) CPU 2.80GHz

# cat /proc/meminfo
MemTotal:        2049176 kB
MemFree:          463840 kB
Buffers:          194236 kB
Cached:           858880 kB
SwapCached:        14112 kB
Active:           854108 kB
Inactive:         553872 kB

Thanks :slight_smile:

I answer to my self:

http://www.virtualmin.com/node/9928

But why this happen only on some Dedicated Servers? I have other two all with Virtualmin and this is the first time I hit this? Any ideas?

The memory display is the same on my Ubuntu 10.04 system.

atop reports:

MEM | tot 1.4G | free 80.2M | cache 506.7M | buff 99.9M |

And Virtualmin reports:

Real memory 1.43 GB total, 783.54 MB used

Adding the free, cache and buffers, and subtracting from “total” in atop: 746.8 MB used, which roughly matches what Virtualmin reports as in-use. So I’d say this is not really a bug.

Yes, I agree… It’s not exactly a bug but what about adding a new feature in Virtualmin?

Like, showing the free memory in two ways, one without explanation and one with explanation… I mean, something more detailed to avoid to fall in mistakes, I am always on run but yes I noticed it is not a problem, but what if some newbie wont understand what’s going?

What I dont understand is that in another CentOS 5.5 server this is not happening…

By the way, again: I agree it’s not a bug.