On Tuesday 04 April 2006 08:12, Jon wrote:
> I have 160MB RAM on my VPS (yes, I know…I need more, but that's for another
> day) and whenever I log on and check, it's always used up down to the last
> 2-3MB, but not swapping yet. One part of me says that's good - Linux is
> using as much real memory as possible before swapping. The other part of me

the important numbers in you screenshots there are the buffers/cached 
entries... you'll see that you have 92MB or so of buffers/cache, and really 
"only" <69MB actually used. the buffers and caches are used to store recently 
accessed files (among other bits of fun) in memory so that the kernel doesn't 
have to hit disk again (moving atoms is ++slow) when accessing that data.

view it as a dynamic, transparent ram disk that uses whatever RAM your apps 
aren't, resulting in a snappier system.

> there's an awful lot of apache2 and mysqld processed running.

both of these servers spawn multiple processes or threads (depending on how 
they are configured) so you'll see them multiple times in the listings. each 
process has a bit of overhead (and you can tune how many of these get 
launched at once) but allow for snappy response to incoming requests. 
essentially there's a pool of workers that just wait for the next call to 
action (client request).

hth.

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)

Attachment: pgpRCvmRNMJSf.pgp
Description: PGP signature

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to