Visit Our UNIX and Linux User Community


vmstats interpreting


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users vmstats interpreting
# 1  
Old 02-21-2002
Data vmstats interpreting

We are having performance issues on an alpha4100 server.
I can't paste a snapshot of my vmstat in here, but...

We have 4gb of memory. The actual memory stays consistant around 306k. Free is dropping into the 120 area. Wire is around 206k consistantly. consistantly.
My manual says that unix should be intelligent enough not to run out of memory.
We have 0% idle cpu. some page out.
Our online transacations seem to be "not too bad" but many of the things running at the command level are poor.
If the free memory is dropping this low and we have 4gb of memory, shouldnt the used be going up proportionally?
would this be indicative of a memory leak?
# 2  
Old 02-22-2002
There is not much to go on here since you are keeping the vmstat output secret, but I can make a few comments.

I'm not familiar with alphas, but few versions of unix work very well when main memory is exhausted. The only risc based unix system that I ever seen keep its head above water under this condition is HP-UX. And HP-UX does it by "deactivating" some processes rather than attempting a swap. A deactivated process cannot run at all.

It is literally true that you cannot allocate every page of memory, but performance suffers badly when you don't have enough just the same.

If you are getting "some" pageouts, then you will see "some" benefit from more memory.

0% idle time is also very bad news and if this lasts for long periods, it may be your real problem.

Can you add another cpu? And more memory? Talk to your salesperson and see if can arrange to borrow these items. Then you can see how well they address your problem and decide if they are worth the cost.
# 3  
Old 02-22-2002
Tools

We are maxed out on cpu and memory. It would be nice to have room to grow.

I'm not keeping the vmstat a secret.. I could not get it in a format that would paste into the message area on this posting and be readable. I would have had to re-type it.

What I'm not sure on is if I "SHOULD" see the active memory go up when the free memory goes down. It sounds logical that I should, but the tuning manual says that free memory plus wire should total "around" the total memory capacity. But it doesn't.
I'm not sure if overhead memory doesn't show, because we are short approx 50k pages in the memory reporting.
When we took the apps down, there was still 53k pages in use. After booting, there were 11k in use.
It never shows me the full 4gb in use even when the free goes as low as 20 pages...
# 4  
Old 02-22-2002
What do you mean by "wire"? I haven't heard that term in relation to vmstat before.

Again I don't know your system, but active memory is normally memory which has been used in the past 20 seconds (and perhaps a few other pages that waiting for disk operation to finish that somehow has exceeded 20 seconds). "free memory" is on the free list and can be reused at will. In between you have some stuff that is not free but hasn't been used recently either. Run this command line:
sleep 100000
and the process you create will be active for 20 seconds. After that, no it isn't free, nor is it active. I've seen inactive telnet sessions that last for months waiting the next command. When memory like this is freed, it tends to stay freed for a long time. Active memory is a real problem...you page it out and you will probably need to page it back in very quickly.

Previous Thread | Next Thread
Test Your Knowledge in Computers #157
Difficulty: Easy
The US Department of Defense declared TCP/IP as the standard for all military computer networking in March 1982,
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Interpreting multiple values from a variable

Hi, I am writing a shell script which will check the status of a resource in a cluster and then display nicely to a user running the script at command line. Basically the script runs a status command and then pulls certain keywords from the return and then should display a concise status. ... (5 Replies)
Discussion started by: chris01010
5 Replies

2. Solaris

Interpreting xntpdc output.

Hi. I wonder what the equal sign in front of the answer means. I have read man pages and googled but found no answer. xntpdc -p =15.5.64.3 15.5.2.51 3 512 377 0.02060 0.057426 0.04965Thanks. Jan (1 Reply)
Discussion started by: vettec3
1 Replies

3. Shell Programming and Scripting

Need help interpreting a function

Hi, i was reading through a sample coding and came across this function, can anyone pls help to interpret the code for me. Thank alot find_lines() { res=-1 if ; then grep -i "$@" $FILENAME res=$? fi return $res } (2 Replies)
Discussion started by: Cheranime
2 Replies

4. UNIX for Dummies Questions & Answers

interpreting netstat output

hi all, when I run- wcars1j5#netstat -an | grep 8090 127.0.0.1.8090 *.* 0 0 49152 0 LISTEN wcars1j5# 1. does this mean that no one is connected to this port? Regards, akash (1 Reply)
Discussion started by: akash_mahakode
1 Replies

5. Linux

Interpreting the encrypted shadow password?

We are currently using a script to copy the same encrypted password between our HP-UX and Solaris servers editing the trusted and shadow files directly. The encrypted password is only 13 characters long on both servers and decrypts the same way. Is there a way to copy this same string to Linux... (5 Replies)
Discussion started by: keelba
5 Replies

6. Solaris

solaris way if interpreting devices?

Hi all, I wanted to know the solaris way of interpreting devices? I mean i understand all those c0t0....stuff but when i start mounting devices , most of the times i get either a I/O error or it says that the directory does not exist. eg: I have a external usb hub to which i have connected... (1 Reply)
Discussion started by: wrapster
1 Replies

7. UNIX for Dummies Questions & Answers

interpreting email log: ndel=

My user claims that some of her email disappeared. I went through the mail log and it seems that she deleted the messages herself from home via webmail. Here are the entries in the mail log: Nov 25 21:27:38 wp5 ipop3d: Login user=somebody@somewhere.com... (1 Reply)
Discussion started by: mstarcom
1 Replies

8. UNIX for Dummies Questions & Answers

Shellscript Interpreting

I am trying to interpret the following shellscript and am having a very difficult time. Could one of you Unix gurus pleasssseeee help me out? You just won't know how much of a life saver you would be for me. PN=`basename "$0"` # Program name VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2` ... (3 Replies)
Discussion started by: Ann
3 Replies

9. UNIX for Dummies Questions & Answers

Interpreting netstat -s

Are there any references I can look up for to interprete "netstat -s", especially those on TCP statistics. (6 Replies)
Discussion started by: deaniyoer
6 Replies

Featured Tech Videos