On Thu, 2004-04-22 at 00:24 +1000, [EMAIL PROTECTED] wrote: > I've (finally...) chipped up my web/mail server to 1GB RAM, I see it still > has some nominal swap used, I guess that's expected ?
Yeah. IIRC Linux will allocate heaps of memory to disk caches if it's got "too much". Likewise, if you're in a low-memory situation, it'll dump the disk caches first. It's likely not indicative of any problems. Swap could be being used by tmpfs, or any of the other magic things that Linux systems do these days. > > ---- > 12:15am up 1 day, 14:01, 2 users, load average: 0.01, 0.00, 0.00 > 120 processes: 119 sleeping, 1 running, 0 zombie, 0 stopped > CPU states: 0.1% user, 1.9% system, 0.0% nice, 97.8% idle > Mem: 1023128K av, 1002348K used, 20780K free, 0K shrd, 111532K buff > Swap: 522104K av, 22940K used, 499164K free 655556K > cached > ----- > > how can I asses how much resources do things like Postfix, Apache, PHP etc > consume ? There's a nifty program to track that over time which may or may not be called "sar". If that is its real name, it is likely to be in a package called sysstat. Anyway, look into it, it's very handy for this kind of thing. -- James Gregory <[EMAIL PROTECTED]> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
