Whether instance gets down due to insufficient memory ?
hi,
11g R2 (Linux)
Other day one of the 3 nodes got evicted due to insufficient memory
Err message is
ORA-04031: unable to allocate 4136 bytes of shared memory ("shared pool","unknown object","sga heap(3,0)","gcs dynamic r")"
"LMS0 (ospid: 8489): terminating the instance due to error 4031"
Thanks
Hi, Have you configured memory_target or memory_max_target? If so then it may supersede depending on values set. Please post all memory parameters set and based on that we can answer. Also let us know the OS since in Linux there is a concept of tempfs which also limits the maximum memory to be allocated. While in solaris there is concept of project, which limits max memory per oracle instance depending on OS user.
Regards
Tushar
Similar Messages
-
BODI - Job Error " blank message,possibly due to insufficient memory
Ending up with below error while executing a DI job. The job uses a file of size 37 MB as source. As the error looks something related to memory. I have tried splitting up the input file into and executed the job. The job completed successfully without any error.
Could someone help me out to find any memory setting which needs to be investigated in the dataflow level to get a permanent solution for it.
Expecting for help !!!
(11.7) 03-04-11 08:18:06 (E) (21097:0001) RUN-050406: |Session SM_DM_ACCESS_LOG_DTL_F_JOB|Workflow SM_DM_ACCESS_LOG_DTL_F_WF|Dataflow SM_DM_ACCESS_LOG_DTL_F_DF
Data flow <SM_DM_ACCESS_LOG_DTL_F_DF> received a bad system message. Message text from the child process is <blank message, possibly due to insufficient memory>. The process executing data flow <SM_DM_ACCESS_LOG_DTL_F_DF> has died abnormally. For NT,
please check errorlog.txt. For HPUX, please check stack_trace.txt. Please notify Customer Support.
(11.7) 03-04-11 08:18:06 (E) (21097:0001) RUN-050409: |Session SM_DM_ACCESS_LOG_DTL_F_JOB|Workflow SM_DM_ACCESS_LOG_DTL_F_WF
The job process could not communicate with the data flow <SM_DM_ACCESS_LOG_DTL_F_DF> process. For details, see previously
logged error <50406>.
(11.7) 03-04-11 08:18:06 (E) (21097:0001) RUN-050409: |Session SM_DM_ACCESS_LOG_DTL_F_JOB|Workflow SM_DM_ACCESS_LOG_DTL_F_WF
The job process could not communicate with the data flow <SM_DM_ACCESS_LOG_DTL_F_DF> process. For details, see previously
logged error <50406>.Hi,
loading a 37MB file shouldnt be a problem without splitting it. i´ve loaded GB size flatfiles without problems.
Did you checked the error.txt as stated in the message? Whats in there.
If you split the file and you can load it, you have enough space in your DB.
Please check the memory utilization of your server during executing the job with one file. Maybe the Server is too busy...what would be strange with a 37MB file.
Regards
-Seb. -
There is a sign screen error, probably due to insufficient memory.
When I open a pdf (MacOSX 10.8.5) I get this message 'There is a sign screen error, probably due to insufficient memory.' (translation out of Dutch).
Via Photoshop I can open the file, that's the strange thing about it.
Someone an idea what the problem is and ofcourse what the solution is.The Acrobat forum is here:
http://forums.adobe.com/community/acrobat
and the Reader one, here:
http://forums.adobe.com/community/adobe_reader_forums
This one is only for discussions on the forums themselves. -
Is there a way to download my MacLife magazines (currently through Newsstand) on my iPod Touch 4, to either my Mac Air, an extra drive, or even store on-line, so that I can read them?All of my subscriptions were deleted due to insufficient memory.
No.Maybe this will help in gettting the subscriptions back.
iTunes Store: About In-App Purchases -
How do I get into iPhoto to free up memory when I can't get in due to no memory?
How do I get into iPhoto to free up memory when I can get in due to no memory?
Are you being prevented booting into your MBP due to the HDD being full? If so try a a safe boot:
https://support.apple.com/en-us/HT201262
If no success, try Target Disk Mode:
https://support.apple.com/kb/PH10725?locale=en_US
Or take out the HDD and install it in an enclosure. Connect it to another Mac and take some data off of it so that you can boot to it when you re-install it.
Ciao. -
While production database is operational, ASM instance gets down out of sudden.
The error reflecting in alert log is :
ORA-15064: communication failure with ASM instance
ORA-03113: end-of-file on communication channel
Also in trace files the same error is reflecting. I am unable to find the root cause why the ASM instance getting down again n again .
Kindly help !
Thanks !!I thought about more input. But well: Check for errors in the clusterware logs next. And check your system logs.
Any tracefiles created by the ASM instance?
A note: You´re on 10.2.0.2.0. Thats way too old. The current version is 10.2.0.4.0. I STRONGLY recommend to upgrade your clusterware and ASM to that version. If you need for some reason you can leave your database on 10.2.0.2.0.
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de -
I have the following:-
VMWare workstation version 9 , with windows server 2008 R2 data center installed.
- I have installed the windows 2008 R2 inside the VM using an iso image.
- The host is windows 7.
I use to work well with the VM, but after adding a new VM to the same workstation . I start getting the following error when starting my old VM
ramdisk device creation failed sue to insufficient memory.
And on the windows boot manger screen they mentioned to :-
inset my windows installation dis and restart my PC.
click “repair your computer”
but not sure if this will fix the problem , baring in mind that the RAM assigned to the VM
is 24 GB & 80 GB hard disk.
The error is
Link.
so can any one advice what is causing this error?
ThanksYou might start by checking the RAM.
http://windows.microsoft.com/en-US/windows7/Diagnosing-memory-problems-on-your-computer
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Instance is down due to error 4031
in RAC (10.2.0.4, AIX, 64bit), instance 2 is down, check altert log,
ORA-04031: unable to allocate 8416 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","KSXR large reply queue")
LCK0: terminating instance due to error 4031
( dba broungt it up.)
( check related trace )
=================================
Begin 4031 Diagnostic Information
=================================
The following information assists Oracle in diagnosing
causes of ORA-4031 errors. This trace may be disabled
by setting the init.ora _4031_dump_bitvec = 0
=====================================
Allocation Request Summary Informaton
=====================================
Current information setting: 04014fff
SGA Heap Dump Interval=3600 seconds
Dump Interval=300 seconds
Last Dump Time=09/19/2010 15:18:42
Dump Count=1
Allocation request for: KSXR large reply queue
Heap: 700000010036770, size: 8416
HEAP DUMP heap name="sga heap(1,0)" desc=700000010036770
extent sz=0xfe0 alt=216 het=32767 rec=9 flg=-126 opc=0
parent=0 owner=0 nex=0 xsz=0x1000000
latch set 1 of 2
durations enabled for this heap
reserved granules for root 0 (granule size 16777216)
check memory,
sql> show parameter shared_
NAME TYPE VALUE
hi_shared_memory_address integer 0
max_shared_servers integer
shared_memory_address integer 0
shared_pool_reserved_size big integer 15938355
shared_pool_size big integer 304M
shared_server_sessions integer
shared_servers integer 0
sql>show parameter sga_target
NAME TYPE VALUE
sga_target big integer 7G
sql>show parameter cursor_sharing
NAME TYPE VALUE
cursor_sharing string EXACT
the reason seems from surface is shared_pool is not big enough, but we can see that sga is pretty big,
so it maybe shared pool fragmentation problem.
by the way, the instance down's resaon, is due to
terminating instance due to error 4031
question is here:
1. what is the reasoan for instance shutdown?
2. how to prevernt it happening again? do we need to run flush shared pool periodically, or cursor_sharing to simailar or force?
thanks-- Display shared pool advice
set lines 100
set pages 999
column c1 heading 'Pool |Size(M)'
column c2 heading 'Size|Factor'
column c3 heading 'Est|LC(M) '
column c4 heading 'Est LC|Mem. Obj.'
column c5 heading 'Est|Time|Saved|(sec)'
column c6 heading 'Est|Parse|Saved|Factor'
column c7 heading 'Est|Object Hits' format 999,999,999
SELECT
2 shared_pool_size_for_estimate c1,
3 shared_pool_size_factor c2,
4 estd_lc_size c3,
5 estd_lc_memory_objects c4,
6 estd_lc_time_saved c5,
7 estd_lc_time_saved_factor c6,
8 estd_lc_memory_object_hits c7
9 FROM
10 v$shared_pool_advice;
Est Est
Time Parse
Pool Size Est Est LC Saved Saved Est
Size(M) Factor LC(M) Mem. Obj. (sec) Factor Object Hits
1088 .3736 326 22232 65966 .8958 4,995,890
1392 .478 628 38639 68647 .9322 5,044,957
1696 .5824 931 56089 70007 .9506 5,068,865
2000 .6868 1234 73521 70497 .9573 5,084,797
2304 .7912 1537 93244 70941 .9633 5,106,783
2608 .8956 1826 114421 71955 .9771 5,140,729
2912 1 2129 135390 73643 1 5,177,134
3216 1.1044 2431 157697 75513 1.0254 5,202,416
3520 1.2088 2735 179011 77204 1.0484 5,221,651
3824 1.3132 3038 203097 78823 1.0703 5,234,965
4128 1.4176 3341 221760 80193 1.0889 5,244,432
4432 1.522 3610 244317 80910 1.0987 5,252,430
4736 1.6264 3761 255231 81101 1.1013 5,256,343
5040 1.7308 3896 269167 81125 1.1016 5,258,292
5344 1.8352 3896 269167 81127 1.1016 5,259,026
5648 1.9396 3896 269167 81128 1.1016 5,259,677
5952 2.044 3896 269167 81129 1.1017 5,260,326
SELECT
f.pool
, f.name
, s.sgasize
, f.bytes
, ROUND(f.bytes/s.sgasize*100, 2) "% Free"
FROM
(SELECT SUM(bytes) sgasize, pool FROM v$sgastat GROUP BY pool) s
, v$sgastat f
WHERE
f.name = 'free memory'
AND f.pool = s.pool
/ 2 3 4 5 6 7 8 9 10 11 12 13
Pool Name Allocated Free % Free
shared pool free memory 3,053,469,832 257,316,432 8.43
large pool free memory 218,103,808 217,027,808 99.51
java pool free memory 218,103,808 218,103,808 100
rem library.sql - lists the library cache
prompt
prompt =========================
prompt LIBRARY CACHE MISS RATIO
prompt =========================
prompt (If > 1 then increase the shared_pool_size in init.ora)
prompt
column "LIBRARY CACHE MISS RATIO" format 99.9999
column "executions" format 999,999,999
column "Cache misses while executing" format 999,999,999
select sum(pins) "executions", sum(reloads) "Cache misses while executing",
(((sum(reloads)/sum(pins)))) "LIBRARY CACHE MISS RATIO"
from v$librarycache;
prompt
prompt =========================
prompt Library Cache Section
prompt =========================
prompt hit ratio should be > 70, and pin ratio > 70 ...
prompt
column "reloads" format 999,999,999
select namespace, trunc(gethitratio * 100) "Hit ratio",
trunc(pinhitratio * 100) "pin hit ratio", reloads "reloads"
from v$librarycache;
NAMESPACE Hit ratio pin hit ratio reloads
SQL AREA 33 44 108,245
TABLE/PROCEDURE 80 99 4,340
BODY 93 99 11
TRIGGER 72 96 0
INDEX 43 60 22
CLUSTER 95 97 3
OBJECT 100 100 0
PIPE 100 100 0
JAVA SOURCE 100 100 0
JAVA RESOURCE 100 100 0
JAVA DATA 100 100 0
select NAMESPACE, GETHITRATIO from v$librarycache;
NAMESPACE GETHITRATIO
SQL AREA .35270614
TABLE/PROCEDURE .806300666
BODY .939540508
TRIGGER .727272727
INDEX .432343234
CLUSTER .956873315
OBJECT 1
PIPE 1
JAVA SOURCE 1
JAVA RESOURCE 1
JAVA DATA 1
---I saw the hit ratio is really low...
THANKS -
Automatic instance getting down with ORA-600
ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [ktspfredo-setstate-1], [0], [1], [16], [], [], [], [], [], [], [], []
help me start the instance to stable state@These errors indicate a detected corruption when trying to apply undo/redo information, probably during instance recovery. [6006] is for an index, [ktspfredo-setstate-1] for a LOB (related bug: #11790175). The trace file should include more information though in the cryptic form of a diagnostic block/undo/redo dump.
Back up the current state of the database (to be able to restart the whole recovery process). Then, if you have a valid older backup, try restoring from that backup. If you have no backup, it may be difficult to recover. If you have a support contract, Oracle Support will probably be able to help. It is not possible to effectively help with recovery of a corrupted database in a community forum.
Thanks,
Sergiusz -
LABVIEW APPLICATION HANGS DUE TO INSUFICIENT MEMORY
I AM USING LABVIEW 7.1. I BUILD ONE APPLICATION. IN THAT APPLICATION I USED MSCOMM ACTIVEX FOR SERIAL COMMUNICATION TO MY PLC. ALSO I USED TOOLBAR , STATUS BAR ACTIVEX IN MY APPLICATION. IT WORKS OK. BUT AFTER SOME TIME SOFTWARE GET HANGS DUE TO INSUFFICIENT MEMORY. I FOUND THAT AFTER 3SECOND THAT EXE SIZE IN MEMORY GET INCREASED BY 4K. WHY DON'T KNOW. PLEASE TELL WHY MEMORY SIZED INCREASED.
How can we say why, without seeing your code ?
-Check if you open references and not closing them.
-Use "Performance and Memory" to see in which vi, the memory is increased -
Camera Raw 5.3 insufficient memory
I am editing a 135mb rgb tif in CR. Adjustments are successful but saving out fails due to insufficient memory message. Win xp quad core 2.4 4mb ram
Forgive my ignorance, but I'm still a wee bit confused.
Firstly, I should have written in my last post (which I can't edit for some reason, though I can edit all my other posts) that, with PS open, I can open a TIFF in ACR by choosing File/Open As (not File/Open, as I wrote above) choosing 'Camera Raw' from the Files of type menu and then highligting the file and choosing open. All very well and all as described here> http://kb2.adobe.com/cps/404/kb404656.html
However, oddly, unlike when I choose File/Open, the File/Open As option does not appear to allow me to choose a bunch of files from the folder (via Ctrl and clicking on each in turn) and then open them in ACR - only one at a time. Since I use ACR via Bridge for applying general changes to an entire folder of TIFFs (after they have been processed in Flexcolor), being able to open more than one at a time is crucial for me.
Please tell me I'm doing something wrong. Otherwise, I'm going back to 5.3.
Thanks.
D.
Edited:
Sorted!
I've left my post above un-edited in case it might be of help to those who were having the same problem. But, here is the solution.............
1. In PS, under Edit/Preferences/Camera Raw, under Jpeg and TIFF handling, 'Automatically open all supported Jpegs/TIFFs' *must* be selected in the drop down menus, not 'Automaticall open Jpegs/TIFFs with settings', which is what was selected on my computer (is that the default setting?).
2. Now when I choose File/Open (not File/Open as) and then 'Camera Raw' from the 'Files of type' drop down menu (leaving All Formats selected does not make ACR an option when you click on a file and choose 'Open with ...') I can Ctrl/click on a bunch of images and they will all open in ACR.
I just tried this on a folder of 14 220Mb files followed by a folder of 18 220Mb files. I made a change to them in ACR and then saved them. It ran through them like a train! If I had tried this via Bridge, it would have choked on any more than four or five files.
One very happy camper! ;-) I'm now getting full use of my x64bit/8Gb setup. Thanks to Jeff for bringing this neat work around to my attention.
Two further points:
1. In PS, after choosing File/Open, with 'All formats' selected, it would be nice to have ACR as a choice under 'Open with....' rather than having to select Camera Raw in 'Files of type'. Is it possible to edit the selection of programs offered in the 'Open with...' menu and add ACR?
2. When opening a large number of large files in ACR, the yellow triangle with the exclamation point appears over each file and disappears as each file is cached(?). The only way of knowing if the files further down the list have settled is by either scrolling down through them, or checking to see if the green light on the front of the computer tower has stopped flickering. It would be nice if ACR had something on screen (similar to the rotating circle that appears in PS when you are saving changes to a file) to indicate that it has done its thing.
D. -
Oracle instance often down!!!
Hi
I've have an Oracle 10g (10.2.0.4) 64bits database installed on a x64 window server. The server itself has 16gb ram. My current SGA + PGA is about 4-5gb memory, processes=500 but I am still getting random problem like oracle instance killed/down, low swap page memory from OS, listener could not hand off client connection etc. Should it be the existing server RAM(10-11gb RAM free after deduct from the SGA+PGA allocated) is more than enough?FireFox88 wrote:
So far from what I can recall my database server used to once a while getting "Significant virtual memory paging was detected on the host operating system" until i turn the OS page memory to system manage which is to use whatever hard disk space available, only then the warning seldom/rarely occur. listener could not hand off client connection is another error quite often prompt. When ever this error prompt, most of the time I've to bounce the database instance.Speculation - could be caused by PGA, as a result of poorly written PL/SQL code using very large PL/SQL arrays (for bulk collection). I have seen a single PGA (private process memory of a dedicated server process) growing to 50% the RAM size of the server. I have even seen a couple of server crashes due to the kernel being starved of CPU time due to swap space thrashing.
Before resetting a server in such a situation - get whatever diagnostics available. The problem will be gone (for the time being) after reboot, without the ability to get an actual look at just what the heck is going on. There are some magic sysrequest keys on Linux that is useful - all you need is the ability to echo specific keys to a proc device in order talk to the kernel and request various data and process dumps. Pity you are using Windows - not the easiest of kernels to troubleshoot. -
How send mail when oracle instance went down
Hi All,
Please help me to configure email set in oracle standard edition so that it sends email whenever database /instance went down.
Thanks in advance
sankaruser12994238 wrote:
Many Thanks,
Need a small clarification in the normal scenario it works, if shutdown the server without shutdown the database we not receiving the alert.
is there any way i can configure alert mail for the instance shutdown (database is up and oracle instance is down) due to some unexpected reason.
Thanks
sankar"database is up and oracle instance is down"
A very interesting concept. Given that a database is just the collection of files that are kept transactionally consistent, and the instance is the memory and processes that manage those files, could you explain what is meant by "database is up and oracle instance is down". If the instance is up it may (or may not, depending on its state) have the database (files) open. If the instance is not up, then the database is ??? -
XI system down due to file generation in file System
Hi All,
We are facing one issue in our XI Prod system.
Messages will get sturck in inbound queue as system is frequently getting stoped due to insufficient space in the FileSystems .
This is happening due to generation of files heapdump.phd and javacore.txt in the file system (/usr/sap/PXI/DVEBMGS03/j2ee/cluster/server0 ), which are very huge in size.
After manually clearing up the space by deleting these files and restarting the system,the system will come to normal functionality ,but again after some time we will get same issue .
Plese suggest me how can I fix this problem?
how can I stop those file generation?
Thanks and regards
UmaHi,
you can overcome this problem by fallowing ways.
1. you can increese interface time out time.
2. Please check in table space in sap system.
3. check the data time out for FTP system also.
Thanks
Sivaram -
Insufficient memory to load catalog
I get the error message "Insufficient memory to load catalog" when trying to load a model in systembuild.
I'm running MATRIXx v6.3 on Windows 2000. The computer has 512M of RAM and I've not had this problem before.
Any ideas?Hello,
This error might be that the computer at that moment is running out of memory. If you reboot the computer will you still have the same error? What else is running in your computer? If you check the memory usage in the Task manager, how much memory do you have left?
Thank you
Ricardo S.
National Instruments
Maybe you are looking for
-
Name of track changes to modified date when importing mp4
I have two .mp4 files: (both names listed below are the filenames) Valentines Day Torin.mp4 with a modified filed date of 02/15/2010 Phoebe Confirmation Entrance.mp4 with a modified date of 03/18/2010 When I import the Valentines Day Torin file, the
-
Firefox won't open. Period. Reinstalling did not fix the issue.
I've never had issues with Firefox in the past. Then, one day, it decided that it was not going to open. I tried downloading and reinstalling it, which did nothing: Firefox still will not open.
-
AE CS6 updater crashing on Mountain Lion
Hi Have been using AE CS6 11.0.2.11 on Mountain Lion. Yesterday I got a message telling me that an update was available, but when trying to install it message was that it had failed and I should try again later. So I just tried it again today and it
-
How can I enforce conference mode?
Hi I've recently discovered conference mode on the Apple TV, and would like to make more use of it for all of the ATVs in the office Currently the Conference Mode display appears after 2 minutes of inactivity, but is there any way to enforce this? Ba
-
Hi. I went into Magic Preferences to configure a "2 finger pinch out" as zoom in and a "2 finger pinch in" as zoom out of screen. In short, the zoom in worked and the zoom out didn't. Now my IMac screen is permanently zoomed in and I cant tell where