oracle 安装ora 27102,Oracle数据库之ORA-27102: out of memory Linux-X86_64
本文主要向大家介紹了Oracle數據庫之ORA-27102: out of memory Linux-X86_64,通過具體的內容向大家展現,希望對大家學習Oracle數據庫有所幫助。
一、描述目前生產環境用X86服務器的是越來越多了,非核心系統基本不會用小型機了。客戶服務器擴內存,想修改SGA大小,但是提示報告內存溢出。原有物理內存8G,擴容到32G,SGA和PGA都需要進行調整才能起到優化的效果。
二、報錯信息如下SQL> startup nomountORA-27102: out of memoryLinux-x86_64 Error: 28: No space left on device第一感覺好像是物理內存不夠用了,我們設置SGA+PGA=物理內存的60%左右,結果就是報錯,這里提醒大家,修改參數之前,一定要備份參數文件。
三、分析我們要知道安裝數據庫的時候其實修改了一個文件/etc/sysctl.conf,這個文件里的內容大家要知道是什么意思才行,切勿復制粘貼。原因在這里:SHMALL is the total amount of shared memory, in pages, that the system can use at one time.
四、解決方法Set SHMALL equal to the sum of all the SGAs on the system, divided by the page size.
The page size can be determined using the following command:
$ getconf PAGE_SIZE 4096For example, if the sum of all the SGAs on the system is 16Gb and the result of? '$ getconf PAGE_SIZE' is 4096 (4Kb) then set shmall to 4194304 pages
As the root user set the SHMALL to 4194304 in the /etc/sysctl.conf file:
kernel.shmall = 4194304
then run the following command:
$ sysctl -p$ cat /proc/sys/kernel/shmall4194304
五、總結對于/etc/sysctl.conf這個文件不了解的同學,需要補課了。喜歡的朋友可以轉發,歡迎技術交流。
本文由職坐標整理并發布,希望對同學們學習Oracle有所幫助,更多內容請關注職坐標數據庫Oracle數據庫頻道!
總結
以上是生活随笔為你收集整理的oracle 安装ora 27102,Oracle数据库之ORA-27102: out of memory Linux-X86_64的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 计算机课教学日志,教师教学日志例文
- 下一篇: 管理Linux系统中的进程