ORA-00845-MEMORY_TARGETnotsupportedonthissystem

Source: Internet
Author: User

1.1. ORA-00845

ORA-00845: MEMORY_TARGET not supported onthis system

00845,000 00, "MEMORY_TARGET notsupported on this system"

// * Cause: The MEMORY_TARGET parameter wasnot supported on this operating system or/dev/shm was not sized correctly onLinux.

// * Action: Refer to documentation for alist of supported operating systems. Or, size/dev/shm to be at least theSGA_MAX_SIZE on each Oracle instance running on the system.

Error Message

In the ASM environment, an error is reported when the oracle instance is started.

SQL> startup

ORA-00845: MEMORY_TARGET not supported onthis system

View logs

Sun Mar 30 14:28:07 2014

Adjusting the default value of parameterparallel_max_servers

From 640 to 185 due to the value ofparameter processes (200)

Starting ORACLE instance (normal)

WARNING: You are trying to use theMEMORY_TARGET feature. this feature requires the/dev/shm file system to bemounted for at least 19327352832 bytes. /dev/shm is either not mounted or ismounted with available space less than this size. please fix this so thatMEMORY_TARGET can work as expected. current available is 16536903680 and usedis 288894976 bytes. ensure that the mount point is/dev/shm for this directory.

Memory_target needs larger/dev/shm

View/dev/shm partition information

Filesystem Type Size Used Avail Use % Mounted on

Tmpfs 16G 14.2G 1.8G 89%/dev/shm

Adjust the/dev/shm partition size:

# Vim/etc/fstab

Tmpfs/dev/shm tmpfs ults, size = 20G 0 0

View the processes using the/dev/shm partition:

# Lsof/dev/shm -- the ASM instance is in use

Close the ASM instance (confirmed to close ):

# Sqlplus-S/as sysasm

-- Check the Session of the current connection

Selectusername, status, server, type, program, action, logon_time, state from v $ session;

-- Confirm that the ASM instance can be closed

Shutdown normal

Reload the/dev/shm partition:

# Mount-o remount/dev/shm

View the/dev/shm partition size:

# Df-hT | grep shm

Tmpfs 20G 19G 1.8G 92%/dev/shm

Start an Oracle instance:

# Id

Oracle

# Sqlplus-S/as sysdba

Startup

Started successfully.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.