Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 1995 14:55:53 -0400 (EDT)
From:      Network Coordinator <nc@ai.net>
To:        hackers@freebsd.org
Subject:   Memory usage of BSD
Message-ID:  <Pine.BSF.3.91.950812144435.18349A-100000@aries.ai.net>

next in thread | raw e-mail | index | archive | help

I am trying to configure a couple of dedicated servers, primarily for www 
usage. These will be Pentium boxes running at least 20 httpd daemons and 
a named. There shouldn't be more than 1 or 2 shells running. I am trying 
to decide how much memory to put in these boxes to prevent disk swapping 
and thereby get the best performance for CGI-BIN type work.

We have a server that has 18 HTTPd's running, about 6 tcsh's, pine, 6 
gettys, and a number of other little things, but all of the daemons 
aren't exactly active all the time. This server has 32 megs of memory and 
get around without using swap space, but at the moment is carrying 11 
megs of SWAP that isn't being used very much. Then again, I can't really 
say whether it is or not. No process running takes more than say .3% of 
system memory, and 0% of system CPU time. Yet pine can take 10% of memory 
and named 8%. I have tried using systat, vmstat and just about everything 
I can think of to get hard numbers on what memory is used, how much it 
needs, etc, but can't seem to get consistent numbers in units I 
understand. 

This is what Top says:

Memory: 19M Act 2180K Inact 5136K Wired 2136K Free 18% Swap

According to the man page, I would expect values in the swap area, but I 
see none. 

Anyway, after all of this, my question is two fold. 1) Does the server I 
am talking about here have too little memory for what it does? [Its 
been up for 20days with similar statistics] and 2) Could I put a 
dedicated WWW server up with 16 megs of RAM with 20 httpd's or will I 
need 32? [By could, I mean would it be a smart thing to do or not]. 

How much memory does BSD need minimum anyway?

thanks,

-Jerry.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950812144435.18349A-100000>