🥬Fix Oracle Database Out of Memory
Cause : สาเหตุเนื่องมาจาก Memory ไม่เพียงพอสำหรับ SGA ทำให้ไม่สามารถทำการ Start Database ได้ ซึ่งมันถูกจำกัด Memory บน Kernel ของ OS จะแยกส่วนกันกับ Memory Max Target จะต้องทำการ Configure Kernel Parameter and Resource Limit
ERROR:
ORA-01034: ORACLE not available
ORA-27102: out of memory
Linux-x86_64 Error: 12: Cannot allocate memory
Additional information: 1
Additional information: 10911759
Additional information: 8
Process ID: 0
Session ID: 0 Serial number: 0Configuration
ทำการตรวจสอบ File System ของ /dev/shm
df -h /dev/shmFilesystem Size Used Avail Use% Mounted on
tmpfs 4.9G 72K 4.9G 1% /dev/shmทำการตรวจสอบ Free Memory ( MB ) จะเห็นว่าเหลือ Free อยู่นิดเดียว ควรทำการเพิ่ม Memory
free -mทำการ Mount File System
ทำการตรวจสอบ File System ของ /dev/shm อีกครั้งหนึ่ง
ทำการ Change Persistant แล้วทำการ Restart
อ่านเพิ่มเติม : https://bit.ly/2kUPwqf, https://bit.ly/2mi1LgL
Last updated
Was this helpful?