[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is sufficient free memory?



Erik, linux will always use almost 100% of the memory (unless you have a
BUTTLOAD of extra (ie. 512MB RAM)) for buffers and things like that.

For example:

skank:~# free
             total       used       free     shared    buffers     cached
Mem:         62956      61460       1496      15432       2064      12864
-/+ buffers/cache:      46532      16424
Swap:       102780      15476      87304

I only have 1396 bytes of memory free, and this machine has alot of
processes running on it. What you really want to watch out for, is using
alot of the swap. If your computer constantly dips heavily into the swap,
it's time to add more memory.

I recently increased the tasks that the above box needs to perform (mysql
database for one, apache for two) so the memory requirements have no
increased. Before, 64MB was more then sufficient. Now, it can handle it,
but i would feel more comfortable with 128.

I would suggest upgrading your box to 128MB at minimum as you are using a
healthy portion of the swap, and being as how important that machine SEEMS
(ie. the number of important tasks it performs) You may want to at least
buy another stick of 128 as well, in case one of them goes bad, you'll
have sufficient memory to run on in the mean time of a replacement.

On Wed, 30 Aug 2000, Erik Peter P. Abella wrote:

| Hello All,
| 
| I had problems with the RAM (128MB SDRAM DIMM) of my server and the only
| spare I had was (64MB SDRAM DIMM).
| 
| Hear is what top says:
| 
| 70 processes: 69 sleeping, 1 running, 0 zombie, 0 stopped
| CPU states:  0.1% user,  0.7% system,  0.0% nice, 99.0% idle
| Mem:   63124K av,  61296K used,   1828K free,  36880K shrd,   7712K buff
| Swap: 104380K av,   3128K used, 101252K free                 35860K
| cached
| 
| I'm a little worried that the harddisk might thrash as there's hardly
| any more memory to spare (1828K free). This server is pretty much an
| "all-in-one" box running DNS, squid, postfix, apache and radius (I have
| 17 modems on it's cyclades). Any recommendations on the "bare-minimum"
| RAM for this configuration? The suits at our purchasing division are
| "stiff" at best so when I make the requesition for the replacement, I
| need to know if I need to "demand" that they "immediately" cough-up the
| 128mb (or more).
| 
| 
| Thanks in advance,
| 
| 
| Erik
| 
| 
| --  
| To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
| with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| 
| 

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  1:50pm  up 110 days, 19:53,  4 users,  load average: 0.10, 0.19, 0.37



Reply to: