reducing size of apache instances

John Almberg jalmberg at identry.com
Fri Sep 11 20:21:03 UTC 2009


> You've misunderstood what you've done.  You have not saved a couple of
> MB, you've saved one.  Of the 18 MB, nearly all of it is shared memory
> which is only loaded once.

Ah... Okay. That actually makes sense. Thanks for the clarification.

> 1GB web server is more than enough for basic www server, even more.

I would have thought, but some times it really gets slow and I'm trying 
to figure out why. When bogged down, the load averages are low. The main 
thing that looks out of whack is swap space, which seems to never go 
below 7%, but sometimes gets up into the 20%-30% range. When it gets 
that high, the server slows to a crawl.


last pid: 12732;  load averages:  0.44,  0.31, 0.27 
                                                   up 34+03:57:58  16:16:27
187 processes: 2 running, 185 sleeping
CPU:  4.5% user,  0.0% nice,  1.1% system,  0.0% interrupt, 94.4% idle
Mem: 425M Active, 106M Inact, 268M Wired, 3160K Cache, 110M Buf, 176M Free
Swap: 2008M Total, 150M Used, 1858M Free, 7% Inuse


More information about the freebsd-questions mailing list