In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following error is reported by oracle under startup Linux ORA-27102:out of memory Linux-X86_64 Error: 28: No space left on device [ID 301830.1] applicable to: Oracle Server-Enterprise Edition-Version: 9.2.0.1 and later [Release: 9.2 and later] Oracle Server-Standard Edition-Version: 9.2.0.1 and later [Release: 9.2 and later] Oracle Server-Enterprise Edition-Version: 9.2.0.1 and later [Release: 9 .2 and later] Linux x86-64 When trying to increase the SGA to approach half available RAM with an Oracle 64-bit version on a Linux 64-bit operating system Even though shmmax is set to match half the amount of RAM, you get the following error when trying to start the instance: using the 64-bit version of oracle under 64-bit linux Even if the size of the shmmax parameter is set to half of the system available memory, when increasing SGA to nearly half of the system memory, when startup instance, you may get the following error SQL > startup nomountORA-27102: out of memoryLinux-x86_64 Error: 28: No space left on deviceChangesshmall is too small, most likely is set to the default setting of 2097152$ cat / proc/sys/kernel/shmall2097152Causeshmall is the total amount of shared memory, in pages, that the system can use at one time. Shmall is the total number of shared memory segments used by the system at the same time for all pages. Solution solution Set shmall equal to the sum of all the SGAs on the system, divided by the page size. Set the value of shmall to equal the amount of memory occupied by all SGA in the system divided by the paging size The page size can be determined using the following command: get the paging size $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, for example If the sum of all SGA in the system is 16Gb, and the result of getconf PAGE_SIZE is 4096 (4k), then shmall is set to 4194304 pages of As the root user set the shmall to 4194304 in the / etc/sysctl.conf file: use root users to set shmall to 4194304kernel.shmall = 4194304then run the following command in the / etc/sysctl.conf file: execute the following command $sysctl-p $cat / proc/sys/kernel/shmall4194304NOTE:The above command loads the new value and a reboot is not necessary. The above command does not need to restart Switch back to being the oracle user and retry the startup command. Switch to the oracle user and re-execute the startup command Modifying / etc/sysctl.conf is a permanent workaround (applies at boot time). Modification / etc/sysctl.conf is a permanent solution (for boot time) If for some reason you DO NOT want to change the system wide configuration, you can do it on the fly by directly changing the kernel pseudo FS AKA procfs. If for some reason unknown large-scale changes to the system configuration, you can directly change the kernel pseudo FS AKA procfs.# echo "4194304" > / proc/sys/kernel/shmallUsing HUGEPAGES does not alter the calculation for configuring shmall. The use of large pages will not change the calculation results of the configuration shmall. The above translation is for reference only to ReferencesNOTE:169706.1-Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X.Solaris. Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) NOTE:851598.1-Master Note of Linux OS Requirements for Database ServerNOTE:1351051.2-Information Center: Install and Configure Database Server/Client InstallationsOracle Database Products > Oracle Database > Oracle Database > Oracle Server-Enterprise EditionOracle Database Products > Oracle Database > Oracle Database > Oracle Server-Standard EditionOracle Database Products > Oracle Database > Oracle Database > Oracle Server-Enterprise Edition64-BIT 64BIT; HUGEPAGES; INSTALL & CONFIGURE; LINUX; NO SPACE LEFT ON DEVICE; OUT OF MEMORY; START INSTANCEORA-27102Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.