- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory lock
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
03-13-2003 01:31 AM
03-13-2003 01:31 AM
memory lock
Hello,
I have system running Oracle 8.1.7 on HPUX 11i which does dealocate the memory properply.The system does not release memory allocated to the database instance even after the databses have been stopped.when i do a top i get very low free memory available. I have attachd a copy of top and swapinfo O/P for further reference. Could anyone out there with any usefull information about this problem assist.
Clement O
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 02:36 AM
03-13-2003 02:36 AM
Re: memory lock
You can do a
UNIX95= ps -e -o ruser,pid,vsz=Kbytes|sort -nrk2
to check the each process memory usage and find out the one using the memory.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 06:21 AM
03-13-2003 06:21 AM
Re: memory lock
Are there some tunnings to be done on Oracle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 06:21 AM
03-13-2003 06:21 AM
Re: memory lock
Are there some tunning to be done on Oracle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 06:40 AM
03-13-2003 06:40 AM
Re: memory lock
If I understand this right you are saying Oracle is not freeing its shared memory after the DB has been shut down?
If so you could use the ipcs command to find the shared memory id in question and the HP contributed too "shminfo" to find which processes are holding the segment. Shminfo can be found here:
ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo
I'll show an example of a shmid waiting for deletion and how shminfo is used to check which processes are holding it.
# ipcs -mob|grep D|tail -1
m 209 0x00000000 D-rw------- www other 6 184324
# shminfo -s 209|grep pid
proc=0x429ce040 (pid 1740 "httpd"): vas=0x42bc4480, SHMEM preg=0x42c2ee00
proc=0x42bc7040 (pid 1739 "httpd"): vas=0x429d7040, SHMEM preg=0x42c0de00
proc=0x42bdd040 (pid 1737 "httpd"): vas=0x42b31940, SHMEM preg=0x42bf4180
proc=0x42a8f040 (pid 1712 "httpd"): vas=0x42b31a80, SHMEM preg=0x42bbe940
proc=0x42957040 (pid 1711 "httpd"): vas=0x42b31800, SHMEM preg=0x42a8b940
proc=0x42b2f040 (pid 1692 "httpd"): vas=0x42b316c0, SHMEM preg=0x42a772c0
You should be able to find the problem from here.
Just a word of note: if the shared memory segment is very large it can take a long time for the memory to be freed and the cache to be flushed. If you are checking memory straight after shutting the database down this may be the cause.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 12:56 AM
03-19-2003 12:56 AM
Re: memory lock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 07:46 PM
03-25-2003 07:46 PM
Re: memory lock
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 07:57 PM
03-25-2003 07:57 PM
Re: memory lock
shminfo is not a standard HP-UX command.
Read through James' reply again and go to the ftp site he mentions to get shminfo and install it.