Quote:
Originally Posted by
GarciasMuffin
We have an issue on our lpar where the pin memory usage slowly and regularly increases approx 1.5% a day until it reaches its 80% threshold
It is obvious you have an application with a memory leak. Complain with the softwares makers, whoever it may be. This is not acceptable.
Quote:
Originally Posted by
GarciasMuffin
We have to regularly reboot the lpars to release the pin memory as we have found that killing all processes does not release it.
Have a look at "ipcrm" and "ipcs" ("man ipcrm", "man ipcs"), it is probably not necessary to reboot the system.
Quote:
Originally Posted by
GarciasMuffin
I have monitored any constantly running processes that increase in memory usage with time by monitoring the output of ps vg.
Good try. Maybe "ps -Alo pid,comm,vsz" will serve you better in this case. Sort the output for column 3 to get the top memory users.
Quote:
Originally Posted by
GarciasMuffin
Is monitoring svmon -P going to help me find the cause of this issue and if so, monitoring which figure in following example of a process when running svmon -P, will show me the process is increasing in pinned memory usage to cause the increase we are seeing. I know the obvious answer would be 'the one that says pin above it' but there are three of them in the example.
The 3 distinct statistics shown by "svmon -P" are just different views of the matter. Use the number in the first part, it is for your purposes as good as the others. The first part is the overview, the second part shows the utilization of the different memory page sizes and the last part is a detailed list of memory statistics for the process' inner workings. You won't need that just to identify a memory hog.
I hope this helps.
bakunin