30.3. Setting Shared Memory


For Oracle9i installations, the maximum shared memory size must be increased. If it is too small, the Oracle Database Configuration Assistant will display the following error message:
ORA-27123: unable to attach to shared memory segment.
To increase the shmmax setting, execute the following command:
$ su - root
# cat /proc/sys/kernel/shmmax
33554432
# echo `expr 1024 \* 1024 \* 1024` > /proc/sys/kernel/shmmax
# cat /proc/sys/kernel/shmmax
1073741824
It is recommended to increase the shmmax setting permanently for Oracle. For more information on optimizing shared memory settings for Oracle databases on Linux, see Chapter 7, Setting Shared Memory. These parameters apply to all Red Hat Enterprise Linux versions.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.