[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Finding memory requirements
- Subject: [cobalt-developers] Finding memory requirements
- From: "Matthew Nuzum" <cobalt@xxxxxxxxxxxxx>
- Date: Wed May 8 18:50:01 2002
- Organization: Bearfruit.org
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I'm working on a program for a Raq3 or higher, and I'm starting to feel
that it uses too much RAM. However it's difficult for me to calculate
how much it's actually using.
The application is a web based prog that uses HTTPD and PostgreSQL
heavily. I have a server that is only running this application and I'm
trying to calculate exactly how much RAM postgres is taking up and how
much apache is taking up.
Due to the shared mem, the large number of processes running and maybe
just not knowing about the various tools for checking this stuff, I'm
finding it hard to decide if my app will run on a standard Raq3/Raq4.
How do you typically find out how many resources are used by an
application?
For example, a Raq3i with 512 MB Ram and NO traffic at all is reporting
this to me:
total used free shared buffers
cached
Mem: 517188 470344 46844 85244 98756
320180
-/+ buffers/cache: 51408 465780
Swap: 131532 3180 128352
I find that a little disturbing, personally. I feel that most of the
RAM being used is by PostgreSQL, so I'd like to consider some fine
tuning measures. However I need a way to accurately measure my before
and after.
Any pointers?
Matthew Nuzum
www.bearfruit.org
cobalt@xxxxxxxxxxxxx