- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 01:53 PM
08-08-2002 01:53 PM
I meet one tricky memory problem in my system. After I restarted the workstation, the background process uses 19% physical memory(700MB). I have one program that uses 350MB memory.I run this program for 16 hours. Then I KILL this program. I check the memory, I found that the background process used up 60% memory now.
I do not think this is because of my program.The reseaon is that the program died, all the resouce that the program used are released.
Would someone tell me if there is other reason for this problem?
Thanks a lot.
zhiyong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 01:59 PM
08-08-2002 01:59 PM
Re: memory problem
There is not enough data to answer your question. This could be perfectly normal or you could have a memory leak. It's not clear whether this is code that you have written or if it is a program that you merely execute.
Is the background process related to this program? One possible explanation is that the code is using shared memory and that is not being detached and removed. You must provide more data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 02:26 PM
08-08-2002 02:26 PM
Re: memory problem
Thanks for your help.
I check "malloc" in my program, they all have dmalloc. I also do not use shared memory in my program. The program does not relates to the background process.
In my workstation, glance is expired. The type of workstation is 10.20 B180L. is there any other way to get more information about memory?
Thanks a lot! I appreciated it.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 03:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 03:16 PM
08-08-2002 03:16 PM
Re: memory problem
My program include java interface and C network code. There is exit button in the interface, I click that exit button, the whole program will exit. I uses "ps -ef", I do not find the program process.
Thanks a lot for help.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 03:29 PM
08-08-2002 03:29 PM
Re: memory problem
UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn | more
You may find CDE or some other Xwindow processes have grown in size, or you may see an SNMP process has grown to hundreds of megs. If you don't need SNMP processes running, you can turn all for the SNMP processes off in /etc/rc.config.d, or get the patches for the big memory leak.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 04:52 PM
08-08-2002 04:52 PM
Re: memory problem
Thansk a lot for help.
I check the information about process before restart workstation and after restart workstation. I do not find much difference. The result are attached. One part of file is called "beforeReboot", this file contains the process information which i run the program for 18 hours and background process occupy 60% memory after I exit the program. Another part of file is called "afterReboot" which contains the information after reboot and background process occupy 19% memory.
Thanks a lot for your help.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 05:47 PM
08-08-2002 05:47 PM
Re: memory problem
Memory usage of 19% and 60% will be normal if there are online processes running on the system. How did you check the memory usage ? Did you check it through GlancePlus? Glance will give you the exact amount and percentage. If you are concerned about some process, then check the process resource usage and total running process at a time. Check your kernel parameter dbc_max_pct and reduce it to a lower value (10%) if it is set to the default (50%). Also while killing the process, start from kill -15 instead of a sudden death - kill -9. Check all background processes running on the system when there is a high memory usage. I would defenitely concerned if there is swapping and paging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 02:13 AM
08-09-2002 02:13 AM
Re: memory problem
If so, then that is *not* the memory used by the process(es).
HP-UX uses main memory (RAM) like a cache and a good cache is always full. In order to allow small processes to start quickly, HP-UX keeps memory nearly full, at around 95% or less. I.e. a "Mem Util" of (around) 95% is *good*, not bad.