- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Non-paged dynamic memory
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
11-04-2004 07:07 PM
11-04-2004 07:07 PM
Non-paged dynamic memory
58 stations consume 2.5 MB np dyn mem. 2 consume 6.5 MB. This while using the same programs.
I checked with sda show pool/sum.
I found following big differences.
1) ORB normally takes 25 K but takes about 1 MB on the 2 stations
2) UCB normally takes 85 K but takes almost 2 MB on the 2 stations
3) MISC normally takes 100 K but takes 1.5 MB on the 2 stations
What does it all means and how can I find the process causing it ?
A virtual Duvel for he who solves it.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 07:43 PM
11-04-2004 07:43 PM
Re: Non-paged dynamic memory
I found that BYTLM had been eaten too for certain processes. Then I found that 85% of available channels of that process were taken. Network problems caused the application to re-connect but without releasing the network devices.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 07:47 PM
11-04-2004 07:47 PM
Re: Non-paged dynamic memory
let's start looking at the UCBs (these should be Unit Control Blocks for devices).
SDA> SHOW POOL/HEAD/TYPE=UCB
type return until the list ends. It should tell you the UCB packet count and the bytes used for all those UCBs.
Then look at some of the UCB addresses found with SDA> SHOW DEV/ADDR=
Which kind of devices are these ?
Then do the same with /TYPE=ORB. ORBs are Object's Rights Blocks. What's the no. of packets ? You can format some of the ORBs with
SDA> READ SYSDEF
SDA> FORMAT
The associated device name is pointed to by
ORB$L_NAME_POINTER, so after you formatted an ORB, try:
SDA> EXAM @(.+orb$l_name_pointer);8
If the count of UCBs, ORBs and MISCs is about the same, you'll known that these packets somehow all are related to each other.
Volker.
PS: My guess would be: something from TCPIP, but you'll find out soon...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 08:05 PM
11-04-2004 08:05 PM
Re: Non-paged dynamic memory
Show dev net/fu shows a lot of devices allocated by a few processes. But in TCPIP there is no device and in decnet no connection. What could be the problem ?
The application people don't know why.
Wim
(half the Duvel is for you)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 08:08 PM
11-04-2004 08:08 PM
Re: Non-paged dynamic memory
so the UCBs/ORBs/MISCs are for which devices - TCPIP or DECnet ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 08:44 PM
11-04-2004 08:44 PM
Re: Non-paged dynamic memory
But my main question is : why is the net device not deallocated ? Bug in decnet (7.3 eco 3) ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 08:52 PM
11-04-2004 08:52 PM
Re: Non-paged dynamic memory
how are you going to ever document, analyze and find errors, if you 'delete the evidence' ? A forced crash would have provided the same results (after the reboot), but would have captured all the info needed...
If we assume those were NETn: devices, may there is a $DASSGN missing ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:14 PM
11-04-2004 09:14 PM
Re: Non-paged dynamic memory
But without a crash dump to enjoy its hard to say.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 09:32 PM
11-04-2004 09:32 PM
Re: Non-paged dynamic memory
I took the source of the application and it seems Volker is right. There is a dassgn missing (or my C knowledge is too bad and I misunderstood the coding).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 08:46 PM
05-29-2005 08:46 PM
Re: Non-paged dynamic memory
Same problem again on a different node. This time with a crash dump.
This time all non paged dynamic memory is gone (and node went into hang). Show pool/sum shows 52% is going to type unknown. Any suggestions ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 09:02 PM
05-29-2005 09:02 PM
Re: Non-paged dynamic memory
it may not be trivial to find the underlying problem, but let's start like this:
SDA> SET OUT x.x
SDA> SHOW POOL/NONP/HEADER/TYPE=UNKNOWN
SDA> EXIT
$ EDIT/READ x.x
Go to the bottom of the file and look at the headers (first 4 longwords) of those unknown packets. Looking at the bottom of the file is based on the assumption, that 'something happened' and then some code started allocating those packets in some kind of loop. Can you spot any particular pattern (size, header contents) ?
Another possibilty would be to show all packets from non-paged pool (without /TYPE=UNKNOWN) to a file and apply the same kind of 'looking around'. You may see a repeating pattern of packet types filling up pool.
Consider to compare pool usage (packet types) with the running system to determine, if the high percentage of Unknown packets is the real problem.
If you've spotted some patterns, consider to include part of the SDA output in an attachment, but not a full pool listing ;-)
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:09 PM
05-29-2005 10:09 PM
Re: Non-paged dynamic memory
But why/what ? I'll post the output.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:21 PM
05-29-2005 10:21 PM
Re: Non-paged dynamic memory
the summary of your SDA> SHOW POOL/NONP/TYPE=UNKOWN output seems to indicate Unknown packets only consuming 7.4 from 55 million bytes of nonpaged pool.
Does CLUE MEM/STAT show expansion/allocation failures ?
Could you post SHOW POOL/NONP/SUMM ?
Don't expect a fast resolution (at least not with no access to the dump).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:37 PM
05-29-2005 10:37 PM
Re: Non-paged dynamic memory
I was confused. I saw 52% and I thought it was 52% of the whole NP dyn mem. I checked on the running system and it also takes about 50% unknown.
I also posted the output of show mem, the prove that the memory was gone.
VPA also proved that it was gone since the moment VPA started during boot.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:43 PM
05-29-2005 10:43 PM
Re: Non-paged dynamic memory
your attachment looks like an SEA errlog analysis. Could you please post the SDA> SHOW MEM/POOL/SUMM output ?
If you're running VPA, you could tell, when the problem started. Did pool decrease slowly over time or did it just decrease suddenly ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:49 PM
05-29-2005 10:49 PM
Re: Non-paged dynamic memory
VPA didn't see a decrease. When it started less than 1 MB was free.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:50 PM
05-29-2005 10:50 PM
Re: Non-paged dynamic memory
correction:
SDA> SHOW POOL/NONP/SUMM
About some of the Unknown packets:
TCPIP does not use a standard OpenVMS packet header, but you can identify the TCPIP packets, which show up as Unknown:
If the pool packet size and the 4th longword of the packet header (count from right to left) have the SAME value and the VMS packet size word (low word in 3rd longword) is ZERO, it's most probably a TCPIP packet.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 10:59 PM
05-29-2005 10:59 PM
Re: Non-paged dynamic memory
let's try to re-assess the problem description:
- are we talking about unexplained static nonpaged pool consumption on 2 of your 60 Alphastations ?
- if so, is it still ORBs, UCBs, and MISCs ?
- by the time VPA starts during startup, most of nonpaged pool is already consumed.
- and today one of those 2 stations hung and you forced a crash.
Anything else ?
Could you please attach the SDA> SHOW POOL/NONP/SUMM output ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:07 PM
05-29-2005 11:07 PM
Re: Non-paged dynamic memory
This is not the same problem. This time it concerns a GS160 node of an interbuilding FDDI cluster. I found it in hang and forced a crash. And after 2 minutes of boot, the memory seems to be gone.
Sorry for the mistakes but I have to use different tools to get it on my pc.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:08 PM
05-29-2005 11:08 PM
Re: Non-paged dynamic memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:19 PM
05-29-2005 11:19 PM
Re: Non-paged dynamic memory
looks like we need to take a 'big step back' and re-assess the whole problem:
The summary line of your SHOW POOL/NONP/SUMM command says:
Total space used: 00D7AC80 (14134400.) bytes out of 0354E000 (55894016.) bytes
in 00002ED8 (11992.) packets
Total space utilization: 25.3%
I don't think that the system hung due to a pool consumption problem. Please check SDA> CLUE MEM/STAT - any nonpaged pool failures ?
Now if nonpaged pool on your running GS160 is all consumed, you would want to post a SDA> SHOW POOL/NONP/SUMM from the running system. But lets make sure you correctly relate the postings etc. for the 2 different problems.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:23 PM
05-29-2005 11:23 PM
Re: Non-paged dynamic memory
(don't refer to original problem any more)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:25 PM
05-29-2005 11:25 PM
Re: Non-paged dynamic memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:27 PM
05-29-2005 11:27 PM
Re: Non-paged dynamic memory
(has less load now : no Sybase servers active)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 11:42 PM
05-29-2005 11:42 PM
Re: Non-paged dynamic memory
something is not right here:
- the CLUE MEM/STAT from the crash shows 180 successful pool expansions, but no Expansion or Allocation failures at all.
- the SDA> SHOW POOL/NONP/SUMM from the crash shows 14 mio from 55 mio used, usage=25%
- the SDA> SHOW POOL/NONP/SUMM from the currently running system shows: 14 mio from 50 mio used, usage=28%
(the above 2 observations seem to be somehow consistent, but do not indicate a nonpaged pool shortage).
- yet SDA> SHOW MEM/POOL from the dump shows 0.7 MB free of 53 MB - I tend to NOT believe that.
Volker.