Passive RAC instance LMON is running out of page file quota
I have quota watching tool that's showing lmon is running out of page file quota. What should I do to prevent database crash? ORACLE 9i RAC (active-passive) on openVMS.
Thanks in advance
Ah, VMS... long time no see. :)
Since it has been ages since I touched Oracle on VMS, I really can't give you any config guidelines, other than the ones given in the Install guide. Did you follow pre-reqs and made sure you are on or above recommended minimum values?
What's your current paging file quota limit? (and what does show process tell?)
Similar Messages
-
Dear all,
My version is 11.2.0.2.5 one of my rac instance crashes with message ORA-00240: control file enqueue held for more than 120 seconds. Received an instance abort message from instance 1.
here are the contents of alert log file
IPC Send timeout detected. Receiver ospid 27423 [[email protected] (LMON)]
2013-03-22 22:30:05.644000 -07:00
Errors in file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_lmon_27423.trc:
2013-03-22 22:31:08.734000 -07:00
Errors in file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_arc2_27691.trc (incident=15905):
ORA-00240: control file enqueue held for more than 120 seconds
Incident details in: /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/incident/incdir_15905/LFGoimdb2_arc2_27691_i15905.trc
2013-03-22 22:31:13.409000 -07:00
Received an instance abort message from instance 1
Please check instance 1 alert and LMON trace files for detail.
LMS0 (ospid: 27427): terminating the instance due to error 481
System state dump requested by (instance=2, osid=27427 (LMS0)), summary=[abnormal instance termination].
System State dumped to trace file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_diag_27413.trc
2013-03-22 22:31:18.376000 -07:00
Dumping diagnostic data in directory=[cdmp_20130322223113], requested by (instance=2, osid=27427 (LMS0)), summary=[abnormal instance termination].
ORA-1092 : opitsk aborting process
Instance terminated by LMS0, pid = 27427Thanks for reply,
My redo logs size is default 50mb.There is currently no load on the system since we are not using this environment for time being.The log switches are averaged to be 8 per day.I think Increasing the size of redo will further cause the problems since the archiver may again hold lock for more time.
Since there is no dedicated connection between the nodes and storage ,So increasing the hardware and network configuration is only solution to this? Or I am still missing something...
As far as configuration is considered i cannot add more resources to this environment.How can I solve this issue? -
Running out of memory building csv file
I'm attempting to write a script that does a query on my
database. It will generally be working with about 10,000 - 15,000
records. It then checks to see if a certain file exists. If it
does, it will add the record to an array. When its done looping
over all the records, it takes the array that was created and
outputs a csv file (usually with about 5,000 - 10,000 lines).
But... before that ever happens, it runs out of memory. What can I
do to make it not run out of memory?quote:
Originally posted by:
nozavroni
I'm attempting to write a script that does a query on my
database. It will generally be working with about 10,000 - 15,000
records. It then checks to see if a certain file exists.
Sounds pretty inefficient to me. Is there no way you can
modify the query so that it only selects the records for which the
file exists? -
How does RAC determine which instance number to run on which node
Good afternoon
I am trying to script a process and I need to identify how RAC decides which node runs which instance. Is it the first one of the pair added to the cluster that runs node 1 or is there some other piece of information that I need to work this out
This is on Redhat Linux with 10.2.0.3 for CRS, ASM and databases
Cheers
PeterBefore "you" start an instance you set env variable ORACLE_SID. This identifies an instance. When you go into sqlplus and issue STARTUP, Oracle starts the instance named by the sid. Thus the instance running on the server is controlled by you. This changes as noted below.
If you were using a non-Oracle tool to start instances, such as Veritas, then you would see it start the instance you coded into the tool. It would not randomly pick an instance. It looks in the Veritas config file and sees that you always want instance 1 on this node and instance 2 on that node.
That said, you can make Oracle more random or "grid" like. 10g RAC done Oracle's way likes to bounce around between primary and secondary nodes. To see which instances are running on a node you can "ps -ef | grep pmon". Alternatively, use sqlplus to look in the database: view gv$instance gives you each instance name paired with the name of the host it is currently running on. There is one line of output per instance currently running.
-Mark -
Oracle 10g RAC implementation running out of space
I have an Oracle RAC implementation setup on a Sun Storagetek 6140 for storage. I have allocated 100gb of space to Oracle but am constantly running out of space during operations. I know that i can allocate additional disk space using Common Array Manager for the Storagetek. How do i get ASM to recognize the fact that there is additional space available to it?
Hi buddy,
How do i get ASM to recognize the fact that there is additional space available to it?You have two options:
1- The first one is create a new LUN, configure it at the OS level and add the disk to disk group.
alter diskgroup add disk '<DISK_DEVICE_PATH>';
2- The second one is increasing the LUN size (if possible, of course) and resize the disk.
alter diskgroup <DISK_GROUP_NAME> resize disk '<DISK_NAME>' <NEW_SIZE>;
Hope it helps,
Cerreia -
Rconfig: converting a single instance to RAC instance
Hi,
I am trying to use the "rconfig" utility to convert a single instance to a RAC instance in an existing RAC cluster.
I have modified the .xml file, and am trying to run the conversion from the 1st node in the 2 node cluster (where the single instance resides).
The only error message i seem to be getting is below:
<Response>
<Result code="1" >
Operation Failed
</Result>
<ErrorDetails>
ORCL_DATA_ORCLCLN The specified diskgroup is not mounted.
</ErrorDetails>
</Response>
</Convert>
</ConvertToRAC></RConfig>
Now I dont really understand why I would be getting that message as the instance is up and running and ASM disk group is mounted on node1 at the time i run the rconfig command, though its not clear to me if I also need to somehow mount the ASM disk group on the second node prior to running the rconfig command??
node1:
bash-3.00$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED EXTERN N N 512 4096 1048576 10181 7442 0 7442 0 ORCL_DATA_ORCLCLN/
node2:
ASMCMD [+] > lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
I have attached the output of the alert log during the rconfig conversion of the target database, but it all looks pretty standard to me (keep in mind i am an oracle novice!).
alert.log
Completed: ALTER DATABASE OPEN
Thu Jul 23 13:51:55 2009
Shutting down instance (abort)
License high water mark = 2
Instance terminated by USER, pid = 15030
Thu Jul 23 13:51:57 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 e1000g1 10.128.113.0 configured from OCR for use as a cluster interconnect
Interface type 1 e1000g0 10.128.113.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.2.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 121634816
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 440401920
control_files = +ORCL_DATA_ORCLCLN/control01.ctl
db_block_size = 8192
__db_cache_size = 306184192
compatible = 10.2.0.2.0
log_archive_format = %t_%s_%r.dbf
db_file_multiblock_read_count= 16
cluster_database = FALSE
cluster_database_instances= 1
db_recovery_file_dest_size= 2147483648
norecovery_through_resetlogs= TRUE
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain = netapp.com
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/orcldb/bdump/ORCLCLN
user_dump_dest = /u01/app/oracle/admin/orcldb/udump/ORCLCLN
core_dump_dest = /u01/app/oracle/admin/orcldb/cdump/ORCLCLN
db_name = ORCLCLN
open_cursors = 300
pga_aggregate_target = 145752064
Cluster communication is configured to use the following interface(s) for this instance
10.128.113.200
Thu Jul 23 13:51:59 2009
cluster interconnect IPC version:Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
PMON started with pid=2, OS id=15085
DIAG started with pid=3, OS id=15091
PSP0 started with pid=4, OS id=15094
LMON started with pid=5, OS id=15097
LMD0 started with pid=6, OS id=15102
MMAN started with pid=7, OS id=15112
DBW0 started with pid=8, OS id=15114
LGWR started with pid=9, OS id=15116
CKPT started with pid=10, OS id=15125
SMON started with pid=11, OS id=15128
RECO started with pid=12, OS id=15130
CJQ0 started with pid=13, OS id=15134
MMON started with pid=14, OS id=15143
MMNL started with pid=15, OS id=15146
Thu Jul 23 13:52:03 2009
lmon registered with NM - instance id 1 (internal mem no 0)
Thu Jul 23 13:52:04 2009
Reconfiguration started (old inc 0, new inc 2)
List of nodes:
0
Global Resource Directory frozen
* allocate domain 0, invalid = TRUE
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Resources and enqueues cleaned out
Resources remastered 0
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Post SMON to start 1st pass IR
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Reconfiguration complete
Thu Jul 23 13:52:04 2009
ALTER DATABASE MOUNT
Thu Jul 23 13:52:04 2009
Starting background process ASMB
ASMB started with pid=17, OS id=15157
Starting background process RBAL
RBAL started with pid=18, OS id=15169
Thu Jul 23 13:52:09 2009
SUCCESS: diskgroup ORCL_DATA_ORCLCLN was mounted
Thu Jul 23 13:52:13 2009
Setting recovery target incarnation to 2
Thu Jul 23 13:52:13 2009
Successful mount of redo thread 1, with mount id 4437636
Thu Jul 23 13:52:13 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Thu Jul 23 13:52:14 2009
ALTER DATABASE OPEN
Thu Jul 23 13:52:14 2009
Beginning crash recovery of 1 threads
Thu Jul 23 13:52:14 2009
Started redo scan
Thu Jul 23 13:52:14 2009
Completed redo scan
105 redo blocks read, 32 data blocks need recovery
Thu Jul 23 13:52:14 2009
Started redo application at
Thread 1: logseq 2, block 929
Thu Jul 23 13:52:15 2009
Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0
Mem# 0 errs 0: +ORCL_DATA_ORCLCLN/redo_2_1.log
Mem# 1 errs 0: +ORCL_DATA_ORCLCLN/redo_2_0.log
Thu Jul 23 13:52:15 2009
Completed redo application
Thu Jul 23 13:52:15 2009
Completed crash recovery at
Thread 1: logseq 2, block 1034, scn 613579
32 data blocks read, 25 data blocks written, 105 redo blocks read
Thu Jul 23 13:52:15 2009
Thread 1 advanced to log sequence 3
Thread 1 opened at log sequence 3
Current log# 1 seq# 3 mem# 0: +ORCL_DATA_ORCLCLN/redo_1_1.log
Current log# 1 seq# 3 mem# 1: +ORCL_DATA_ORCLCLN/redo_1_0.log
Successful open of redo thread 1
Thu Jul 23 13:52:15 2009
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Thu Jul 23 13:52:15 2009
SMON: enabling cache recovery
Thu Jul 23 13:52:17 2009
Successfully onlined Undo Tablespace 1.
Thu Jul 23 13:52:17 2009
SMON: enabling tx recovery
Thu Jul 23 13:52:17 2009
Database Characterset is WE8ISO8859P1
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=21, OS id=15328
Thu Jul 23 13:52:23 2009
Completed: ALTER DATABASE OPEN
Any help would be greatly appreciated!!!!Ok,
So I managed to get the disk group mounted on the second node, and re-ran the rconfig process.
I got a little further, but encountered another error which is displayed below:
-bash-3.00$ rconfig racconv.xml
<?xml version="1.0" ?>
<RConfig>
<ConvertToRAC>
<Convert>
<Response>
<Result code="1" >
Operation Failed
</Result>
<ErrorDetails>
/u01/app/oracle/product/10.2.0/db_1/dbs Data File is not shared across all nodes in the cluster
</ErrorDetails>
</Response>
</Convert>
</ConvertToRAC></RConfig>
I am not using a shared oracle home, each node in the cluster has its own oracle installation residing on local disk. Is a shared oracle home a pre-requisite for usin rconfig?
I have provided the .xml file I am using below:
-bash-3.00$ cat racconv.xml
<?xml version="1.0" encoding="UTF-8"?>
<n:RConfig xmlns:n="http://www.oracle.com/rconfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oracle.com/rconfig">
<n:ConvertToRAC>
<!-- Verify does a precheck to ensure all pre-requisites are met, before the conversion is attempted. Allowable values are: YES|NO|ONLY -->
<n:Convert verify="YES">
<!--Specify current OracleHome of non-rac database for SourceDBHome -->
<n:SourceDBHome>/u01/app/oracle/product/10.2.0/db_1</n:SourceDBHome>
<!--Specify OracleHome where the rac database should be configured. It can be same as SourceDBHome -->
<n:TargetDBHome>/u01/app/oracle/product/10.2.0/db_1</n:TargetDBHome>
<!--Specify SID of non-rac database and credential. User with sysdba role is required to perform conversion -->
<n:SourceDBInfo SID="ORCLCLN">
<n:Credentials>
<n:User>oracle</n:User>
<n:Password>password</n:Password>
<n:Role>sysdba</n:Role>
</n:Credentials>
</n:SourceDBInfo>
<!--ASMInfo element is required only if the current non-rac database uses ASM Storage -->
<n:ASMInfo SID="+ASM1">
<n:Credentials>
<n:User>oracle</n:User>
<n:Password>password</n:Password>
<n:Role>sysdba</n:Role>
</n:Credentials>
</n:ASMInfo>
<!--Specify the list of nodes that should have rac instances running. LocalNode should be the first node in this nodelist. -->
<n:NodeList>
<n:Node name="sol002"/>
<n:Node name="sol003"/>
</n:NodeList>
<!--Specify prefix for rac instances. It can be same as the instance name for non-rac database or different. The instance number will be attached to this prefix. -->
<n:InstancePrefix>ORCLCLN</n:InstancePrefix>
<!--Specify port for the listener to be configured for rac database.If port="", alistener existing on localhost will be used for rac database.The listener will be extended to all nodes in the nodelist -->
<n:Listener port=""/>
<!--Specify the type of storage to be used by rac database. Allowable values are CFS|ASM. The non-rac database should have same storage type. -->
<n:SharedStorage type="ASM">
<!--Specify Database Area Location to be configured for rac database.If this field is left empty, current storage will be used for rac database. For CFS, this field will have directory path. -->
<n:TargetDatabaseArea></n:TargetDatabaseArea>
<!--Specify Flash Recovery Area to be configured for rac database. If this field is left empty, current recovery area of non-rac database will be configured for rac database. If current database is not using recovery Area, the resulting rac database will not have a recovery area. -->
<n:TargetFlashRecoveryArea></n:TargetFlashRecoveryArea>
</n:SharedStorage>
</n:Convert>
</n:ConvertToRAC>
</n:RConfig> -
How to determine which RAC-instance the appl. is logged onto?
Dear all,
I need to have my application server determine which RAC-
instance is currently active (logged onto). I have a
tnsnames.ora file with a primary-, and secondary RAC-
instance configured, and Failover/Failback between the
instances work fine. However, I would be interested in
determining which instance I am curently using.
Does the Oracle Net Protocol have support for letting me
"read" this out, or...?
Thanks.
Regards, Eldor R.Thank you for the prompt reply.
Is there, in the Oracle Net Protocol, available
function(s) for reading out this information
directly without "parsing" the trace file?
I would like to read out this information from my
application run-time.
Thanks. -
RAC instance won't start: ORA-00443: background process "VKRM" did not star
I've logged a SR with Oracle, but while waiting for response from them...I'm stumped I can't find more out here about this article.
On Oracle knowledgebase...any search for VKRM, gives about the same 3 articles relating to RDA (Remote Diagnostic Assistant).
Not sure what went on here.
I have a 5 node RAC cluster. All other instances seem to be running just fine.
On one instance...some applications were getting an error like:
ORA-01033: ORACLE initialization or shutdown in progress
I looked in GRID...and it indicated that only two of the 5 nodes had this instance running...which was strange in that with srvctl, it showed ll 5 up and running:
[oracle@server2 bin]$ ./srvctl status database -d INSTANCE
Instance INSTANCE1 is running on node server1
Instance INSTANCE2 is running on node server2
Instance INSTANCE3 is running on node server3
Instance INSTNANCE4 is running on node server4
Instance INSTANCE5 is running on node server5
Anyway, thought I'd poke around. I started with trying to get srvctl to stop instance #2...in GRID it seemed that instance 2,4 and 5 weren't working.
srvctl stop instance -D INSTANCE -i INSTANCE2
This just hung...
I thought I'd cycle all the nodes...so, did a ctl-c out of that one, and did:
[oracle@server2 bin]$ ./srvctl stop database -d INSTANCE -o abort
PRCD-1124 : Failed to stop database INSTANCE and its services
PRCR-1065 : Failed to stop resource (((((NAME STARTS_WITH ora.instance.) && (NAME ENDS_WITH .svc)) && (TYPE == ora.service.type)) && ((STATE != OFFLINE) || (TARGET != OFFLINE))) || (((NAME == ora.instance.db) && (TYPE == ora.database.type)) && (STATE != OFFLINE)))
CRS-2675: Stop of 'ora.instance.db' on 'server5' failed
CRS-2675: Stop of 'ora.instance.db' on 'server4' failed
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
The ORA-01034 messages repeats a number of times...and the one with server4 and server5 repeated again too.
I also got this:
CRS-2680: Clean of 'ora.instance.db' on 'server2' failed
CRS-2675: Stop of 'ora.instance.db' on 'server5' failed
CRS-2675: Stop of 'ora.instance.db' on 'server4' failed
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
I get similar messages when I try to restart.
clusters seem to be up, and other instances seem to be ok
Looking at alert log...I found some strangeness in the traces
Starting background process VKRM
Errors in file /u01/app/oracle/diag/rdbms/instance/INSTANCE2/trace/INSTANCE2_dbrm_26982.trc:
ORA-00443: background process "VKRM" did not start
Errors in file /u01/app/oracle/diag/rdbms/instance/INSTANCE2/trace/INSTANCE2_ora_27467.trc:
ORA-00450: background process '' did not start
Errors in file /u01/app/oracle/diag/rdbms/instance/INSTANCE2/trace/INSTANCE2_ora_27467.trc:
ORA-00450: background process '' did not start
Error 450 happened during db open, shutting down database
USER (ospid: 27467): terminating the instance due to error 450
LGWR waiting for instance termination
Instance terminated by USER, pid = 27467
ORA-1092 signalled during: ALTER DATABASE OPEN...
opiodr aborting process unknown ospid (27467) as a result of ORA-1092
Looking at the trace listed above:
2011-05-09 12:17:18.305726 :84271119:db_trace:ksb.c@2157:ksbs1p_real(): [10254:6:464] KSBS1P: process DBRM trying to start background VKRM
2011-05-09 12:17:18.305729 :8427111A:db_trace:ksb.c@2220:ksbs1p_real(): [10254:6:464] KSBS1P: process DBRM obtained PR enqueue to start background VK
RM
2011-05-09 12:17:18.306021 :8427111D:db_trace:ksb.c@2354:ksbs1p_real(): [10254:6:464] KSBS1P: creation error posted OER(1089)
2011-05-09 12:17:18.306029 :8427111F:db_trace:ksb.c@2424:ksbs1p_real(): [10254:6:464] KSBS1P: out of loop: process did not start
Trace Bucket Dump End: default bucket for process 6 (osid: 26982, DBRM)
ORA-00443: background process "VKRM" did not start
kskdbrmpa: reply error 450
Any ideas? Again...I can't seem to find much of ANY information searching out there for the VKRM background process not starting...
Thanks in advance,
cayenne
Edited by: cayenne on May 9, 2011 11:34 AMAnyone? Anyone? Bueller?
Ok..have been on phone with Oracle support, and have them stumped so far.
I've checked..other instances are running (except one other that failed to cleanly shut down with srvctl and same error messages).
I've check...ASM is running on all 5 nodes. I've used crsctl to check CRS on all nodes..clustering seems ok.
Memory while somewhat high...should have enough room...the system has never complained before, and this has been up on this config for over a year.
I was able on node one...to fire up the first nodes instance using the pfile there...it came up. I started it restrict..and promptly ran a datapump export, and then shut back down.
While Oracle support is going through logs and trace files I sent...I've got another 11Gr2 environment (3 node RAC) I've been using as a test environment...and am recreated the instance there temporarily to allow my developers to test and get past the upcoming deadline.
But, I'm still puzzled as to the solution on the main cluster. This seem to be normal, except these two instances....
any ideas on where and what to look for?
cayenne -
Unable to start RAC Instance - error: PRKP-1001
Hello,
I'm getting stucked about starting instance on the first node of my RAC.
[oracle@itsm-cldb1a admin]$ srvctl start database -d TDW
PRKP-1001 : Error starting instance TDW1 on node itsm-cldb1a
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.TDW.TDW1.inst' has placement error.
I've checked:
[oracle@itsm-cldb1a admin]$ srvctl status database -d TDW
PRKO-2015 : Error in checking condition of instance on node: itsm-cldb1a
Instance TDW2 is running on node itsm-cldb1c
[oracle@itsm-cldb1a admin]$ /opt/oracle/app/crs/bin/crs_stat -t -v
Name Type R/RA F/FT Target State Host
ora....DW1.srv application 0/1 0/0 ONLINE ONLINE itsm-cldb1c
ora.TDW.TDW.cs application 0/1 0/1 ONLINE ONLINE itsm-cldb1c
ora....W1.inst application 0/5 0/0 ONLINE UNKNOWN itsm-cldb1a
ora....W2.inst application 0/5 0/0 ONLINE ONLINE itsm-cldb1c
ora.TDW.db application 0/1 0/1 ONLINE ONLINE itsm-cldb1c
ora....SM1.asm application 2/5 0/0 ONLINE ONLINE itsm-cldb1a
ora....1A.lsnr application 0/5 0/0 ONLINE UNKNOWN itsm-cldb1a
ora....1A.lsnr application 0/5 0/0 ONLINE ONLINE itsm-cldb1a
ora....1A.lsnr application 0/5 0/0 ONLINE UNKNOWN itsm-cldb1a
ora....b1a.gsd application 0/5 0/0 ONLINE UNKNOWN itsm-cldb1a
ora....b1a.ons application 0/3 0/0 ONLINE UNKNOWN itsm-cldb1a
ora....b1a.vip application 0/0 0/0 ONLINE ONLINE itsm-cldb1a
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE itsm-cldb1c
ora....1C.lsnr application 0/5 0/0 ONLINE ONLINE itsm-cldb1c
ora....1C.lsnr application 0/5 0/0 ONLINE ONLINE itsm-cldb1c
ora....1C.lsnr application 0/5 0/0 ONLINE ONLINE itsm-cldb1c
ora....b1c.gsd application 0/5 0/0 ONLINE ONLINE itsm-cldb1c
ora....b1c.ons application 0/3 0/0 ONLINE ONLINE itsm-cldb1c
ora....b1c.vip application 0/0 0/0 ONLINE ONLINE itsm-cldb1c
[oracle@itsm-cldb1a admin]$ /opt/oracle/app/crs/bin/crs_stat -t
Name Type Target State Host
ora....DW1.srv application ONLINE ONLINE itsm-cldb1c
ora.TDW.TDW.cs application ONLINE ONLINE itsm-cldb1c
ora....W1.inst application ONLINE UNKNOWN itsm-cldb1a
ora....W2.inst application ONLINE ONLINE itsm-cldb1c
ora.TDW.db application ONLINE ONLINE itsm-cldb1c
ora....SM1.asm application ONLINE ONLINE itsm-cldb1a
ora....1A.lsnr application ONLINE UNKNOWN itsm-cldb1a
ora....1A.lsnr application ONLINE ONLINE itsm-cldb1a
ora....1A.lsnr application ONLINE UNKNOWN itsm-cldb1a
ora....b1a.gsd application ONLINE UNKNOWN itsm-cldb1a
ora....b1a.ons application ONLINE UNKNOWN itsm-cldb1a
ora....b1a.vip application ONLINE ONLINE itsm-cldb1a
ora....SM2.asm application ONLINE ONLINE itsm-cldb1c
ora....1C.lsnr application ONLINE ONLINE itsm-cldb1c
ora....1C.lsnr application ONLINE ONLINE itsm-cldb1c
ora....1C.lsnr application ONLINE ONLINE itsm-cldb1c
ora....b1c.gsd application ONLINE ONLINE itsm-cldb1c
ora....b1c.ons application ONLINE ONLINE itsm-cldb1c
ora....b1c.vip application ONLINE ONLINE itsm-cldb1c
ASM is online, listener is Online. Instance down and from EM I see that Agent connection to Instance failed due to error ORA-12505.
Any hint please?
Thanks
StefanoWe need to find out to which listener agent is attempting to connect. You can check the logs under $AGENT_HOME/sysman/log..you will should see the connect description in the log files, which should give you some kind of pointers.
Thanks
Chandra -
How can I avoid running out of memory when creating components dynamically
Hello everyone,
Recently, I am planning to design a web application. It will be used by all middle school teachers in a region to make examination papers and it must contain the following main functions.
1)Generate test questions dynamically. For instance, a teacher who logs on the web application will only see a select one menu and a Next Quiz button. The former is used for determining the number of options for the current multiple/single choice question. The later is dedicated to creating appropriate input text elements according to the selected option number. That is to say, if the teacher selects 4 in the menu and presses the Next Quiz button, 5 input text form elements will appear. The first one is for the question to be asked such as "1.What is the biggest planet in the solar system?", the others are optional answers like a)Uranus. b) Saturn. c)Jupiter. d)Earch. Each answer stands for an input text elements. When the teacher fills in the fourth answer, another select one menu and Next Quiz button will emerge on the fly just under this answer, allowing the teacher to make the second question. The same thing repeats for the following questions.
2)Undo and Redo. Whenever a teacher wants to roll back or redo what he has done, just press the Undo or[i] Redo button. In the previous example, if the teacher selects the third answer and presses the Delete button to drop this answer, it will delete both the literal string content[i] and the input text element, changing the answer d to c automatically. After that, he decides to get back the original answer c, Jupiter, he can just click the Undo button as if he hadn�ft made the deleting operation.
3)Save the unfinished working in the client side. If a teacher has done half of his work, he can choose to press the Save button to store what he has done in his computer. The reason for doing so is simply to alleviate the burden of the server. Although all finished test papers must be saved in a database on the server, sometimes the unfinished papers could be dropped forever or could form the ultimate testing papers after several months. So if these papers keep in the server, it will waste the server computer�fs room. Next time the teacher can press the Restore button on the page to get the previously stored part of the test paper from his own computer and continue to finish the whole paper.
4)Allow at least 1,000 teachers to make test papers at the same time. The maximum question number per examination paper is 60.
Here are my two rough solutions,
A.Using JSF.
B.Using JavaScript and plain JSP[b] without JSF.
The comparison of the two solutions:
1)Both schemas can implement the first and the second requirements. In JSF page I could add a standard panelGird tag and use its binding attribute. In the backing bean, the method specified by the binding attribute is responsible for generating HtmlInput objects and adding them to the HtmlPanelGird object on the fly. Every HtmlInput object is corresponding to a question subject or an optional answer. The method is called by an actionListener, which is registered in the Next Quiz commandButton, triggering by the clicking on this button in the client side. Using JSF can also be prone to managing the HtmlInput objects, e.g. panelGird.getChildren().add(HtmlInput) and panelGird.getChildren().remove(HtmlInput) respond to the undoing operation of deleting an optional answer and the redoing operation of the deleting action respectively. I know JavaScript can also achieve these goals. It could be more complex since I don�ft know well about JavaScript.
2)I can not find a way to meet the third demand right now. I am eager to know your suggestion.
3)Using JSF, I think, can�ft allow 1,000 teachers to do their own papers at the same time. Because in this scenario, suppose each questionnaire having 60 questions and 4 answers per question, there will be approximately 300,000 HtmlInput objects (1,000X60X(4+1)) creating on the server side. The server must run out of memory undoubtedly. To make things better, we can use a custom component which can be rendered as a whole question including its all optional answers. That is to say, a new custom component on the server side stands for a whole question on the client side. Even so, about 60,000(1,000X60) this type of custom components will be created progressively and dynamically, plus other UISelectOne and UICommand objects, it also can�ft afford for most servers. Do I have to use JavaScript to avoid occupying the server's memory in this way? If so, I have to go back and use JavaScript and plain JSP without JSF.
Thank you in advance!
Best Regards, Ailsa
2007/5/4Thank you for your quick response, BalusC. I really appreciate your answer.
Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
Best Regards, Ailsa -
Hi,
Our Terminal Server is running out of hard disk space, and the major files which occupy most of the space are *.ost files of the Outook, which come form the users which use the Terminal Server all the time through remote desktop. The Outlook is installed
on the Terminal Server and various users can use it.
What would be a solution in this case. Is there a way to limit the size of the *.ost files? I read in forums that having the Outlook 2010 set up in Cached Exchange Mode isn't the best practice for an environment where the hdd space is a major constraint.
What do you suggest?
Thanks,Is the Exchange server local or remote? If it's local then it might be worth considering disabling cached mode, since the traffic will be going over the local network and therefore having the data cached becomes much less useful. If it's a remote exchange
server then realistically turning off cached mode would likely make it unusable.
If Exchange is remote then other than increasing the available storage, another option might be to upgrade your Outlook / Office installation to 2013. In Outlook 2013 you can configure how much of the users mailbox is cached in terms of time, so for instance
you could set it to only cache the last 6 months worth of mail, and then all recent messages would continue to be quick to view, but older messages that are less likely to be accessed frequently would have to be downloaded from Exchange each time since they
would no longer be cached. -
Why is Up Next running out of music in iTunes 11?
I'm running iTunes 11.01 and it thankfully has the option to skip by album added back in. However, I have iTunes set to shuffle by album and when skipping to the next album I frequently run out of music to skip to.
For instance, I'll begin playing an album and can maybe skip 3 or 4 albums in a row (sometimes less, sometimes more) before whatever is in the Up Next list simply runs out. It doesn't update with anything new and the playback just stops either as I skip the last album or when it reaches the last track. I need to switch to another library like Movies and then jump back to Music in order for iTunes to select another random album when I click play.
Is there any way to turn off Up Next so that iTunes will simply play a continuous stream of random albums or allow me to skip through as many random albums as I like?Wow. Thanks for the quick reply! :D
They're like a human ETL tool.Is that the title on business cards as well? :)Maybe it should be. :)
>
>
>>
gets to about 6 million rows and then we get a PGAmemory error.
And the error is...?I'm not at work right now but I'll have the error code in a short while on mail from my colleague..
>
So I guess my question is - is there any other,more
efficient way, to make this load? I've raised theAre you saying that there's more problems than this
pga error?There were other errors in the beginning, mostly because the people (not us) who installed the database form the beginning were not given any input on the use of the database so I guess they just took standard values for everything. Then when it started to get filled with data to the equivalent of production data the segments started to blow up - since the IT-dept that are in charge of the physical server don't like autoextents and stuff.
>
pga_max_size from 25Mb to 200Mb (though theadvisor
You could check v$pgastatYeah, I've checked it and also the advisors in the database. I've looked in several books as well but I haven't been able to find out why the PGA is to be a problem at all when using cursors?
Is there any data about each opening of the cursors that get saved in the PGA during the session? Is it "bad" to open and close the cursors too often for example? Should you open a cursor and let it be open for the whole transfer?
I'm not a programmer so I don't really know. -
Oracle 9i running out of memory
Folks !
I have a simple 3 table schema with a few thousand entries each. After dedicating gigabytes of hard disk space and 50% of my 1+ GB memory, I do a few simple Oracle Text "contains" searches (see below) on these tables and oracle seems to grow some 25 MB after each query (which typically return less than a dozen rows each) till it eventually runs out of memory and I have to reboot the system (Sun Solaris).
This is on Solaris 9/Sparc with Oracle 9.2 . My query is simple right outer join. I think the memory growth is related to Oracle Text index/caching since memory utilization seems pretty stable with simple like '%xx%' queries.
"top" shows a dozen or so processes each with about 400MB RSS/SIZE. It has been a while since I did Oracle DBA work but I am nothing special here. Databse has all the default settings that you get when you create an Oracle database.
I have played with SGA sizes and no matter how large or small the size of SGA/PGA, Oracle runs out of memory and crashes the system. Pretty stupid to an Enterprise databas to die like that.
Any clue on how to arrest the fatal growth of memory for Oracle 9i r2?
thanks a lot.
-Sanjay
PS: The query is:
SELECT substr(sdn_name,1,32) as name, substr(alt_name,1,32) as alt_name, sdn.ent_num, alt_num, score(1), score(2)
FROM sdn, alt
where sdn.ent_num = alt.ent_num(+)
and (contains(sdn_name,'$BIN, $LADEN',1) > 0 or
contains(alt_name,'$BIN, $LADEN',2) > 0)
order by ent_num, score(1), score(2) desc;
There are following two indexes on the two tables:
create index sdn_name on sdn(sdn_name) indextype is ctxsys.context;
create index alt_name on alt(alt_name) indextype is ctxsys.context;I am already using MTS.
Atached is the init.ora file below.
may be I should repost this article with subject "memory leak in Oracle" to catch developer attention. I posted this a few weeks back in Oracle Text groiup and no response there either.
Thanks for you help.
-Sanjay
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_cache_size=33554432
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=ofac
# Diagnostics and Statistics
background_dump_dest=/space/oracle/admin/ofac/bdump
core_dump_dest=/space/oracle/admin/ofac/cdump
timed_statistics=TRUE
user_dump_dest=/space/oracle/admin/ofac/udump
# File Configuration
control_files=("/space/oracle/oradata/ofac/control01.ctl", "/space/oracle/oradata/ofac/control02.ctl", "/space/oracle/oradata/ofac/control03.ctl")
# Instance Identification
instance_name=ofac
# Job Queues
job_queue_processes=10
# MTS
dispatchers="(PROTOCOL=TCP) (SERVICE=ofacXDB)"
# Miscellaneous
aq_tm_processes=1
compatible=9.2.0.0.0
# Optimizer
hash_join_enabled=TRUE
query_rewrite_enabled=FALSE
star_transformation_enabled=FALSE
# Pools
java_pool_size=117440512
large_pool_size=16777216
shared_pool_size=117440512
# Processes and Sessions
processes=150
# Redo Log and Recovery
fast_start_mttr_target=300
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=524288
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_retention=10800
undo_tablespace=UNDOTBS1 -
WARNING:Oracle process running out of OS kernel I/O resources
Hi!
I am getting below warning in the dbwr trace files almost daily at different times:
WARNING:Oracle process running out of OS kernel I/O resources
We are using :
SuSE Linux Enterprise Edition 10 Sp 2
OS Kernel --> 2.6.16.60-0.39.3-smp
Oracle Database 10.2.0.2 64-bit with only 5380055 bug fix applied
Storage: IBM DS 8300
fs.aio-max-nr = 65536
Please help in resolving this issue.
Regards,
RajuHi Mark,
Thank u for quick ur reply.
Doc #396057.1 (SuSE 10.2 OS issue) --> This note says "The archiver is getting stuck with ORA-19502 and ORA-27061", whereas in my case I'm not getting any ORA- errors in alert log nor anywhere but only getting these warnings in dbwr trace files that is also intermittently.
I have consulted my system team in regards to disk I/O they said we are using very high end storage and there are no errors or warnings in the OS system logs.
# 415872.1 --> this note says "HUNG DATABASE INSTANCE IF LINUX KERNEL MISS AIO REQUEST". This is not the situation in our case.
#6687381.8 --> says versions confirmed as being affected are 10.2.0.3 and 10.2.0.4
I'm unable to find anything which points to my situation, pls help.
regards,
raju -
Oracle server running out of space
We have a linux(debian)server which has Oracle10g in it and it is running out of space now. So we decided to add some more disk space(adding a new hard drive in the same server). But if we want to add more data files how can I tell the DB to use the added disk space. Since all the data files are existing in /home/oracle/oradata/orcl and their tablespace (USERS) are in the old disk,is it possible to tell the DB to use the added disk.
Please let me know if that can be done and how.
Thanks in advance.Drop the tablespace. If you are sure you don't need it.
ALTER TABLESPACE tools offline;
DROP TABLESPACE tools;
1* create tablespace noned datafile '/u02/app/oracle/oradata/DWDEV01/noned.dbf' size 10M extent management local
SQL> /
Tablespace created.
shutdown immediate;
oracle@debian:~/oradata/DWDEV01$ mv noned.dbf _noned.dbf
oracle@debian:~/oradata/DWDEV01$ sqlplus sys/p as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Nov 11 18:44:13 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup;
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 75499088 bytes
Database Buffers 205520896 bytes
Redo Buffers 2973696 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/u02/app/oracle/oradata/DWDEV01/noned.dbf'
1* alter database datafile '/u02/app/oracle/oradata/DWDEV01/noned.dbf' offline drop
SQL> /
Database altered.
SQL> drop tablespace noned;
drop tablespace noned
ERROR at line 1:
ORA-01109: database not open
SQL> alter database open;
Database altered.
SQL> drop tablespace noned;
Tablespace dropped.
Message was edited by:
gopalora
Maybe you are looking for
-
Creating a video DVD for PAL TV using video from an NTSC Camcorder
Hey Guys, I'll be owning an AVCHD NTSC camcorder (Canon HF S10) and need to know whether Final Cut Express includes the functionality of importing the video from the camcorder and exporting it to a DVD for a PAL TV system. Will you share your experie
-
Error on starting PE 12: "This is not a valid pdf file"
I get that message on opening PE 12 (for the first time-I"m a new user) and then the program freezes. I haven't done anything yet!
-
How to install Windows on a SATA boot drive
Here is how to install Windows XP on a SATA boot drive. This procedure was first developed by syar2003 and has been used by many iusers ncluding myself. Although it was originally developed for Neo2 mb's and Windows XP Pro, it has general applicab
-
Hi, I bought the Audigy 4 specifically so I could output audio in high resolution, but I could not find any option to allow me to output in 24 bit sound with 92kHz sampling rates in stereo mode. Does anyone know how to do this? TIA!
-
How to see any changes done in BOM through Engineering change management?
Dear experts, My client need to verify the revision of some assemblies in BOM through ECM. I tried to verify it by taking some change numbers & executing it in CC03. I am getting the history date & name of person who done the changes. But can not abl