1834912 Members
3260 Online
110071 Solutions
New Discussion

Re: Problem with memory

 
CSA-PROD
Occasional Contributor

Problem with memory

I have a server k570 with hp-ux 11.0. This server has total physical memory 1024 Mb.Five days ago after reboot i see with glance that user mem was 130 Mb,today user mem is 300 Mb.I think that it's strange because on the system, there aren't any database or application.What is the cause of this situation?Thanks a lot!
5 REPLIES 5
Peter Scott
Advisor

Re: Problem with memory

It would be impossible to tie down what the memory was used for at any one time without looking at exactly what processes were running at that instant, and what user memory utilisation each running process was making at that time.

Memory allocation is dynamic and will fluctuate as time passes.
Life is a terminal sexually transmitted disease, but hey, who wants to be cured!
Steven Gillard_2
Honored Contributor

Re: Problem with memory

This may be normal, or you may have a process with a memory leak. The only way to find out is to keep your eye on what is happening. To get a sorted list of processes and their memory usage, run:

$ UNIX95= ps -eo "vsz args" | sort -n

You can then see which processes are using the most memory. If you have measureware running you will be able to view historical data as well.

One common memory leak issue on hpux 11 is with the mib2agt process - if you see this process at the top of the list then apply patch PHSS_26138.

Regards,
Steve
CSA-PROD
Occasional Contributor

Re: Problem with memory

Thanks,

I do some controls with glance, top, vmstat, sar, but i don't found nothing significant.
The other resource have not problems; cpu, disk and network are ok, but the memory is strangely used.Is it normal that without any particular application, the usage of memory is 300 mb?
what do you suggest me to try?


BYE

John Payne_2
Honored Contributor

Re: Problem with memory

If you are really worried about seeing where this memory is going, I suggest you run the x-version of glance, gpm. (gpm is the command to type.) You should open the process list if it is not opened for you. (Reports -> Process list) The process list has a column for Res Mem and Virtual memory. The Res Mem entry is the actual physical memory the process has 'Resident.'

If you go to 'help' and turn On Item to on, you can click on just about anything in gpm, and a help window will open.

You can configure gpm to list processes above a certain threshhold of Res. Mem by using the filters (Configure -> Filters).


Good Luck

John
Spoon!!!!
CSA-PROD
Occasional Contributor

Re: Problem with memory

Thanks!
I do some other controls but i don't found any particular process that has a RSS value higher than normal.User mem is always about 350Mb (of 1024Mb)