cancel
Showing results for 
Search instead for 
Did you mean: 

Memory allocation problem

Former Member
0 Kudos

Hello, my sap is closed, ora-00471 database error, the database is 10.2.0.2 server is HP-UNIX 11.31. in the start there is a hint that SGA is too small. It is necessary to adjust the SGA? Now SGA size is 17g. "If the database reaches an operating system limit in note:541695 (for example, memory space or number of process it may terminate), the Oracle background processes. Check if sufficient main memory and swap space are physically available and if they can actually be used by the operating system. A maximum address space of two or three GB is therefore available on WINDOWS. On UNIX, operating system settings may limit the resources to be (used for example, maxfiles nfile, or ninode on HP-UX).Is my server configuration problem?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thank you ,

I also found in the /home/***adm/stopdb.log ora-03113 under the error, it has the effect of it? I am now close to the sap, the cluster can not be normally closed, the file system can not be umount

Brindavan_M
Contributor
0 Kudos

Hi,

yes, you can find the start & stopsap log file in home directory. if some of the  filesystem is not mounted proplery then it can casue issue like this. You can use R3trans -d command with SIDadm logi user and find the translog as well.

Let me know if you need more details on this.

Thanks,

BM

Former Member
0 Kudos

R3trans -d  Return code is 0000, normal,

Former Member
0 Kudos

Now is unable to unload part of the file system, resulting in the cluster can not switch,

Brindavan_M
Contributor
0 Kudos

Hi ,

Check with OS team and Network team for further analyse the issue.

JamesZ
Advisor
Advisor
0 Kudos

Hi,

For SAP on oracle, you can perform auto parameter check as per SAP note

1171650 . The check result will list all the problematic parameter and recommendation.

By the way ORA-00471 means db writer died, which may not be related any parameter setting. To find the root cause, you need to provide alert log and the mentioned oracle trace files.

Best regards,
James

Former Member
0 Kudos

alter.log

Sat Jun 13 09:13:13 2015

Beginning log switch checkpoint up to RBA [0xbe8a.2.10], SCN: 723525722

Thread 1 advanced to log sequence 48778

  Current log# 2 seq# 48778 mem# 0: /oracle/P02/origlogB/log_g12m1.dbf

  Current log# 2 seq# 48778 mem# 1: /oracle/P02/mirrlogB/log_g12m2.dbf

Sat Jun 13 09:13:13 2015

Shutting down instance: further logons disabled

Sat Jun 13 09:13:13 2015

Completed checkpoint up to RBA [0xbe8a.2.10], SCN: 723525722

Sat Jun 13 09:13:13 2015

Stopping background process QMNC

Sat Jun 13 09:13:13 2015

Stopping background process CJQ0

Sat Jun 13 09:13:14 2015

Stopping background process MMNL

Sat Jun 13 09:13:15 2015

Stopping background process MMON

Sat Jun 13 09:13:16 2015

Shutting down instance (immediate)

License high water mark = 278

Sat Jun 13 09:13:16 2015

Stopping Job queue slave processes

Sat Jun 13 09:13:16 2015

Job queue slave processes stopped

Sat Jun 13 09:13:21 2015

Process OS id : 17147 alive after kill

Errors in file

Sat Jun 13 09:15:11 2015

Errors in file /oracle/P02/saptrace/background/p02_pmon_17487.trc:

ORA-00471: DBWR process terminated with error

Sat Jun 13 09:15:11 2015

PMON: terminating instance due to error 471

Instance terminated by PMON, pid = 17487

Sat Jun 13 09:17:08 2015

Starting ORACLE instance (normal)

Sat Jun 13 09:17:08 2015

Specified value of sga_max_size is too small, bumping to 18572378112

LICENSE_MAX_SESSION = 0

LICENSE_SESSIONS_WARNING = 0

Picked latch-free SCN scheme 3

Autotune of undo retention is turned on.

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                = 500

  sessions                 = 600

  event                    = 10191 trace name context forever, level 1

  sga_max_size             = 18572378112

  shared_pool_size         = 9261023232

  shared_pool_reserved_size= 925816061

  filesystemio_options     = setall

  control_files            = /oracle/P02/origlogA/cntrl/cntrlP02.dbf, /oracle/P02/origlogB/cntrl/cntrlP02.dbf, /oracle/P02/sapdata1/cntrl/cntrlP02.dbf

  control_file_record_keep_time= 30

  db_block_size            = 8192

  db_cache_size            = 9261023232

  db_writer_processes      = 2

  compatible               = 10.2.0

  log_archive_dest         = /oracle/P02/oraarch/P02arch

  log_buffer               = 14469120

  log_checkpoint_interval  = 0

  db_files                 = 254

  log_checkpoints_to_alert = TRUE

  dml_locks                = 4000

  replication_dependency_tracking= FALSE

  undo_management          = AUTO

  undo_tablespace          = PSAPUNDO

  _in_memory_undo          = FALSE

  undo_retention           = 43200

  recyclebin               = off

  remote_os_authent        = TRUE

  remote_login_passwordfile= EXCLUSIVE

  job_queue_processes      = 2

  parallel_execution_message_size= 16384

  _table_lookup_prefetch_size= 0

  background_dump_dest     = /oracle/P02/saptrace/background

  user_dump_dest           = /oracle/P02/saptrace/usertrace

  core_dump_dest           = /oracle/P02/saptrace/background

  sort_area_size           = 2097152

  sort_area_retained_size  = 0

  db_name                  = P02

  open_cursors             = 800

  _sort_elimination_cost_ratio= 10

  _b_tree_bitmap_plans     = FALSE

  star_transformation_enabled= true

  query_rewrite_enabled    = false

  _index_join_enabled      = FALSE

  _optim_peek_user_binds   = FALSE

  pga_aggregate_target     = 12344214159

trc

/oracle/P02/saptrace/background/p02_pmon_17487.trc

Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production

With the Partitioning and Data Mining options

ORACLE_HOME = /oracle/P02/102_64

System name: HP-UX

Node name:

Release: B.11.31

Version: U

Machine: ia64

Instance name: P02

Redo thread mounted by this instance: 1

Oracle process number: 2

Unix process pid: 17487, image:  (PMON)

*** 2015-06-13 09:15:11.037

*** SERVICE NAME:(SYS$BACKGROUND) 2015-06-13 09:15:11.036

*** SESSION ID:(600.1) 2015-06-13 09:15:11.036

Background process DBW0 found dead

Oracle pid = 5

OS pid (from detached process) = 17493

OS pid (from process state) = 17493

dtp = c000000100e14e90, proc = c0000005514b5988

Dump of memory from 0xC000000100E14E90 to 0xC000000100E14ED8

C000000100E14E90 0000002D 00000000 C0000005 514B5988  [...-........QKY.]

C000000100E14EA0 00000000 00000000 00000000 44425730  [............DBW0]

C000000100E14EB0 00020000 00000000 00004455 00000000  [..........DU....]

C000000100E14EC0 00000000 544C48EC 00000001 E38163A8  [....TLH.......c.]

C000000100E14ED0 00010000 00000000                    [........]       

Dump of memory from 0xC0000005514B5988 to 0xC0000005514B6178

C0000005514B5980                   02010000 00000000          [........]

C0000005514B5990 00000000 00000000 00000000 00000000  [................]

C0000005514B59A0 00000000 00000000 C0000005 4A73C7D8  [............Js..]

C0000005514B59B0 C0000005 519E46D8 C0000005 526D8C58  [....Q.F.....Rm.X]

C0000005514B59C0 C0000005 519E2D50 00000000 00000000  [....Q.-P........]

C0000005514B59D0 C0000005 519E2DD8 C0000005 519E2DD8  [....Q.-.....Q.-.]

C0000005514B59E0 C0000005 519E46C8 01060000 00000000  [....Q.F.........]

C0000005514B59F0 C0000005 5268E0A0 C0000005 526D8C58  [....Rh......Rm.X]

C0000005514B5A00 00000005 00000000 00000000 00000000  [................]

C0000005514B5A10 00000000 00000000 00000000 00000000  [................]

C0000005514B5A20 C0000005 517C34D0 C0000005 517C35F8  [....Q|4.....Q|5.]

C0000005514B5A30 00000000 00000000 00000000 00000000  [................]

        Repeat 3 times

C0000005514B5A70 00000000 00000000 00000003 00000000  [................]

        Repeat 2 times

C0000005514B5AA0 00000000 00000000 00000004 00000000  [................]

C0000005514B5AB0 00000000 00000000 00000003 00000000  [................]

        Repeat 5 times

C0000005514B5B10 00000000 00000000 00000000 00000000  [................]

        Repeat 5 times

C0000005514B5B70 557B83A9 00000000 00000000 00000000  [U{..............]

C0000005514B5B80 00000000 00000000 00000000 00000000  [................]

C0000005514B5B90 00000000 00000000 00000000 0000012C  [...............,]

C0000005514B5BA0 C0000005 514B5BA0 C0000005 514B5BA0  [....QK[.....QK[.]

C0000005514B5BB0 00000000 00000000 00000001 FFFFFFFF  [................]

C0000005514B5BC0 C0000005 514B5BC0 C0000005 514B5BC0  [....QK[.....QK[.]

C0000005514B5BD0 00000000 00000000 00000000 00000000  [................]

C0000005514B5BE0 00000000 00000441 00000000 00000008  [.......A........]

C0000005514B5BF0 00000000 03B33D80 00000000 00000000  [......=.........]

C0000005514B5C00 00000000 00000000 00000000 00000000  [................]

C0000005514B5C10 0000000C 0000006D 00013E22 0002EDB7  [.......m..>"....]

C0000005514B5C20 C0000005 514C47A8 C0000005 524901E0  [....QLG.....RI..]

C0000005514B5C30 00000001 00000000 00000000 00000000  [................]

C0000005514B5C40 00000000 00000000 00000000 00000000  [................]

        Repeat 1 times

C0000005514B5C60 00000000 00000000 00004455 00000000  [..........DU....]

C0000005514B5C70 00000000 00000000 00000000 00000000  [................]

        Repeat 2 times

C0000005514B5CA0 00000000 00000000 C0000005 514B5988  [............QKY.]

C0000005514B5CB0 00000000 00000000 00000000 00000000  [................]

        Repeat 7 times

C0000005514B5D30 557B83A9 00000000 C0000005 514B5D38  [U{..........QK]8]

C0000005514B5D40 C0000005 514B5D38 00000000 00000000  [....QK]8........]

C0000005514B5D50 00010000 00000000 00000000 0002901E  [................]

C0000005514B5D60 00000009 00000000 22BB2CC1 A46FA00A  [........".,..o..]

C0000005514B5D70 00004455 00000000 00000000 544C48EC  [..DU........TLH.]

C0000005514B5D80 00000001 00000000 00000000 00000000  [................]

C0000005514B5D90 00000000 00000000 00000000 00000000  [................]

        Repeat 2 times

C0000005514B5DC0 00000000 00000000 00000003 FFFFFFFF  [................]

C0000005514B5DD0 00000000 00000000 00000000 00000000  [................]

        Repeat 13 times

C0000005514B5EB0 70303261 646D0000 00000000 00000000  [p02adm..........]

C0000005514B5EC0 00000000 00000000 00000000 00000000  [................]

C0000005514B5ED0 00000000 00000006 62777363 30310000  [........bwsc01..]

C0000005514B5EE0 00000000 00000000 00000000 00000000  [................]

        Repeat 2 times

C0000005514B5F10 00000000 00000000 00000000 00000006  [................]

C0000005514B5F20 554E4B4E 4F574E00 00000000 00000000  [UNKNOWN.........]

C0000005514B5F30 00000000 00000000 00000000 00000000  [................]

C0000005514B5F40 00000000 00000008 31373439 33000000  [........17493...]

C0000005514B5F50 00000000 00000000 00000000 00000000  [................]

C0000005514B5F60 00000000 00000005 6F726163 6C654062  [........oracle@b]

C0000005514B5F70 77736330 31202844 42573029 00000000  [wsc01 (DBW0)....]

C0000005514B5F80 00000000 00000000 00000000 00000000  [................]

C0000005514B5F90 00000000 00000000 00000000 00000014  [................]

C0000005514B5FA0 00000000 00000002 00000000 00000000  [................]

C0000005514B5FB0 00000000 00000000 00000000 00000000  [................]

        Repeat 8 times

C0000005514B6040 00000000 00000000 00000000 00020000  [................]

C0000005514B6050 00000000 00000000 00000000 00000000  [................]

C0000005514B6060 00000000 00000000 C0000005 5250A458  [............RP.X]

C0000005514B6070 C0000005 524900D8 C0000005 5248F8E8  [....RI......RH..]

C0000005514B6080 00000000 00000000 C0000005 517A6DA8  [............Qzm.]

C0000005514B6090 00000000 00000000 00000000 00000000  [................]

        Repeat 1 times

C0000005514B60B0 C0000005 514B60B0 C0000005 514B60B0  [....QK`.....QK`.]

C0000005514B60C0 00000000 00430000 00000000 00300000  [.....C.......0..]

C0000005514B60D0 00000000 0011ECA1 00000000 00111CE1  [................]

C0000005514B60E0 00000000 0084ECA1 00000000 00000000  [................]

C0000005514B60F0 00000000 00000000 00000000 00000000  [................]

C0000005514B6100 00000000 00000828 00000000 000000E0  [.......(........]

C0000005514B6110 00000000 00000828 00000000 00000000  [.......(........]

C0000005514B6120 00000000 00000000 00000000 00000000  [................]

        Repeat 3 times

C0000005514B6160 00000000 00000000 00000000 FFFFD58E  [................]

C0000005514B6170 00000006 00000000                    [........]       

error 471 detected in background process

ORA-00471: DBWR process terminated with error

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Li,

Have you check below KBA ?

541695 - ORA-00470/ORA-00471/ORA-00472/ORA-00473/ORA-00474

Also, examine your system hardware.

Regards,

JamesZ
Advisor
Advisor
0 Kudos

You can see:

Sat Jun 13 09:13:13 2015

Shutting down instance: further logons disabled


Some it is someone tried to shutdown database, thus db writer died. So I would say db writer died is reasonable. You can ignore error ORA-00471 which is reasonable.
.

Brindavan_M
Contributor
0 Kudos

Hello ,

check the alert log file for more details and for automated DB check please find the OSS note 1171650. Check for background trace file as well oracle/SID/trace/background/tst_pmon_4395.trc   Restart the system and clean the shared memory.

ORA-00471: DBWR process terminated with error

Cause: The Database Writer process terminated abnormally.

Thanks,

Brindavan