oracle启动报错:
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
Additional information: 2097152
主要是 kernel.shmal、kernel.shmmax这两个参数设置有问题,kernel.shmall参数需要根据页面大小和物理内存的实际情况做调整
shmall 是全部允许使用的共享内存大小,shmmax 是单个段允许使用的大小。这两个可以设置为内存的 90%。例如 64G 内存,64*1024*1024*1024*90% = 59914793779,shmall 的大小为 59914793779.2/4k(getconf PAGESIZE可得到) = 14627635
修改/etc/sysctl.conf
生效: /sbin/sysctl -p