- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap, memory, kernal config? - ORA-12500 error
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
Discussions
Discussions
Forums
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
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
тАО09-02-2003 10:41 AM
тАО09-02-2003 10:41 AM
We have just went live on our new rp2470. Everything seemed fine, then users started getting the ORA-12500 error. Here's the history.. HPUX 11i running Oracle 9i. The application running on Oracle 9i is a 32 bit application & the only thing running on this system right now, the 11i is 64 bit. 2G RAM, SWAP was 4 G, I increased it to 8 G & that allowed approximately 50 more users get on. The server would start rejecting connections at about 127, then after the SWAP increase we got to about 178, but still receiving this error at 178. I need to allow 300 users on this system at once. Attached is my kmtune. Any advice would be greatly appreciated. Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 10:52 AM
тАО09-02-2003 10:52 AM
Re: Swap, memory, kernal config? - ORA-12500 error
2GB of RAM is WAY WAY too small for any server running Oracle. In my opinion that number should be 4GB or even more. The problem is that if your app is only 32-bit you will only use 3.75 GB of RAM. Oracle will be able to use more than 4GB of RAM since it is 64 bit, but that may cause problems with your app.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 10:53 AM
тАО09-02-2003 10:53 AM
SolutionVery few kernel parameters have any effect on the number of possible oracle logins.
shmmax can be safely increased all the way up to 25% of memory. Memory is defined as memory plus swap.
As far as swap settings go, swap should be between 1.0 and 2.0 times physical memory. Anything higher and if you hit swap your machine will be as slow as can be.
Please post up swapinfo -tam
Before you increase swap, you should make sure you are using it.
I'm attaching a performance data collection script in case there are other bottlenecks triggering the problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 11:41 AM
тАО09-02-2003 11:41 AM
Re: Swap, memory, kernal config? - ORA-12500 error
I guess when I read Oracles' recommendations for RAM, (512 for server, 512 for Mgmt) & then I doubled it. I thought we would be good to go...
Steven -
As always you have given me a great tool here. No problems jumped out at me, but I'll take a longer look at it in a few minutes. Here's the swapinfo you requested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 11:45 AM
тАО09-02-2003 11:45 AM
Re: Swap, memory, kernal config? - ORA-12500 error
I would definitely add RAM to this machine to start with. If HP RAM is too expensive for you, you could try Kingston, Crucial or DataRam. I have used Kingston in the past with no problem and they are MUCH MUCH MUCH cheaper than HP and they come with a lifetime warranty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 11:53 AM
тАО09-02-2003 11:53 AM
Re: Swap, memory, kernal config? - ORA-12500 error
Your application will perform better if its not swapping most of the time. Your ram to swap ratio is bad and your system is likely to slow down to a crawl when swap gets hit hard.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 11:57 AM
тАО09-02-2003 11:57 AM
Re: Swap, memory, kernal config? - ORA-12500 error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 12:22 PM
тАО09-02-2003 12:22 PM
Re: Swap, memory, kernal config? - ORA-12500 error
If you want, you can leave the swap there "just in case". Also, depending on how much RAM you add, you will either need the extra swap or you will need to turn "swapmem_on" on (set it to 1) so you can actually use all of the RAM in your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 12:28 PM
тАО09-02-2003 12:28 PM
Re: Swap, memory, kernal config? - ORA-12500 error
If you add another 2 GB of ram, that will take you to 4GB.
You have two 4 GB swap areas totalling 8 GB.
That would leave you with a ram to swap ratio of 2.0 which would be reasonable.
You can make one swap area priority 1 and the second priority 2 so it doesn't get used so often.
A more optimal setup would be this:
RAM is now 4 GB
primary swap is 2 GB priority 1 or zero.
A secondary swap area of 4 GB set to priority 2.
This would lead to optimal peformance when hitting small amounts of swap.
If you are adding more than 2 GB of RAM than don't remove any sway area at all, just change the priority, maybe optimize as noted in my prior two paragraphs.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 12:36 PM
тАО09-02-2003 12:36 PM