Solved

Defragment Memory on HP N-Class running HP-UX 11 / Oracle 9

Posted on 2004-04-02
6
1,624 Views
Last Modified: 2013-12-06
Does anyone know how I can defragment physical memory on an N-class running HP-UX 11.0 ?
When I start oracle, I get an error about not enough contiguous memory, and I believe that other processes are coredumping without deallocating memory.
I need to clear up the "memory leaks" and defrag what is in use.
Any ideas?
0
Comment
Question by:simpsop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10745469
Does this happen right after a reboot? If it does it might indicate that there's insufficient physical memory in the machine.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 10746007
If a process dies & coredumps, HP-UX will clean up after it.  To be honest, I've never heard of "contiguous" memory and I can't see the advantage as all in-memory I/O operations are virtually instantaneous.

Expanding on jlevies post:
Check physical memory with `dmesg |grep Physical`; The system may have disabled a bank of memory if it has persistant faults. Remember that a pecentage of Physical memory is reserved for the operating system, plus a percentage for disk caching - But the dmesg output should show you the "usable" amount.
Check the allocated swap with `swapinfo`. Though you don't really want the system to be paging/swapping oracle processes as performance will nose-dive...
Check the Oracle SGA (shared memory config) which grabs a chunk of memory as the DB starts up. If it is trying to grab more memory than is available, HP-UX would allow it but  Oracle may well complain...
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 10747081
Maybe some app does not release shared memory segment(when crashing), check out ipcs -m, and remove unreferenced segments with ipcrm -m ID

Oracle allocates SGA residing in RAM, which may be more than your system has or permits in user specific limit config
(check out ulimit -a or limit)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:chris_calabrese
ID: 10757190
Modern systems do not have the concept of 'contiguous' physical memory, since each process sees only its virtual memory space as mapped to physical memory through the MMU. More likely, jlevie is correct that there isn't enough physical memory on the system to support the Oracle install.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 10760790
I did a bit of searching after I sobered up, and Oracle still requires contiguous memory within the Shared memory area - See http://www.databasejournal.com/features/oracle/article.php/2195001  - Which tends to back up gheists tip on tidying up Shared memory & the others comments about physical memory
0
 
LVL 62

Expert Comment

by:gheist
ID: 10765948
and make sure SGA size in ora.ini is smaller than locked size, data size or system memory
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question