[转帖]Linux Error: 12: Cannot Allocate Memory with LOCK_SGA=TRUE_VMware, Unix及操作系统讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  VMware, Unix及操作系统讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 3930 | 回复: 0   主题: [转帖]Linux Error: 12: Cannot Allocate Memory with LOCK_SGA=TRUE        上一篇   下一篇 
    本主题由 koei 于 2014-5-2 16:13:48 移动
q563725885
注册用户
等级:少校
经验:1134
发帖:98
精华:1
注册:2013-5-7
状态:离线
发送短消息息给q563725885 加好友    发送短消息息给q563725885 发消息
发表于: IP:您无权察看 2013-5-9 15:51:26 | [全部帖] [楼主帖] 楼主

Ora-27102: Out Of Memory: Linux Error: 12: Cannot Allocate Memory with LOCK_SGA=TRUE

In this Document

Symptoms

Cause

Solution

Applies to:

Linux OS - Version: Enterprise Linux 4.2 and later [Release: RHEL4U2 and later ]

Linux x86

Linux x86-64

Linux Kernel - Version: 4.2

Symptoms

After setting oracle init.ora parameter lock_sga=true , the instance will not start, gets

ORA-27102: out of memory Linux-x86_64 Error: 12: Cannot allocate memory on startup

SQL> startup nomount

ORA-27102: out of memory

Linux Error: 12: Cannot allocate memory

SQL> startup mount;

ORA-27102: out of memory

Linux Error: 12: Cannot allocate memory

.

Cause

The ulimit -l parameter is not set to allow the amount of memory (sga size) being requested to be locked. For example:

# ulimit -a

core file size (blocks, -c) 0

data seg size (kbytes, -d) unlimited

scheduling priority (-e) 20

file size (blocks, -f) unlimited

pending signals (-i) 16382

max locked memory (kbytes, -l) 64 # <<<<<<<

max memory size (kbytes, -m) unlimited

open files (-n) 1024

pipe size (512 bytes, -p) 8

POSIX message queues (bytes, -q) 819200

real-time priority (-r) 0

stack size (kbytes, -s) 8192

cpu time (seconds, -t) unlimited

max user processes (-u) unlimited

virtual memory (kbytes, -v) unlimited

file locks (-x) unlimited

Refer to the man page for ulimit -l

Solution

To implement the solution do:

Issue command ulimit -l unlimited prior to starting the instance

该贴由koei转至本版2014-5-2 16:13:48




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论