导入100m的dmp,运行2分钟后报错ora-4030。
free -m 16g,sga 10g pga 2g
oracle 11.2.0.4单机
-
导入命令
-
-
impdp scott/scott directory=dir1 dumpfile=a_1_cur.dmp table_exists_action=replace
-
exclude="user:\"='scott'\"" logfile=a_.log
-
import: release 11.2.0.4.0 - production on fri sep 17 13:55:45 2021
-
凯发app官方网站 copyright (c) 1982, 2011, oracle and/or its affiliates. all rights reserved.
-
connected to: oracle database 11g enterprise edition release 11.2.0.4.0 - 64bit production
-
with the partitioning, olap, data mining and real application testing options
-
master table "scott"."sys_import_full_02" successfully loaded/unloaded
-
starting "scott"."sys_import_full_02": scott/******** directory=dir1 dumpfile=a_1_cur.dmp table_exists_action=replace exclude=user:"='scott'" logfile=a_.log
-
processing object type schema_export/system_grant
-
processing object type schema_export/role_grant
-
processing object type schema_export/default_role
-
processing object type schema_export/tablespace_quota
-
processing object type schema_export/password_history
-
ora-39014: one or more workers have prematurely exited.
-
ora-39029: worker 1 with process name "dw00" prematurely terminated
-
ora-31671: worker process dw00 had an unhandled exception.
-
ora-04030: out of process memory when trying to allocate 120048 bytes (session heap,kuxlpxalloc)
-
ora-06512: at "sys.kupw$worker", line 1887
-
ora-06512: at line 2
-
报错日志:
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
mmap(offset=217747456, len=4096) failed with errno=12 for the file ora_dw01_orcl
-
dde: problem key 'ora 4030' was flood controlled (0x2) (incident: 296434)
-
ora-04030: out of process memory when trying to allocate 16048 bytes (session heap,kuxlpxalloc)
-
ora-06512: at "sys.kupw$worker", line 1887
-
ora-06512: at line 2
-
*** 2021-09-17 13:41:35.381
-
kupp: error 4030 detected in worker process dw01, worker id=2
-
opirip: uncaught error 27102. error stack:
-
ora-27102: out of memory
-
linux-x86_64 error: 12: cannot allocate memory
-
additional information: 108
-
additional information: 1441792
-
ora-00448: normal completion of background process
-
ora-31671: worker process dw01 had an unhandled exception.
-
ora-04030: out of process memory when trying to allocate 16048 bytes (session heap,kuxlpxalloc)
-
ora-06512: at "sys.kupw$worker", line 1887
-
ora-06512: at line 2
关键trc文件(看alert.log里的提示)
-
more /oracle/app/oracle/diag/rdbms/orcl/orcl/incident/incdir_296425/orcl_dw00_24864_i296425.trc
-
dump file /oracle/app/oracle/diag/rdbms/orcl/orcl/incident/incdir_296425/orcl_dw00_24864_i296425.trc
-
oracle database 11g enterprise edition release 11.2.0.4.0 - 64bit production
-
with the partitioning, olap, data mining and real application testing options
-
oracle_home = /oracle/app/oracle/product/11.2.0/db_1
-
system name: linux
-
node name: db1
-
release: 2.6.32-504.el6.x86_64
-
version: #1 smp tue sep 16 01:56:35 edt 2014
-
machine: x86_64
-
vm name: vmware version: 6
-
instance name: orcl
-
redo thread mounted by this instance: 1
-
oracle process number: 40
-
unix process pid: 24864, image: oracle@db1 (dw00)
-
*** 2021-09-17 13:39:50.572
-
*** session id:(13.15451) 2021-09-17 13:39:50.572
-
*** client id:() 2021-09-17 13:39:50.572
-
*** service name:(sys$background) 2021-09-17 13:39:50.572
-
*** module name:(data pump worker) 2021-09-17 13:39:50.572
-
*** action name:(sys_import_full_01) 2021-09-17 13:39:50.572
-
dump continued from file: /oracle/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_dw00_24864.trc
-
ora-04030: out of process memory when trying to allocate 120048 bytes (session heap,kuxlpxalloc)
-
========= dump for incident 296425 (ora 4030) ========
-
----- beginning of customized incident dump(s) -----
-
=======================================
-
top 10 memory uses for this process
-
---------------------------------------
-
96% 6444 mb, 562102 chunks: "kuxlpxalloc " <<<-----------妈呀,已经6g了!
-
session heap ds=0x7f90cbce61a0 dsprt=0xc0d2140
-
3% 231 mb, 22075 chunks: "free memory "
-
top uga heap ds=0xc0d2140 dsprt=(nil)
-
0% 28 mb, 43334 chunks: "free memory "
-
session heap ds=0x7f90cbce61a0 dsprt=0xc0d2140
-
0% 6368 kb, 34 chunks: "free memory "
-
pga heap ds=0xc0cc6e0 dsprt=(nil)
-
0% 1936 kb, 89 chunks: "free memory "
-
alloc environm ds=0x7f90cbd0e090 dsprt=0x7f90cbce61a0
-
0% 1781 kb, 33 chunks: "free memory "
-
top call heap ds=0xc0d1f20 dsprt=(nil)
-
0% 1647 kb, 7 chunks: "free memory "
-
koh-kghu sessi ds=0x7f90cb8a8b00 dsprt=0x7f90cbce61a0
-
0% 1006 kb, 20 chunks: "kpmalloc "
-
koh-kghu sessi ds=0x7f90cb40c0f8 dsprt=0x7f90cbce61a0
-
0% 795 kb, 35 chunks: "static frame of inst " pl/sql
-
koh-kghu sessi ds=0x7f90cabb7b00 dsprt=0x7f90cbce61a0
-
0% 530 kb, 28 chunks: "recursive addr reg file " pl/sql
-
koh-kghu sessi ds=0x7f90cbbb1b08 dsprt=0x7f90cbce61a0
-
=======================================
-
private memory summary for this process
-
---------------------------------------
-
******************************************************
-
private heap summary dump
-
6724 mb total:
-
6485 mb commented, 237 kb permanent
-
239 mb free (7871 kb in empty extents),
-
6714 mb, 1 heap: "session heap " 231 mb free held
-
*** 2021-09-17 13:39:50.910
-
------------------------------------------------------
-
summary of subheaps at depth 1
-
6481 mb total:
-
6453 mb commented, 193 kb permanent
-
28 mb free (47 kb in empty extents),
-
6471 mb, 562102 chunks: "kuxlpxalloc " 28 mb free held
-
=========================================
-
real-free allocator dump for this process
-
-----------------------------------------
-
dump of real-free memory allocator heap [0x7f90cbcb6000]
-
mag=0xfefe0001 flg=0x5000003 fds=0x8 blksz=65536
-
blkdstbl=0x7f90cbcb6010, iniblk=111616 maxblk=524288 numsegs=156
-
in-use num=65389 siz=2756640768, freeable num=0 siz=0, free num=1 siz=10485760
-
==========================================
凯发app官方网站的解决方案是 增加 exclude=password_history
有一次在comments时遇到 data pump worker 报错,也是exclude跳过,经常见的情况是statistics时报错。
参考:
-
ora-39126:kupw$worker.put_ddls [password_history] 中的worker意外的致命错误(文档 id 2114832.1)
阅读(1919) | 评论(0) | 转发(0) |