ITPub博客

首页 > 数据库 > Oracle > ORA-27102: out of memory lock_sga

ORA-27102: out of memory lock_sga

原创 Oracle 作者:itpremier 时间:2011-06-05 06:50:55 0 删除 编辑

ORA-27102: out of memory with lock_sga=true.

出现这个错误,32位平台可能是因为SGA设置得过大。

但64位平台也可能出现,在LINUX系统下,如果当前ORACLE用户权限不足,就会出现这个错误。解决办法如下:

1, change system wide parameter in file : /etc/sysctl.conf

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296

2,set user quota parameter on file /etc/security/limits.conf, following limit oracle and grid user lock memory upper to 40GBytes.

grid soft memlock 41943040
grid hard memlock 41943040
oracle soft memlock 41943040
oracle hard memlock 41943040

-- logout and relogin as oracle ,check current user limit quotas.

[oracle@stilogdb2 ~]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 540672
max locked memory (kbytes, -l) 41943040
max memory size (kbytes, -m) unlimited
open files (-n) 65536

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/350519/viewspace-1050788/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 分区--复合分区
下一篇: nmon for linux
请登录后发表评论 登录
全部评论

注册时间:2008-11-27

  • 博文量
    253
  • 访问量
    773709