- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory leak
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
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
07-26-2002 05:15 AM
07-26-2002 05:15 AM
memory leak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 05:22 AM
07-26-2002 05:22 AM
Re: memory leak
Can you run:
# top -d 1 -f /tmp/top.txt
# swapinfo -tam > /tmp/swapinfo.txt
And post them here.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 05:23 AM
07-26-2002 05:23 AM
Re: memory leak
UNIX95= ps -e -opid,vsz,args
this will give you the PID, size in KB of the process and the command, with arguments.
It's also possible that the process size could have exceeded the value of maxdsiz kernel parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 05:23 AM
07-26-2002 05:23 AM
Re: memory leak
Can you post the output of sysdef as well
# sysdef > /tmp/sysdef.txt
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 05:37 AM
07-26-2002 05:37 AM
Re: memory leak
here is information from: top/swapinfo/sysdef all put into one file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 05:57 AM
07-26-2002 05:57 AM
Re: memory leak
Found something. Your swapinfo output says that out of 12GB swap space, about 9GB (9266Mb) has been reserved for active processes. That is quite a lot.
Can you rerun the top command for me as follows:
# rm /tmp/top.txt
# ps -ef | wc -l
# top -d 1 -n
and:
# kmtune -l > /tmp/kmtune.txt
and post them here.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 06:09 AM
07-26-2002 06:09 AM
Re: memory leak
I guess someone used the share memory never released, but how to find who use the share memory? here is the info attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 06:17 AM
07-26-2002 06:17 AM
Re: memory leak
Can you post this output as well:
# ipcs -mbop > /tmp/smem.txt
Thanks.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 06:24 AM
07-26-2002 06:24 AM
Re: memory leak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 07:13 AM
07-26-2002 07:13 AM
Re: memory leak
Here is what I see.
- your ipcs output is normal.
The total shared mem required by big users oracle, rgsoln* added up to roughly 1GB out of 4GB RAM which is, I believe, acceptable.
From the top output, I see:
- Many users spawns quite a few xterm, tcsh sessions which each requires roughly 1M swap space. Adding them up may result in a big sum of needed swap space. However, they are still not big swap-consumers here.
- There are several DBs of which each process consumes about 30MB swap space. Again, they are not an issue here.
- Now come the main eaters of swap space, rgsoln* users. I counted roughly 61 rgsoln* processes from the top output, each of which consumes about 110MB swap space. Do the math, you will see that together they occupy more than 6GB out of the 9GB swap space currently allocated to processes. I believe that the processes themselves play the main role in your swap space issue.
Now come some recommendations:
- Reduce the size of rgsoln* processes if possible. Or:
- Create more swap space.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2002 07:23 AM
07-26-2002 07:23 AM
Re: memory leak
Thanks for your help.
I will keep watching these process.
Jerry