- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What is the cause of these Oracle errors? ORA-...
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
01-05-2004 11:40 PM
01-05-2004 11:40 PM
HP-UX 11.0 MC/SG 11.09 VPO 6.14 NNM 6.2
4GB memory, Oracle 8.1.7.3.
We recently received these errors that caused
the app OVO to hangup. I had to stop/restart OVO to fix the problem. Here are some errors from the app log file.
01/02/04 05:39:03 opcmsgm (Message Manager)(15589) [chk_sqlcode.scp:95]:
Database: ORA-03113: end-of-file on communication channel
(OpC50-15)
Retry. (OpC51-22)
01/02/04 05:53:32 ERROR opcactm (Action Manager)(15588) [chk_sqlcode.scp:95]:
Database: ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 4176 bytes of shared memory ("shared
pool","OPC_HIST_MESSAGES","sga heap","library cache")
(OpC50-15)
Cannot set action status in database. (OpC40-520)
01/02/04 05:53:32 opcragt (OpC remote agent)(6651) [chk_sqlcode.scp:95]:
Database: ORA-03113: end-of-file on communication channel
(OpC50-15)
Retry. (OpC51-22)
Database: ORA-03113: end-of-file on communication channel (OpC50-15)
Could not connect to database ov_net.
Please look if the database processes are running. (OpC50-2)
Database: ORA-01012: not logged on (OpC50-15)
Retry. (OpC51-22)
Database: ORA-01001: invalid cursor (OpC50-15)
Retry. (OpC51-22)
What was the cause of this problem?
Would some OS/Oracle tuning help?
10 points to any good answer.
TIA, Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 11:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:02 AM
01-06-2004 12:02 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
I'd also pursue this with Oracle. It looks like there might be an Oracle patch for this.
http://download-east.oracle.com/otn_hosted_doc/designer/doc_library/des9i_rel2_doc/CDOC72/rep_relnotes/rn_rep_9i.htm
Certification against Oracle 8.1.7 and Oracle9i
Oracle SCM is certified against Oracle 8.1.7 and Oracle9i. For Oracle9i, if patch set 9.0.1.3 is not available, then 9.0.1.2 can be used provided the following one off patches are applied, taking care to download the patch specific to your particular platform:
Patch 2103726. ORA-03113 WITH CONNECT BY QUERY ON VIEW USING A FUNCTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:19 AM
01-06-2004 12:19 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
Gaurav:
The system itself has enough free memory, vmstat shows 440MB of free memory.
Is the SGA parameter in the initsid.ora file?
(shared_pool_size = xxxxxxxx)?
Cheryl:
We have Oracle patch 8.1.7.3 installed. Are you recommending that we install Oracle patch 8.1.7.4? Shouldn't we look at tuning if
we already have patch 8.1.7.3 installed?
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:19 AM
01-06-2004 12:19 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
As was mentioned above, check your kernel parms to ensure your settings are solid; check to make sure your properly patched for the versions (O/S,Oracle) you are at. Once you've ruled that these are good, now the fun really begins.
I would next relink my binaries-so that is ruled out as an issue-and retry. If that doesn't work on to the next thing to try.
Do you have any trace files that might give you some indications as to what is causing Oracle to trip and not come up. I had it after an install turn out to be some Oracle file(s) got hosed and a restore fixed it for me. It was a shot in the dark, but it worked. But sometimes you get little tidbits of ideas from those trace files as to what may be something else to check.
Rgrds,
Rita
...with some things in Oracle-it's just a matter of keep digging around the problem till you hit finally hit with your shovel what you couldn't see with your eyes...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:22 AM
01-06-2004 12:22 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
Rita:
After I installed Oracle patch 8.1.7.3 I had
to relink all of the binaries to make it work.
10 points to any good answers.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:31 AM
01-06-2004 12:31 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:35 AM
01-06-2004 12:35 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
Mark:
The shmmax is set to 1GB.
(kmtune -q) shmmax 0X40000000
Should this be increased?
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:38 AM
01-06-2004 12:38 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
Check out the 8.1.7 Release 3 kernel tuning at http://download-west.oracle.com/docs/pdf/A85470_01.pdf
Table 2â 1 UNIX System Configuration Summary
It covers semaphores and shared memory.
The document requires a signup, but signup is fr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:53 AM
01-06-2004 12:53 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
Cheryl:
I agree, we are not going to upgrade unless
it can be proven that we need to.
Doing some tuning looks like the best way to proceed. The hard part is that tuning Oracle
is a complicated process.
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 12:58 AM
01-06-2004 12:58 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
I would imagine shmmax would need to be increased if the amount of shared memory being requested exceeds the 1GB. However, I am no oracle expert and this is the values we have set here too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:17 AM
01-06-2004 01:17 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
The SGA is 31.8MB, is this large enough?
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:28 AM
01-06-2004 01:28 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
> The SGA is 31.8MB, is this large enough?
No, normally not. The only exception is a student type system with 50+ databases on a 1GB box or so.
You are giving Oracle less than 1% of your memory! As a generic guideling give Oracle as much memory (in percents) as work you expect it to do on the box. If the box only does oracle, give oracle all the memory! If Oracle is expected to use 25% of the boc, give is 25% ... as a startng poitns.
Bump block_buffers to 20,000 and shared pool to 300M and try again.
Now activate statspack and run a report over two snaps froma representive period after some stability is reached. PLEASE, Try to interpret at least the first page of the report yourself. Read it 20 times over. Then come back with specific question and quoted details from the report if need be.
Good luck!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:29 AM
01-06-2004 01:29 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","OPC_HIST_MESSAGES","sga heap","library cache")
This is caused by fragmentation of the shared pool (Part of the Oracle SGA).
There are patches for this type of error and you really should consider applying the 8.1.7.4 patchset.
Alternatively, you could increase the size of the shared pool, your SGA at 31.8Mb seems ridiculously small! Look at the shared_pool_size initialisation parameter (specified in bytes).
If you have access to Oracle Metalink, there are several relevant articles which give good advice on how to tune this parameter.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:46 AM
01-06-2004 01:46 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
Hein:
We are running a single instance of Oracle
8.1.7.3 for OpenView Operations.
Our current settings are this:
A) db_block_buffers = 550
B) shared_pool_size = 6000000
So A. should be 20,000 and B. 300,000,000.
John:
Installing patch 8.1.7.4 can be done but it
would have to be scheduled, etc. This is the first time that these types of errors occurred. Increasing the shared_pool_size seems like a good idea from what you and Hein
have said and is easier then applying a patch. (Patching is a good idea but tuning
one thing at a time seems safer and easier to implement at this point).
I make these changes to the initsid.ora file one at a time.
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 01:51 AM
01-06-2004 01:51 AM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
> A) db_block_buffers = 550
> B) shared_pool_size = 6000000
> So A. should be 20,000 and B. 300,000,000.
Now that I see that you are using Oracle for a relatively small task I would recommend a slightly less aggresive change. 500 buffers, and 6 M shared is just not enough.
Try 2000 buffers and 50 or 100 M buffer pool for this task. Please DO change both in this specific case as they are way low.
The final choice also depend on the overall system contention for memory resources.
Please doublecheck the openview doc for minimal Oracle setup guideance... surely there is some indicator?
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2004 06:06 PM
01-06-2004 06:06 PM
Re: What is the cause of these Oracle errors? ORA-03113, etc.
The problem is reported with the size allocation in shared pool. Please validate the shared pool contenttion and tune it appropriately.
Attached is a document (note from metalink) on how to analyze ORA-04031 ERROR AND SHAREDPOOL FRAGMENTATION.
IA