Computing.Net > Forums > OpenVMS > Memory usage too high

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Memory usage too high

Reply to Message Icon

Name: footsoldier
Date: August 20, 2007 at 01:05:21 Pacific
OS: VMS 7.3.2
CPU/Ram: 3gb
Product: Alpha
Comment:

hi , i have an alpha server with memory usage reported as high as over 90% during the daytime, how can i know which is the culprit using up so much precious memory. Any free monitoring tools ?



Sponsored Link
Ads by Google

Response Number 1
Name: Joseph.Huber
Date: August 20, 2007 at 08:18:44 Pacific
Reply:

Well , why is that bad ?
If the page-fault rate is permanently high, then there is a problem to be solved !

How much is used by processes at a glance is reported by SHOW SYS (the right most column under the "pages" heading).

And usually a MONITOR SYS command shows paging rates and the top page-faulting process.

MONITOR PAGE gives all fault-rates, The important numbers are those for Read/Write I/O rate.

Finally, when a certain process is identified as heavy faulter, do a
SHOW PROCESS/ALL/ID=<process_id> ,
and see the peak virtual size and other memory related items.
If processes are heavy faulting, consider to adjust it's memory quotas ( WSQUOTA and WSEXTENT in AUTHORIZE).

And in addition, reading the VMS system managers manual(s) is always a good thing.


0

Response Number 2
Name: Joseph.Huber
Date: August 21, 2007 at 00:23:40 Pacific
Reply:

I forgot :
MONITOR PROCESS/TOPFAULT
This shows and identifies the most page-faulting process name/ID.


0

Response Number 3
Name: Bob Gezelter
Date: August 22, 2007 at 02:06:07 Pacific
Reply:

footsoldier,

It is also possible that this is an intended behavior.

90% is indeed a large number, but with today's memory sizes it is not unusual for systems dedicated to certain applications (e.g., large databases) to have very large dedicated memory caches.

In addition to the MONITOR commands that were mentioned by Joe Huber, you should also do a SHOW MEMORY/FULL command to display actually what is being used for what purpose.

While it is worth investigating, 90% memory usage is not, in an of itself, a bad thing. It can be a bad thing or an ok thing, depending on the context. It is however, at least a potential limit on growth and should be understood.

A thorough read of the documentation relating to performance tuning is also certainly appropriate.

As a consultant, I have assisted clients with such questions for many years. The one constant is the variations that I see in client configurations. I have seen some situations where what is reported in your post is normal, appropriate, and intended. I have seen other situations where it is caused by a serious error. I have seen still other situations where it is intentional, but is not the most efficient use of resources to achieve the desired effect.

The best advice that I can give is: Investigate with care. If fresh thoughts are desired as to the configuration and it use, retain outside expertise with experience in these matters (disclaimer: My firm does provide consulting services in these areas).


0

Response Number 4
Name: footsoldier
Date: August 22, 2007 at 19:29:57 Pacific
Reply:

hi all,
thank your for your kind advice, really appreciate.
How do i make sense of the monitor process/topfault numbers ? it shows a scale of 0 to 20, and constantly jumping nos. next to it. The one with the highest no. is the top page fault?


0

Response Number 5
Name: Joseph.Huber
Date: August 23, 2007 at 00:37:14 Pacific
Reply:

First, You can start MONITOR without arguments in interactive mode.
There is an online help inside.
To make the top line less quickly changing,
do e.g. a SET PROCESS /INTERVALL=10
This way You can catch the process-ID one-by-one.
And please read the monitor documention, at least HELP MONITOR. It shows You also how to place monitor data output in a file for a specified time period (see the /DISPLAY and /ENDING qualifier).


0

Related Posts

See More



Response Number 6
Name: Bob Gezelter
Date: August 23, 2007 at 03:37:05 Pacific
Reply:

footsoldier,

With all due respect to Joe, I am not sure from the posting that the page fault rates are the first place to look.

Please remember that some page faulting is inevitable, and not a problem. Spikes in page faulting are also normal. Similarly, sustained large amounts of page faulting are not abnormal with certain workloads.

Additionally, the initial posting said that "90% of memory was in use", not that there was an excessive amount of page faulting. My general recommendation, admittedly made without details of the system workload, would be to first identify what the memory is being used for, not the page fault rate.

I would also recommend considering installing the T4 package available free from the OpenVMS www site at http://www.hp.com/go/OpenVMS (then search fro "T4"). Presently, the link is: http://h71000.www7.hp.com/OpenVMS/p...

T4 will allow the collection and storing of a data collection that can then be repeatedly analyzed in detail.

I respect Joe's opinion, but I am not sure why we are presuming that the page fault rate is high, rather than say a pre-allocated database cache or other structure.

- Bob Gezelter, http://www.rlgsc.com


0

Response Number 7
Name: Joseph.Huber
Date: August 23, 2007 at 08:16:51 Pacific
Reply:

Bob, yes right, therefore I started my first reply with an IF, I mean if no other reason (like the XFC file cache You mentioned and visible in SHOW MEMORY).
IF the 90% memory usage is not due to cache, THEN : if no high paging rate, then it is o.k., but not much processes/users can be added without more paging.

And by the way: if file cache is taking half of the memory (the default), then You can gain memory as needed by changing system parameter VCC_MAX_CACHE, which is a dynamic parameter (If file I/O speed is not that imported on a system).


0

Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Memory usage too high

calculating current memory usage www.computing.net/answers/openvms/calculating-current-memory-usage/533.html

OpenVMS: threshold for swaping www.computing.net/answers/openvms/openvms-threshold-for-swaping/175.html

question about performance www.computing.net/answers/openvms/question-about-performance/534.html