On Fri, Sep 11, 2009 at 3:20 PM, John Almberg <jalmb...@identry.com> wrote:
> > 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 > > > You're on the right track pursuing whatever is consuming swap. Are there any other services running on the system which may be consuming mem? eg postgresql? You can start eliminating unnecessary services, and limiting memory by app. php.ini contains a knob for this. Plus as mentioned before limiting number of connections may help depending on what other things system is running. -- Adam Vande More _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"