1833790 Members
2906 Online
110063 Solutions
New Discussion

Virtual Memory

 
Carlos Vanegas
Occasional Advisor

Virtual Memory

I have a server with 8 GM of Memory and 16GB for swap.

Swapifo obtain :
TYPE AVAIL USED FREE
dev 8388608 0 8388608
dev 8388608 0 8388608
reserve -2613548 -2613548

And when I use glance in section memory, I only saw:
Total VM : 2.65gb
Why??
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: Virtual Memory

I guess you are mistaken "total" for "available". This is not really the total virtual memory available on the server. It is the total virtual memory (stack+data) of all the processes on the system. As you keep on bringing up the processes, you will see it growing. The total virtual memory available on the server is given in the total line of swapinfo -t.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: Virtual Memory

OK I believe I didn't understand your question. How much are you expecting to see in your glance report?

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Uday_S_Ankolekar
Honored Contributor

Re: Virtual Memory

Check with swapinfo -tam for more detailed information on swap memory and use vmstat -n for VM info.

and output of these commands would be more helpful

-USA..
Good Luck..
Dietmar Konermann
Honored Contributor

Re: Virtual Memory

Hi, Carlos!

You're simply comparing two completely different things. Look at Glance's online help to see the meaning of Total VM (GBL_MEM_VIRT)... it has nothing to do with your configured swap.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)