Swap and memory optimization

Bill Moran wmoran at potentialtech.com
Thu Oct 1 11:39:48 UTC 2009


bsd <bsd at todoo.biz> wrote:
>
> Hello,
> 
> I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1
> Works quite well.
> 
> As I plan to put 100 more mail accounts soon on the server I was  
> wondering if the memory & swap was ok on the server considering these  
> figures:
> 
> 
> last pid: 18956;  load averages:  0.04,  0.11,   
> 0.05 
>                                                                                                     up 
>   19+08:36:23  09:53:38
> 125 processes: 1 running, 124 sleeping
> CPU:  0.0% user,  0.0% nice,  1.5% system,  0.4% interrupt, 98.1% idle
> Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free
> Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse
> 
> 
> Though It looks good to me - the server swaps a bit (between 8 to 14%)  
> and there is not much memory left.

Looks like the server would run more smoothly with a bit more RAM.  At
least an additional 256M, I would think, but considering the price of
RAM, you might as well just up it to 2G.

-- 
Bill Moran
http://www.potentialtech.com


More information about the freebsd-questions mailing list