On Wed, 14 Feb 2001, Franco Finstad wrote:
> The problem is that at server startup I immediately have a bunch of apache
> process that are already using swap, but I have 4GB of RAM. What's going
> on??
i'm not an engineer, but i've run several sites on what i assume it
roughly the same equipment.
> It looks like the apache processes are not using all the available memory.
you don't want _anything_ using all available memory. period. you don't
want it coming over 60 or 70% total use, if possible. you must allow for
spikes.
> >From top, RES gets lower than SIZE, why?
> Should I adjust RLimitMEM, and if so, how to I determine the correct value?
res is always lower than size. size is the amount of virtual mem
allocated, res is the amount of physical ram in use.
> 393 oracle 1 58 0 374M 347M sleep 0:01 0.02% oracle
this is nuts.. 350MB oracle proccesses? what's your SGA set at? how many
instances are you running?
you need to get the web servers off of this box, or figure out what is up
with oracle.
try running ps -el to see what's actually been swapped. (the 'F' flag will
be set to 20, i think)
--
Blue Lang, Unix Voodoo Priest http://www.gator.net/~blue
202 Ashe Ave, Apt 3, Raleigh, NC. 919 835 1540
"A computer is a state machine. Threads are for people who can't program
state machines." - Alan Cox, From Larry McVoy's quote page