- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory leak in HP-UX 11.00 NFS
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
02-14-2001 02:45 PM
02-14-2001 02:45 PM
Memory leak in HP-UX 11.00 NFS
Does anyone know of a patch available that fixes this problem? A search of the patch database with the keyword "nfs" did not appear to come up with anything I have not already installed.
Attached is a copy of my program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 09:45 PM
02-14-2001 09:45 PM
Re: Memory leak in HP-UX 11.00 NFS
PHNE_20344 is a recalled patch that fixed the memory leak in NFS v3 in HP-UX 11.00 for readdirplus ().
======================================
libnfs.a
SR:8606110199
DTS:JAGab82902
Memory leak in NFS version 3 at rfs3_readdirplus().
======================================
I suppose you have already given its superceding patch PHNE_22125 a try since you have already installed the Dec 2000 patch bundle?
Perhaps you would want to swlist to confirm that this patch is in.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 11:46 PM
02-14-2001 11:46 PM
Re: Memory leak in HP-UX 11.00 NFS
I agree with Steven above, but had an issue with having to reload cumulative patches for results. Perhaps you could set NFS server and client to 0 in the /etc/rc.config.d/nfsconf and reboot, then try reload abovementioned patch.
BTW: nice command to find memory leaks:
UNIX95= ps -e -o ruser,vsz,pid,args | sort -rnk2 | more
Note the space after UNIX95=
This lists all processes on the system and how much memory they take.
Cheers
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 02:43 PM
02-15-2001 02:43 PM
Re: Memory leak in HP-UX 11.00 NFS
At this time there is still a memory leak, but I can not attribute it to any process. It is substantially smaller than before the mib2agt patch was applied, but it is still there.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 11:00 PM
02-15-2001 11:00 PM
Re: Memory leak in HP-UX 11.00 NFS
I did a search for "memory leak" under the patch database and came up with a few.. particularly the lan cumulative patch. Did the command I mentioned above pick up any specific leaks of any major consequence?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2001 02:26 PM
02-19-2001 02:26 PM
Re: Memory leak in HP-UX 11.00 NFS
After growing the number of files in the NFS server directory, I have now managed to cause my C3600 to grind to an absolute halt. vmstat shows all memory is allocated, and top shows vhand to be the top process - no surprise there.
Unfortunately, I have been utterly unable to track down exactly what is causing the memory to be allocated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 12:27 AM
02-20-2001 12:27 AM
Re: Memory leak in HP-UX 11.00 NFS
1)swap size
2) amount of memory in the C
3) the parameters maxdsisz, maxtsisz and maxssisz as well as maxswapchunks from your /stand/system file (if they aint there check SAM, but this indicates that they haven't been pumped up)
4) also if you could a cut-n-paste of the top output.
Have you got a demo copy of glance running on the machine, this may also help drill down to the problem and would be prudent to load.
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2001 01:34 PM
02-22-2001 01:34 PM
Re: Memory leak in HP-UX 11.00 NFS
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
reserve - 114528 -114528
memory 381448 106964 274484 28%
#
# The following vmstat occurred after some of the RAM
# appears to have been leaked. It starts with some
# 87000 free.
#
# vmstat
procs memory page faults
cpu
r b w avm free re at pi po fr de sr in sy
cs us sy id
0 0 0 4297 67877 65 17 0 0 17 0 0 142 1318
47 1 2 97
#
The C3600 has 512MB RAM.
maxdsiz 0XC0000000
maxdsiz_64bit 0X400000000
maxfiles 200
maxfiles_lim 2048
maxssiz 0X04FB3000
maxssiz_64bit 0X10000000
maxswapchunks 4096
maxtsiz 0X40000000
maxtsiz_64bit 0X100000000
------Note:
After downloading and installing over 100MB of additional patches, it appears that things are working better, at least with the "ls -f1" command. It still takes forever, but the memory leak in that case seems to be gone. Why "ls -f1" should require over 1GB of virtual space to list (unsorted) 8 million short pathnames is rather ridiculous, but that's a different problem.
Using my "ls -f1" replacement program (supplied above), I detected a memory leak, but after reapplying an ARPA related patch that leak seems to have gone away.
Weird!
It is also rather strange to find that swlist does not list all of the patches installed. I had to "what /stand/vmunix" to find many of the kernel and some of the network related patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2001 03:42 PM
02-22-2001 03:42 PM
Re: Memory leak in HP-UX 11.00 NFS
If you have a recent (trial) version of Glance, you can
try the following. Assuming
mysyntax=/opt/perf/examples/proc_mem_leak
verify that the file $mysyntax exists. If it does,
try running
glance -adviser_only -syntax $mysyntax
You can redirect the output to a file, leave the process
running for some time, then review the results.
You can also modify a copy of $mysyntax to define your
own thresholds, add other Glance metrics, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2001 03:48 PM
02-22-2001 03:48 PM
Re: Memory leak in HP-UX 11.00 NFS
myfile=/opt/perf/examples/adviser/proc_mem_leak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2001 11:04 AM
02-23-2001 11:04 AM
Re: Memory leak in HP-UX 11.00 NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2001 11:35 AM
02-23-2001 11:35 AM
Re: Memory leak in HP-UX 11.00 NFS
# vmstat
procs memory page faults
cpu
r b w avm free re at pi po fr de sr in sy
cs us sy id
0 4 0 1954 671 72 5 60 17 121 0 154 200 196
84 2 9 89
#
Not a whole lot of virtual memory available!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2001 09:35 PM
02-25-2001 09:35 PM
Re: Memory leak in HP-UX 11.00 NFS
I cannot for the life of me see the problem. As for the Glance, do you have the application CD's that came with the C-class, if you do pwrhaps it would be prudent to load Glance PAK and see what we can find....
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2001 03:40 PM
02-28-2001 03:40 PM
Re: Memory leak in HP-UX 11.00 NFS
Running the replacement program (attached to the first message above) seems to cause the memory to leak from *somewhere*, but nothing so far seems to reveal exactly where.
I have been unable to locate my Applications CD so far, so Glance is not (yet) an option, but I'll look for it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2001 12:22 PM
03-02-2001 12:22 PM
Re: Memory leak in HP-UX 11.00 NFS
So, it would appear that there is a definite problem with NFS v3, even with the application of all the available patches for HP-UX 11.00 NFS.