Small Mosaic


Categories:

/books
/career
/codinghorrors
/events
/geekstuff
/justdont
/languages
/languages/bash
/linkshot
/magazines
/meta
/misctech
/movies
/nottech
/operatingsystems
/operatingsystems/linux
/operatingsystems/linux/debian
/operatingsystems/solaris
/perl
/presentations
/programming
/python
/ruby
/security
/security/apache
/security/tools
/serversmells
/services
/services/dns
/sites
/specifications
/sysadmin
/testing
/tools
/tools/commandline
/tools/firefox
/tools/gui
/tools/network
/tools/online
/tools/online/greasemonkey
/tools/puppet
/unixdaemon

Archives:

July 20111
June 20112
May 20113
April 20112
March 20117
January 20111
December 20103
November 20103
August 20101
July 20101
June 20104
May 20102
April 20101
March 20108
February 20101
January 20102
Full Archives

Tue, 08 Jul 2008

More Memory Than Sense
My recent bugbear is - servers with inaccessible memory.

You go and spec a nice new server with say 8Gb of RAM (a little box), you install Debian, you start adding applications to the machine and then a couple of months later some anal sysadmin comes along, does a free -m and mutters about under-specced virtualization servers when he sees -


             total       used       free     shared    buffers     cached
Mem:          3287        225       3062          0         24        149

For those of you not paying attention - the machine isn't using over half of it's memory. So first of all how do you spot this and secondly how do you fix it?

If you're on Debian then the spotting is easy (for some hardware) - apt-get install lshw

and then run lshw -class memory | grep -A 4 '\-memory'. If the size is bigger than the total from free then you've got wasted resources.

The fix? Install the right bigmem kernel. And then recompile VMware server. Dammit.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2008/07/08 19:55 | /serversmells | Permanent link to this entry | This entry and same date


Copyright © 2000-2010 Dean Wilson XML feed logo